Meta Tag Generator

Fill in a page title, description and a few optional details to get a ready-to-paste block of meta, Open Graph and Twitter Card tags. The generator is free, escapes special characters for you and runs in your browser.

Meta Tag GeneratorPrivate · runs on your device
Your meta tags will appear here

How to generate meta tags

Only the page title is required, though a description is strongly worth adding.

  1. Fill in Page title and Meta description. Add the Canonical page URL, a Share image URL (1200x630), your Site name, an X (Twitter) handle and a Language code as needed. Fields you leave empty are skipped.
  2. Choose the Content type: Website or page, Article or blog post, or Product.
  3. Choose the Search engines option: Index and follow links, Do not index (noindex, follow), or Do not index or follow (noindex, nofollow).
  4. Click Generate meta tags. A note under the block reports the title and description lengths and flags problems.
  5. Copy the block and paste it inside the <head> of your page. Add the language code to your opening <html> tag, as the first comment line reminds you.

What the block contains

The output starts with the charset and viewport tags, then the title, description and robots tag. The default robots value is index, follow, max-image-preview:large, which permits large image previews; the two noindex choices output a plain noindex, follow or noindex, nofollow. A canonical link follows if you gave a URL. Next come Open Graph tags (type, title, description, URL, site name, locale and, with an image, the image address), then Twitter Card tags. The card is summary_large_image when you supply an image and summary otherwise. Quotes, ampersands and angle brackets are escaped, so a title containing an ampersand or a quotation mark cannot break the markup.

Two practical details: the language box accepts a plain code such as en or ur, which the tool turns into a valid locale (en_US, ur_PK), or a code with a region such as en-GB, which becomes en_GB. And the tool does not output the meta keywords tag, since Google ignores it.

Lengths, an example and what search engines do

Titles of about 50 to 60 characters and descriptions of about 150 to 160 usually display in full, and the tool warns when you go over. As an example, the title "Handmade Oak Chopping Boards | Marlow Kitchenware" is 49 characters, and the description "Solid oak chopping boards made by hand in Devon, finished with food-safe oil and delivered free across the UK within three working days." is 136, so neither triggers a warning. Treat these as suggestions: Google often rewrites titles and snippets to match the search, and the tags do not guarantee what is shown. Check lengths with the character counter and your wording with the readability score checker.

The noindex options keep a page out of search results but do not stop crawling. To control crawling, use robots.txt, and remember a blocked page cannot show its noindex tag. For social sharing, a 1200 x 630 image works on Facebook, LinkedIn and WhatsApp, and X falls back to Open Graph when its own tags are missing. Prepare the picture with the image resizer. Write each description for a person rather than a robot, with a clear reason to click, and give each page its own title and description; copying one pair across a whole site makes pages harder to tell apart in results.

What it does not generate

This tool does not create structured data (JSON-LD), hreflang tags for translated versions or article-specific Open Graph fields such as publication dates. The content type only sets the og:type value. Build the page address with the URL slug generator, and tag campaign links with the UTM builder.

Quick answers

Frequently asked questions

The questions people ask most, answered in plain words.

Which meta tags does the generator create?

It creates the charset, viewport, title, description, robots and canonical tags, a set of Open Graph tags, and Twitter Card tags. Optional fields you leave blank are left out. It does not produce JSON-LD structured data or hreflang tags.

How long should a title and meta description be?

Aim for about 50 to 60 characters for the title and 150 to 160 for the description, which usually displays in full in Google results. The generator counts both and warns when you exceed them, but Google may still rewrite either one.

Does noindex stop search engines from crawling my page?

No. The noindex option asks search engines to keep the page out of their results, but they must still fetch it to see the tag. To control crawling, use robots.txt, and never block a page there that you also want noindexed.

What size should the Open Graph image be?

Use 1200 x 630 pixels, a ratio of about 1.91 to 1. That size works across Facebook, LinkedIn and WhatsApp, and X can use it too. Give the tool a full https address to the image; it warns when the address is incomplete.

Does the tool include the meta keywords tag?

No. Google ignores the meta keywords tag, so adding it gains nothing. The generator leaves it out and focuses on the tags that search engines and social networks actually read: title, description, robots, canonical, Open Graph and Twitter Card.