SEO & Web Tools

Meta Tag & Open Graph Generator

Fill in the fields and get a complete, correctly ordered set of head tags — including the Open Graph and Twitter card tags that control how a link looks when someone shares it. Length warnings tell you when text will be cut off.

  • Free, no sign-up
  • Runs in your browser
  • Nothing uploaded
  • Updated Sep 2026
Page details
Absolute URL. This is the tag that prevents duplicate-content problems.
Must be absolute. 1200×630 renders as a large card.
Meta tags
Paste inside your <head> Preview in Google →
Meta Tag Generator — Generate title, description, Open Graph and Twitter card tags, a free browser-based tool on anaitool

At a glance

Produces
Title, description, canonical, robots, Open Graph, Twitter card
Title limit
About 580px, roughly 55–60 characters
Description
About 920px, roughly 150–160 characters
OG image
1200×630 recommended, absolute URL required
Placement
Inside <head>, one set per page
Processing
Entirely client-side

Which meta tags still matter

Most tags in the average <head> do nothing. The ones that earn their place:

  • Title. Still one of the strongest on-page signals, and the line people click. Google rewrites it roughly a third of the time — usually when it is keyword-stuffed, when it duplicates other pages, or when it does not match the page.
  • Description. Not a ranking factor, and has not been for over a decade. It is advertising copy: it affects click-through rate, and click-through rate is what you are optimising. Google rewrites it frequently, and a good description is rewritten less.
  • Canonical. Quietly the most important of all. Without it, the same content reachable at several URLs is treated as several competing pages.
  • Robots. Controls indexing and snippet length. This is where noindex belongs, not in robots.txt.
  • Open Graph and Twitter card. Control the preview when your link is shared. No SEO effect whatsoever, and a large effect on whether anyone clicks.

Tags that are obsolete: meta keywords, ignored by every major engine since 2009; meta revisit-after, never supported by anything; meta author and meta generator, harmless but inert for search.

Writing titles and descriptions that survive

Google truncates by pixel width, not character count, so a title in wide characters is cut sooner than one in narrow characters. The practical limits are roughly 580 pixels for titles — about 55 to 60 characters — and 920 pixels for descriptions, about 150 to 160. This tool measures pixels rather than counting characters, so the warning reflects what actually happens.

For titles: put the distinguishing words first, because that is what survives truncation and what the eye reads. A brand suffix separated by a pipe or dash is conventional and costs you ten characters — worth it for a recognised brand, wasteful for an unknown one. Every title on the site should be different; duplicate titles across pages are a strong signal that the pages are interchangeable.

For descriptions: write for the click, not the crawler. State what the page gives the reader and why it is worth their time. Include the term someone searched, because Google bolds matching text and bolding draws the eye. Avoid writing a description that could apply to any page on your site — that is the single most common reason Google discards yours and writes its own.

Getting social previews right

The Open Graph tags decide what appears when a link is pasted into Slack, LinkedIn, WhatsApp or anywhere else. Three rules cover nearly every failure.

Use absolute URLs for images. og:image must be a full URL with the protocol. A relative path silently produces no preview at all, and this is by far the most common mistake.

Size the image at 1200×630. That ratio, 1.91:1, is what the large-card layout expects. Images under 600 pixels wide fall back to a small thumbnail. Keep the file under about 5MB and use PNG or JPEG — several platforms will not render WebP.

Remember previews are cached. Every platform caches aggressively, so a fixed tag does not fix an already-shared link. Facebook's Sharing Debugger and LinkedIn's Post Inspector both let you force a refresh; for others, adding a query string to the image URL is the usual workaround.

Twitter cards inherit from Open Graph, so you only need the twitter: tags where you want different values, plus twitter:card to select the layout. The generator emits both sets for maximum compatibility.

How to use the Meta Tag Generator

  1. Enter your page title and description

    The counters show pixel width against the truncation limit. Aim to land under it rather than exactly on it.

  2. Add the canonical URL

    The full absolute URL of this page. This is the tag that prevents duplicate-content problems, and the one most often missing.

  3. Set up the social preview

    Add an absolute image URL at 1200×630. This controls how the link looks everywhere it is shared.

  4. Paste the output into your head

    Copy the generated block into <head>, replacing any existing versions of these tags rather than adding a second set.

Frequently asked questions

Do meta keywords still matter?

No. Google announced it ignores the keywords tag in 2009 and every other major engine followed. Including it does no harm beyond a few wasted bytes, and it tells competitors exactly which terms you are targeting.

How long should my title be?

Around 55 to 60 characters, though the real limit is about 580 pixels of width. Put the distinguishing words first — if it is cut, the beginning is what survives, and it is what people read.

Why does Google show a different description than mine?

Because it judged its own snippet more relevant to the query. That happens most when your description is generic, duplicated across pages, or does not contain the searched terms. A specific description that reflects the page is rewritten far less often.

Is the meta description a ranking factor?

No, and it has not been for well over a decade. It influences click-through rate, which influences traffic. Write it as advertising copy for the person reading the results page, not as a place to repeat keywords.

My Open Graph image is not showing. Why?

Nearly always one of three things: the URL is relative rather than absolute; the image is under 600 pixels wide; or the platform has cached an older version. Use the relevant platform's debugger to force a re-fetch after fixing the tag.

Do I need both Open Graph and Twitter tags?

Twitter falls back to Open Graph when its own tags are absent, so strictly you only need twitter:card to choose the layout. Emitting both is common practice and costs nothing, which is what this generator does.