A meta tag generator writes the small pieces of code that tell search engines and social networks what your page is about. Enter your title, description, address and share image, and this meta tag generator produces a tidy block of SEO, Open Graph and Twitter tags that are ready to paste into the head of your page. Special characters are escaped for you, so that a quotation mark in your title won't break the code. It's a quick way to make sure that a new page has everything it needs before you publish it.
How to use the meta tag generator
- Enter your page title and a description.
- Add the page address and a share image.
- Choose the page type.
- Tick the robots options only if you want to limit search engines.
- Press Generate tags and paste them inside your page's head section.
What are meta tags?
Meta tags are HTML elements in the head of a web page. They aren't displayed on the page itself, but browsers, search engines and social networks read them. Together they can supply a page's description, tell search engines how to treat it, and control how a link looks when someone shares it.
The tags this tool creates
| Tag | Purpose |
|---|---|
| title | The page's title, for browser tabs and search results |
| meta description | A summary of the page |
| meta viewport | Makes the page display properly on phones |
| canonical | States the main address of the page |
| robots | Asks search engines not to index the page or follow its links |
| og:title, og:type, og:image, og:url | Open Graph details for link previews |
| twitter:card | Controls how the link appears on X |
Writing a good description
Google says that it primarily uses page content to decide on a snippet, and that it may use the meta description if that gives users a more accurate summary of the page. Its advice is to create unique descriptions for each page on your site. A description doesn't have to be a sentence: it can also be a good place to include facts about the page, such as the author, the date or the price. Avoid long strings of keywords, as they don't help readers.
What is Open Graph?
The Open Graph protocol lets a web page become a rich object when it's shared. It defines four basic properties: og:title, the title as it should appear; og:type, the type of object; og:image, an image to represent the page; and og:url, the page's canonical address. Sites such as Facebook and LinkedIn use these to build a link preview. Without them, the site must guess, and it may choose the wrong image or text.
A worked example
Suppose that you enter the title “Free Online Word Counter,” a short description, the address https://example.com/word-counter and an image. The tool produces a title element, a meta description, a canonical link, Open Graph tags and Twitter tags. Since you've provided an image, the Twitter card type is set to summary_large_image. Without an image, it uses the smaller summary card.
Share images
A clear image greatly improves how a link looks in a social feed. Use a full web address beginning with https, as most networks can't read relative paths. Choose a picture that still makes sense at a small size, and keep important text away from the edges, as different networks may crop it slightly differently. After publishing, test your page with each network's own preview tool, and remember that they may store an old version for some time.
Robots tags
By default, the tool doesn't add a robots tag, as search engines index pages unless they're told otherwise. Tick the options only for pages that you truly want to keep out of results, such as thank-you pages, internal search results or drafts. Be careful: adding noindex to an important page can remove it from search results.
Keywords tags
You may notice that this tool doesn't create a meta keywords tag. It was once widely used, but it's so easy to abuse that major search engines don't rely on it for ranking. Your time is better spent on a clear title, a helpful description and good content on the page.
Is this private?
Yes. The tags are generated in your browser, and your details aren't sent to our server, so you can safely prepare unreleased pages.
Checking your tags
After you've published the page, view its source in your browser and confirm that the tags appear once only, inside the head section. Duplicate titles or canonical links can cause confusion.
Common mistakes
- Reusing one description everywhere. Write a unique one for each page.
- Using a relative image path. Social networks need a full address.
- Leaving noindex on after launch. Check it before you publish.
Related SEO tools
Test your headline with the title tag checker, count your letters with the character counter, and tidy your code with the HTML formatter.
What next
Use this often? Add Meta Tag to your Home screen.
Frequently asked questions
How does the meta tag generator work?
You enter your page details, and it writes the matching HTML tags for you to paste into your page.
Where do meta tags go?
Inside the head section of your HTML page.
What are Open Graph tags?
Tags that control how your page appears when it's shared on social networks.
Does it make a meta keywords tag?
No. Major search engines don't rely on that tag.
Is my information uploaded?
No. The tags are generated in your browser.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.