1. Home
  2. Developer
  3. Meta Tag Generator

Meta Tag Generator

Create title, description and Open Graph tags with live search and share previews.

Runs in your browser · No upload
Around 60 characters is a common guideline. Google truncates by pixel width, not character count.
Around 160 characters is a common guideline. Search engines sometimes show a different snippet from the page instead.
Use a full URL (https://…). Facebook and most platforms recommend 1200×630 px (1.91:1).
HTML for your <head>
<title>Fall Knitwear &amp; Coats | Brand Store</title> <meta name="description" content="Free shipping on everything through October. Compare new knits and coats by size and read real customer reviews."> <link rel="canonical" href="https://shop.example.com/new/fall"> <!-- Open Graph --> <meta property="og:type" content="website"> <meta property="og:title" content="Fall Knitwear &amp; Coats | Brand Store"> <meta property="og:description" content="Free shipping on everything through October. Compare new knits and coats by size and read real customer reviews."> <meta property="og:url" content="https://shop.example.com/new/fall"> <meta property="og:site_name" content="Brand Store"> <meta property="og:locale" content="en_US"> <meta property="og:image" content="https://shop.example.com/og/fall.jpg"> <meta property="og:image:alt" content="Model wearing a fall knit sweater"> <!-- X (Twitter) --> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:title" content="Fall Knitwear &amp; Coats | Brand Store"> <meta name="twitter:description" content="Free shipping on everything through October. Compare new knits and coats by size and read real customer reviews."> <meta name="twitter:image" content="https://shop.example.com/og/fall.jpg"> <meta name="twitter:image:alt" content="Model wearing a fall knit sweater">
Search result preview
Brand Storeshop.example.com › new › fall
Fall Knitwear & Coats | Brand Store
Free shipping on everything through October. Compare new knits and coats by size and read real customer reviews.
Share card preview
Image · shop.example.com
shop.example.com
Fall Knitwear & Coats | Brand Store
Free shipping on everything through October. Compare new knits and coats by size and read real customer reviews.

Everything is processed in your browser and nothing is uploaded.

How to use

  1. Write the page Title and Description, keeping an eye on the character count and the short / good / long indicator.
  2. Enter the canonical URL and the share image URL as full addresses starting with https://.
  3. Choose the page type (og:type), language (og:locale) and X card style. If the page should stay out of search, turn off “Show in search results”.
  4. Check the search result and share card previews, then copy the HTML into your page’s <head>.

What each tag does

Tag Where it shows up
<title> The browser tab and the blue headline in search results
<meta name="description"> The snippet under the headline (search engines may pick other text instead)
<link rel="canonical"> Tells search engines which URL is preferred when the same content lives at several addresses
og:title, og:description, og:image Link preview cards on Facebook, LinkedIn, Slack, iMessage and more (the Open Graph protocol)
og:url, og:site_name, og:type, og:locale The card’s URL, site name, type and language
twitter:card and related tags X (Twitter) cards. Without them, X falls back to the Open Graph tags
<meta name="robots" content="noindex"> Keeps the page out of search results

How long should titles and descriptions be?

Search engines don’t publish character limits for titles or descriptions. They cut them off by pixel width instead. The ranges used here (30–60 characters for titles, 70–160 for descriptions) are common industry guidelines, not rules. Wide letters like W and M take up space faster than narrow ones, so put the important words first. The previews also cut text off by its actual width, not by character count.

Share image tips

  • Facebook recommends 1200×630 px (a 1.91:1 ratio) for link share images, and most other platforms use large cards of a similar shape.
  • Social networks can’t read relative paths like /og.png, so always use a full URL.
  • Facebook, LinkedIn and others cache link previews. If an old card keeps showing up after you change the tags, refresh it with that platform’s sharing debugger.

Things to watch out for

  • Every platform draws cards a little differently (how many lines show, how the image is cropped), so treat the preview as a close approximation.
  • To see the share image in the preview, turn on “Load the share image”. Your browser will then request the image from the server that hosts it.

FAQ

Is anything I type saved?

No. The tags are built in your browser, and nothing you type is sent to a server. Quotes and characters like < are escaped automatically, so they won’t break your HTML.

Can I create a robots.txt too?

Use the robots.txt Generator to set crawler rules, including for AI bots. To count characters on their own, try the Character Counter.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.