Meta Tag Generator
Generate title, description, canonical, Open Graph and Twitter tags, with a live preview of how the result looks in search.
Page details
Preview and tags
example.com
Your page title
Your description appears here, truncated the way Google truncates it in the results page.
<title></title> <meta property="og:type" content="website"> <meta name="twitter:card" content="summary">
Saving needs a Dex account. The tool never does.
How it works
- Fill in the page title, description and URL. The preview underneath updates as you type and truncates the way a search result does, so a title that looked fine in a spreadsheet visibly breaks here.
- Length guidance is shown next to each field: around 60 characters for a title and 160 for a description, with a warning when the text is short enough to waste the space.
- The output block is the exact markup to paste into your head: title, description, canonical, Open Graph and Twitter card tags. Empty fields produce no tag rather than an empty one.
- Attribute values are escaped, so a quotation mark in your title cannot break the markup. Nothing is uploaded and no URL is fetched.
Examples
A page that shows a truncated title
Paste the title you wrote and watch the preview: if the tail disappears, cut it before publishing rather than letting Google choose the cut.
Sharing a link on social
Add an image URL and the card switches to a large summary. Without one, the card falls back to a small summary, which is what most links end up looking like.
Frequently asked questions
Do I still need a canonical tag?
Yes, whenever the same content can be reached at more than one URL. It tells search engines which address is the real one, and this tool emits it when you provide the URL.
Which tags actually matter?
Title, description, canonical and og:title, og:description and og:image. The rest are optional; Twitter falls back to Open Graph when its own tags are absent.
Why does the title length warning matter?
Google rewrites titles that run long, so the words you carefully chose may never appear. Staying near 60 characters keeps the decision with you.
Is the page fetched to build the preview?
No. The preview is composed from what you typed, and nothing is requested. That is also why the preview is an approximation rather than a screenshot of a real result.