Meta Tag Generator

Preview a page’s title and description in search results and share cards, see what will be cut, and copy the title, description, canonical, Open Graph and Twitter tags.

Runs in your browser. Nothing is uploaded.

Updated

Page detailsRuns in your browser

39 characters · about 369 of 580 px

136 characters · about 150–160 fit on a computer

Start from a page’s HTML

In a browser, open the page and press Ctrl+U (⌥⌘U on a Mac) to see its source.

Search result

An estimate: search engines may cut or rewrite titles and descriptions.

Example Toolshttps://example.com › tools › compare-text

Compare Text Online – Free Diff Checker

Paste two texts and see every difference highlighted: added, removed and changed lines. Free, runs in your browser, nothing is uploaded.

Example Toolshttps://example.com

Compare Text Online – Free Diff Checker

Paste two texts and see every difference highlighted: added, removed and changed lines. Free, runs in your browser, nothing is uploaded.

When shared

Checks

  • Title length is fine: 39 characters, about 369 of 580 px.
  • Description length is fine: 136 characters.
Paste into the page’s <head>
<title>Compare Text Online – Free Diff Checker</title>
<meta name="description" content="Paste two texts and see every difference highlighted: added, removed and changed lines. Free, runs in your browser, nothing is uploaded.">
<link rel="canonical" href="https://example.com/tools/compare-text">

<!-- Open Graph: Facebook, LinkedIn, Slack, WhatsApp and others -->
<meta property="og:type" content="website">
<meta property="og:title" content="Compare Text Online – Free Diff Checker">
<meta property="og:description" content="Paste two texts and see every difference highlighted: added, removed and changed lines. Free, runs in your browser, nothing is uploaded.">
<meta property="og:url" content="https://example.com/tools/compare-text">
<meta property="og:site_name" content="Example Tools">
<meta property="og:image" content="https://example.com/images/compare-text.png">
<meta property="og:image:alt" content="Two texts side by side with the differences highlighted">

<!-- X (Twitter) uses Open Graph for the rest -->
<meta name="twitter:card" content="summary_large_image">
Your text stays on this device. No upload required.

How to use Meta Tag Generator

  1. Type the title, description and page address, or paste a page’s HTML.
  2. Look at the search and share previews and the checks.
  3. Copy the tags into the page’s <head>.

Meta Tag Generator at a glance

Typical use: Check whether a new blog post’s title fits in Google before you publish.

Runs in your browser; nothing is sent to our server. Images from other sites aren’t loaded; choose a file to preview one.

When to use Meta Tag Generator

Write a page’s title and description and see roughly how they will look in search results and when the link is shared in chat apps or on social networks. The page points out text that will probably be cut, missing images and other common mistakes, then gives you the tags to paste into the page’s <head>.

To check a page you already have, open “Start from a page’s HTML” and paste its source. Everything happens in your browser.

Writing a good title and description

  • Title: say what the page is, with the words people search for first, and the site name last: Compare Text Online – Free Diff Checker | Example. Google cuts titles wider than about 580 pixels (roughly 55–60 characters).
  • Description: one or two sentences that answer “why click this?”. About 150–160 characters fit on a computer; phones show a little less.
  • Each page its own: repeated titles and descriptions make pages look the same in results.

What each tag does

TagUsed for
<title>The browser tab and, usually, the link in search results
meta descriptionThe text under the link in search results, when the search engine uses it
link rel="canonical"The main address of a page that can be reached at several addresses
meta robotsnoindex keeps the page out of search results; nofollow asks crawlers not to follow its links
og:title, og:description, og:imageThe card when the link is shared on Facebook, LinkedIn, Slack, WhatsApp and others
twitter:cardMakes X show a large image; X reads the rest from the Open Graph tags

Share images

Use an image of 1200 × 630 pixels (a 1.91:1 shape), under a few megabytes, with the important part in the middle, because some apps crop the edges. The image address must be a full https:// address. Choose the file in the form to preview it here: this page doesn’t load images from other sites.

Prefer the terminal?

Check the tags a live page sends from a terminal:

curl -s https://example.com/ | grep -iE '<title|<meta|rel="canonical"'

This shows the HTML as the server sends it. Pages that add tags with JavaScript show them only in the browser’s developer tools (Elements panel).

References

Frequently asked questions

Why does Google show a different title or description from mine?

Google rewrites titles and descriptions when it thinks another text describes the page better for that search, for example when a title is very long, stuffed with keywords or the same on many pages. A clear, specific title that matches the page’s main heading is changed least.

I changed the tags but the shared card still shows the old ones.

Apps keep a copy of the card. Ask them to fetch the page again with Facebook’s Sharing Debugger or LinkedIn’s Post Inspector; other apps refresh after a while.

Do I still need meta keywords?

No. Google has ignored the keywords tag for years, so this page doesn’t write one. Put the words people search for in the title, the description and the page itself.

How exact is the preview?

It measures text with Arial’s character widths, as Google’s desktop results use, and cuts at about 580 pixels for titles and 920 for descriptions. Google changes its layout from time to time and may rewrite text, so treat it as a close estimate.

Is anything I enter sent to your server?

No. The previews, checks and tags are made in your browser. An image you choose stays on your device and is only shown in the preview.