A meta tag generator that shows how Google will display your page
The Meta Tag Generator writes the HTML tags that belong in the <head> of a web page: the title, meta description, robots directives, canonical link, hreflang alternates, viewport, charset, author, theme colour, and the basic Open Graph and X (Twitter) card tags used when someone shares your link.
As you type, a Google-style preview shows how the result is likely to look, and two meters measure the title and description in pixels as well as characters — because Google trims snippets by width, not by a fixed character count. Every value is HTML-escaped, so quotes, ampersands and angle brackets never break your markup.
It is free, needs no sign-up, and runs entirely in your browser.
How to use the Meta Tag Generator
- Type your page title and meta description. Watch the pixel meters — green means it should fit, amber means Google will probably cut it.
- Open URL & indexing to add the canonical URL and choose robots settings such as noindex or max-image-preview.
- Use Page setup for the language, author and theme colour, and Language versions to add hreflang links for translated or regional pages.
- Fill in the share image and site name under Social sharing, or untick it if you manage social tags elsewhere.
- Read the checks under the code, then press Copy HTML (or Download) and paste the tags inside your page’s
<head>.
Meta Tag Generator features
Pixel-width meters
Titles are measured at 20 px Arial against a 580 px limit and descriptions at 14 px against 920 px, the widths Google typically shows on desktop.
Live Google preview
See the site name, URL breadcrumb, title link and snippet together, truncated with “...” where Google is likely to cut them.
Complete robots control
Set index/noindex, follow/nofollow, noarchive, nosnippet, noimageindex, max-snippet and max-image-preview without memorising the syntax.
hreflang builder
Add any number of language versions; codes are validated and normalised (for example en-gb becomes en-GB).
Safe, valid HTML
All values are escaped, URLs are checked to be absolute, and unnecessary tags (such as a default “index, follow”) are left out.
Honest checks
Plain-language notes flag missing titles, long snippets, relative image URLs and hreflang sets without a self-reference.
Which meta tags still matter
Most of what search engines read from the head of a page comes down to a handful of tags. The title is a confirmed input for rankings and is usually the blue headline in results. The meta description does not affect rankings, but Google often uses it as the snippet, which influences whether people click. The canonical link tells search engines which URL you prefer when the same content is reachable at several addresses, and the robots meta tag controls indexing and snippet behaviour per page.
Some tags you will still see in templates do nothing for Google. It has said publicly since 2009 that it ignores the meta keywords tag, so this generator deliberately leaves it out.
| Tag | What it does | Used by Google? |
|---|---|---|
| <title> | Page title; usually the title link in results | Yes |
| meta description | Suggested snippet text | Yes, for snippets (not ranking) |
| meta robots | Indexing and snippet rules | Yes |
| link rel="canonical" | Preferred URL among duplicates | Yes, as a strong hint |
| link rel="alternate" hreflang | Language and regional versions | Yes |
| meta viewport | Mobile-friendly rendering | Yes (mobile-first indexing) |
| meta keywords | List of keywords | No — ignored |
Why length is measured in pixels
Google does not cut titles after a set number of characters. It shows as much as fits in the result’s width, so a title full of narrow letters like “i” and “l” can be longer than one full of “W” and “M”. That is why the meters show both numbers: characters for quick reference, pixels for the real limit. Around 50–60 characters for titles and 150–160 for descriptions is a sensible target for English text.
Remember that Google may still choose a different title link or snippet. It can rewrite titles that are too long, stuffed with keywords or don’t match the page, and it often builds a snippet from the page text when that answers the search better. Writing an accurate, specific title and description is the best way to have yours used. To fine-tune the look on desktop and mobile, try the SERP Preview tool.
Robots, canonical and hreflang in brief
- noindex keeps a page out of search results, but only if crawlers can fetch it — don’t block the same URL in robots.txt.
- nofollow at page level asks search engines not to follow any links on the page; for individual links use
rel="nofollow",rel="sponsored"orrel="ugc". - max-image-preview:large allows large image thumbnails, which Google recommends for appearing well in Discover.
- Canonical URLs should be absolute and point to a page that returns 200 OK and is indexable.
- hreflang sets must be reciprocal: every version lists every other version and itself, otherwise Google may ignore them.
Meta Tag Generator FAQ
Does Google still use the meta keywords tag?
No. Google stated in 2009 that the keywords meta tag is not used in web ranking, and that is still the case.
How long should a meta title be?
Aim for a title that fits within roughly 580 px on desktop — usually 50 to 60 characters. Put the most important words first so they survive if Google trims the end. The meter in this meta tag generator measures the real pixel width.
Why does Google show a different title or description from mine?
Google may rewrite a title link when the title tag is missing, too long, repetitive or doesn’t describe the page, and it builds snippets from page content when that matches the search better. Accurate, unique tags make rewrites less likely but cannot prevent them.
Do I need a robots meta tag on every page?
No. “index, follow” is the default, so a robots tag is only needed when you want something different, such as noindex or max-image-preview:large. The generator only outputs the tag when it changes something.
Where do I paste the generated meta tags?
Inside the <head> element of the page, before any visible content. Keep the charset tag first so it falls within the first 1,024 bytes of the file, as the HTML standard requires. In WordPress or Shopify, use your theme or SEO plugin settings rather than editing core files.
Is this meta tag generator free and private?
Yes. It is free with no limits, and everything runs in your browser — nothing you type is uploaded or stored on a server.