webtools

Meta Tag Generator

Private: nothing leaves your browser

Fill in the fields, the tags update as you type

How this looks in Google

Your head tags

                

Write the head of a page once and get the title, description, canonical, robots, Open Graph and Twitter card tags together. The length meters show whether Google will keep your title and description or cut them off, and the preview shows how the result reads.

About these meta tags

Three audiences read the head of your page and none of them read it the same way. A search engine takes the title and description to build a result. Facebook, LinkedIn, WhatsApp and Slack read the Open Graph tags to build a link card. X reads the Twitter card tags, falling back on Open Graph when they are missing. Write them separately and they drift apart, which is how a page ends up with one title in Google and a different one in a shared link.

The length meters exist because truncation is the reason most people look for a tool like this. Google gives a title roughly 60 characters and a description roughly 160 before it cuts, and it measures pixels rather than letters, so the numbers here are a target rather than a hard limit, and the word counter holds the same ones if you are drafting the text somewhere else. Put the important words first and a cut costs you nothing.

How to write your meta tags

  1. Write the Page title and watch the meter. Aim for 50 to 60 characters, with the distinctive words at the front.
  2. Write the Meta description as a sentence that earns a click, around 140 to 160 characters.
  3. Set the Canonical URL to the one address this page should be indexed under, including the scheme.
  4. Add a Share image at 1200 by 630 pixels. Once there is an image you can pick the card size.
  5. Check the preview, then press Copy tags and paste the block inside your head element.

Common questions about meta tags

How long should a title and description be?

Aim for 50 to 60 characters for the title and 140 to 160 for the description. Google truncates by pixel width rather than by character count, so a title full of capitals or wide letters gets cut sooner, and the numbers are a target rather than a rule. Leading with the words that matter means a cut costs you nothing.

Does a meta description affect ranking?

Not directly. Google has said for years that it is not a ranking signal, and it often rewrites the description using text from the page when it thinks that fits the query better. It does affect whether people click your result, which affects everything downstream, so it is worth writing well even though it is not worth stuffing with keywords.

Do I need both Open Graph and Twitter tags?

Open Graph is the one that matters most, because Facebook, LinkedIn, WhatsApp, Slack, Discord and most messaging apps read it. X reads the Twitter tags first and falls back to Open Graph, so the twitter:card line is the one that genuinely adds something: it decides whether your link shows as a small square or a wide image.

What is a canonical URL for?

It tells search engines which address is the real one when the same page is reachable several ways: with and without a trailing slash, with tracking parameters, or on both a www and a bare domain. Without it the ranking signals split across those copies. Always give the full absolute URL, including https, not a relative path.

Is what I type here sent anywhere?

No. The tags are assembled by JavaScript on this page, so an unreleased title or URL stays on your own device. Nothing is uploaded, logged or stored. Quotes and angle brackets in your text are escaped on the way into the tags, so the output is valid HTML whatever you type.

Next

Related tools

All Generators