Skip to content
toolstome

Meta tag generator with Google preview

Write the title and description that appear in search results and link previews, and see them the way people will. As you type, a Google-style result shows where your title will be cut off, measured in pixels like Google does rather than just counting characters, and a social card shows how the link looks when shared. The tool then writes the HTML for you: title, meta description, canonical link, robots directive, Open Graph tags for Facebook, LinkedIn and WhatsApp, and Twitter/X card tags, all correctly escaped and ready to paste into your page's head.

Free · No sign-upProcessed in your browser

0 characters · 0 of 580 px

0 of 158 characters (aim for 70 or more)

1200 × 630 px recommended

Page type

Google preview

example.com

https://example.com

Your page title appears here

Your meta description appears here. Describe the page in one or two sentences.

Social share preview

No share image set

example.com

Your page title appears here

Your meta description appears here. Describe the page in one or two sentences.

How to use the Meta Tag Generator

  1. 1

    Write the title

    Keep it under about 580 pixels so it is not cut off; put the most important words first.

  2. 2

    Write the description

    Aim for 70–158 characters that tell searchers what they will get.

  3. 3

    Add URL and image

    The canonical URL and a 1200 × 630 share image for social previews.

  4. 4

    Copy the tags

    Paste the generated HTML into the <head> of your page.

How the preview is measured

Google cuts titles by width, not by character count: on desktop, about 580–600 pixels of 20 px Arial. The tool measures your title in that font in your browser, so wide letters like W and M use up more of the limit than narrow ones like i and l.

Descriptions are shown up to roughly 155–160 characters on desktop. Google may rewrite either one if it thinks another part of your page answers the search better, so these previews show the best case.

When to use it

  • Write titles and descriptions for new pages or blog posts.
  • Fix titles that are cut off in search results.
  • Make links look good when shared on WhatsApp, Facebook, LinkedIn or X.

Limits

  • Search engines may show a different title or description than the one you set.
  • The social preview is a layout guide; each network crops images slightly differently.

Privacy

Everything runs in your browser; nothing you type is sent anywhere.

Frequently asked questions

How long should a title tag be?

Under about 580 pixels, which is usually 50–60 characters. The preview turns red and shows the cut-off point when it is too long.

How long should a meta description be?

About 70 to 158 characters. Shorter ones may look thin; longer ones are cut off with an ellipsis.

Do meta keywords still matter?

No. Google has ignored the keywords meta tag for many years, so this tool does not generate it.

What are Open Graph tags?

Tags that tell Facebook, LinkedIn, WhatsApp and other apps which title, description and image to show when your link is shared.

What image size should I use?

1200 × 630 pixels (ratio 1.91:1) works for Facebook, LinkedIn and X large cards. Keep text away from the edges.

Why did Google show a different title?

Google rewrites titles that are too long, stuffed with keywords or don't match the page. A clear, accurate title is the best way to keep yours.

People also use

Last updated November 20, 2026 · How we build and test our tools

Categories

Recently used tools

Tools you open will appear here.

More