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 Works offline
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 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> Browser tab, the blue headline in search results
<meta name="description"> The snippet under the headline (search engines may choose other text)
<link rel="canonical"> Names the preferred URL 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 friends X (Twitter) cards; without them, X falls back to the Open Graph tags
<meta name="robots" content="noindex"> Removes the page from search results

How long should they be?

Search engines don’t publish character limits for titles or descriptions; they truncate by pixel width. 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 use up the space faster than narrow ones, so put the important words first. The previews truncate by actual width too, 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 — always use a full URL.
  • Facebook, LinkedIn and others cache previews. If an old card keeps appearing after you change the tags, refresh it with the platform’s sharing debugger.

Things to watch out for

  • Every platform draws cards a little differently (lines shown, image crop), so treat the preview as an approximation.
  • To see the share image in the preview, turn on “Load the share image” — your browser then requests the image from its server.

FAQ

Is anything I type saved?

No. The tags are built in your browser and nothing is uploaded. Quotes and characters like < are escaped automatically so your HTML doesn’t break.

Can I create a robots.txt too?

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

Coming soon

Can't find the tool you need?

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