Meta Tag Generator

Fill in a page's title, description, robots setting and social sharing details, then copy the finished tags into the page's head.

Page Details

Search Engine Instructions

Social Media (Open Graph)

Generated HTML Code

Paste this inside the <head> section of your HTML document.

What each generated tag does, and what it does not do

The <title> element is the main source for the clickable title in Google's results, but not the only one. Google says it uses several sources to build a title link, may prefer a prominent heading on the page, and truncates the title to fit the device width; there is no fixed character limit (Google Search Central: title links). Write a title that describes the page, and expect Google to shorten or replace it when it does not match the content.

The description works the same way. Google builds the snippet primarily from the page content and uses the meta description when it describes the page better than the text it found; again there is no length limit, only truncation on screen (Google Search Central: snippets). The 60 and 160 marks on the counters above are working thresholds that tend to survive truncation, not rules.

The keywords tag does nothing for Google, which stated in 2009 that it does not use the keywords meta tag in web ranking (Google Search Central Blog). The field is here for anyone whose own platform still reads it; leave it empty otherwise.

The robots tag matters only when you choose noindex or nofollow. index, follow is what every crawler assumes anyway, so that line changes nothing. A noindex keeps the page out of Google's results, provided the crawler is allowed to fetch the page and read the tag; a robots.txt rule that blocks the URL also hides the tag. Check what a live URL returns with the URL Checker, which reads the status code, robots.txt rules and meta robots together.

Open Graph tags control the preview card when a link is shared. The protocol lists four required properties, og:title, og:type, og:image and og:url (The Open Graph protocol). This generator writes the type, title, description and image; add an og:url line with the page's canonical address yourself. The Twitter card lines are written with the property attribute, like the Open Graph lines; if a validator asks for name="twitter:card", change the attribute by hand and keep the content.

How to use the generator

Fill in the title and description for one page, not for the whole site; every page needs its own. Set the robots options only if you want to keep the page out of search or stop link following. For social sharing, paste an absolute image URL that is publicly reachable, since the social network's crawler has to download it. Then copy the code and paste it inside the <head> of that page, replacing any title or description tags already there. If you are unsure of a character count, the Word Counter counts characters with and without spaces.

None of this is sent to our server. The tags are built by JavaScript in your browser as you type, and the Copy button uses your clipboard. If the page should also be kept away from crawlers entirely, write the rule with the Robots.txt Generator, but remember that robots.txt stops crawling, not indexing.

Frequently Asked Questions

What is the ideal length for a title and description?

Google sets no character limit for either. Title links and snippets are cut to fit the width of the device, and Google rewrites them when they do not match the page. Around 60 characters for a title and 160 for a description usually survive uncut on a desktop screen, which is why the counters turn amber and red at those points; treat them as a guide and put the specific words first.

Do search engines still use the keywords meta tag?

Google does not, and has said so since 2009. The tag cannot hurt you, but it cannot help your ranking either. Spend the effort on the title, the description and the page text instead.

What are Open Graph and Twitter Card tags?

Open Graph is a set of meta tags, introduced by Facebook and read by other platforms that show link previews, that name the title, type, image and canonical URL of a shared page. Twitter cards do the same job for X with their own tag names. Without them, the platform guesses from the page, often picking the wrong image or no image at all.