Meta Tag Generator
Write title, description and social tags with live Google and social previews.
How to use Meta Tag Generator
- Write the title and description, and add the page URL and a social image.
- Watch the Google preview: the width meters warn when text will be cut off.
- Copy the HTML into your page’s <head>.
How it works
Google truncates titles by pixel width, not character count: roughly 600 px on desktop, which is usually 50–60 characters. Descriptions are trimmed around 920 px (about 150–160 characters) on desktop and less on mobile. This tool measures your text in the same font size Google uses (Arial, 20 px for titles and 14 px for descriptions) to warn you before it gets cut. Google may still rewrite titles and descriptions when it thinks another text matches a query better.
Open Graph tags (used by Facebook, LinkedIn, WhatsApp, Slack and others) and X card tags control how links look when shared. A 1200×630 image is the safe size for most platforms.
Frequently asked questions
How long should a meta description be?
Aim for about 120–155 characters so it is meaningful and not cut off on desktop. Write it for people: it is your advert in the results.
Do meta keywords help SEO?
No. Google has ignored the keywords meta tag for many years, so this tool does not generate it.
Why does Google show a different title?
Google sometimes rewrites titles that are too long, repetitive or that do not describe the page well. Clear, unique titles are rewritten less often.
Is the canonical tag necessary?
It is strongly recommended: it tells search engines the preferred URL when the same page is reachable at several addresses.
Limitations
- Pixel widths are close approximations; Google’s exact limits vary by device and change over time.
- The social preview is a generic layout; each network styles cards slightly differently.
Last reviewed November 9, 2026. How we build and test tools.