About Meta Tag Generator
Meta tags tell search engines and social networks how to describe a page. The title tag and meta description decide the headline and snippet in Google results, the canonical link tells search engines which URL is the main one, and Open Graph tags control the preview when a link is shared.
Enter the page title on the first line, the description on the second and the full URL on the third. The tool writes a title tag, a description, a canonical link and the matching og:title, og:description and og:url tags. Paste them in the head section of your page.
How to use Meta Tag Generator
- Type the title on line 1, the description on line 2 and the page URL on line 3.
- Click Run Tool to generate the tags.
- Paste the code between the head tags, or copy the values into your SEO plugin.
Example
Input
NHP Learning Free Developer Tools Free online tools for JSON, Base64 and regex. https://nhplearning.com/developer-tools/
Output
<title>NHP Learning Free Developer Tools</title> <meta name="description" content="Free online tools for JSON, Base64 and regex."> <link rel="canonical" href="https://nhplearning.com/developer-tools/"> <meta property="og:title" content="NHP Learning Free Developer Tools"> <meta property="og:description" content="Free online tools for JSON, Base64 and regex."> <meta property="og:url" content="https://nhplearning.com/developer-tools/">
Common uses
- Adding basic SEO tags to a static HTML page.
- Checking the title and description you plan to use before entering them in Yoast or Rank Math.
- Learning which tags search engines and social platforms read.
Privacy and safety
This tool runs in your browser. The text you enter is processed on your device and is not sent to NHP Learning.
Frequently asked questions
How long should a title and description be?
Aim for about 50 to 60 characters for the title and 120 to 160 for the description so they are not cut off in search results.
Does it add an og:image?
No. Add an og:image tag with a 1200 by 630 pixel image yourself, then check the result with the Open Graph Preview.
Can I use double quotes in the description?
Avoid them. A double quote would end the content attribute early, so use single quotes or write " instead.