Skip to content
SEORuns in your browserPopular

Meta Tag Generator

Build the title, description, canonical and social tags for a page in one pass.

Input
No upload needed — instant
Privacy
Nothing is uploaded
Cost
Free · no sign-up · no watermark

Loading tool…

The tool is loading its code on your device. This happens once and is cached for later visits.

Processed entirely on your device

Everything you type or paste is handled by JavaScript running in this tab. No request is sent, nothing is logged and nothing is stored. Close the page and it is gone.

Overview

About the Meta Tag Generator

Generate meta tags free — title, description, canonical and the full Open Graph and Twitter Card sets — with a live SERP preview and length checks.

A page's head carries a small set of tags that decide two things: how the page is summarised in search results, and how its link unfurls when someone pastes it into a chat, a post or an email. Written by hand across a whole site they drift — one template forgets the canonical, another leaves the social image relative, a third never escapes an ampersand. Generating the set from a single form keeps every tag present and consistent.

The core three

TagRead byJob
titleSearch engines, the browser tabNames the page; the snippet headline and the strongest on-page relevance signal
meta descriptionSearch enginesA suggested snippet that influences click-through, not rankings
rel=canonicalSearch enginesThe preferred URL when the same content answers to several

These three are non-negotiable for any page you want indexed. Everything below is about what happens after the click, or after the share.

Open Graph is the social contract

The og: family began at Facebook and became the de facto standard read by LinkedIn, Slack, Discord, iMessage, WhatsApp, Teams and most link unfurlers. The properties that matter:

  • og:title and og:description — the headline and blurb on the card, independent of the search snippet
  • og:image — the picture, which does more for social click-through than any other single field
  • og:url — the canonical address the card points back to
  • og:type — what kind of thing the page is
  • og:site_name — the publication or brand name shown above the title

If you add only one social set, add Open Graph. It has by far the widest reach.

og:type unlocks a vocabulary

Declaring the type is not decorative. It tells a scraper which additional properties to expect:

og:typeEnablesTypical for
websiteThe default, with no extrasHomepages, tool pages, general content
articlepublished_time, author, sectionBlog posts and news
productprice amount, availability, brandAn e-commerce item
profilefirst name, last name, usernameA person or author page

For most pages website is correct and sufficient. Use article on anything dated, because a published time feeds rich results and some platforms show the date on the card.

Twitter Cards, and why you still add them

X reads the twitter: family rather than og:. The key decision is the card value: summary renders a small square thumbnail, while summary_large_image renders the full-width 1.91:1 hero. If you have a 1200 × 630 image, choose the large card. Add the site handle for attribution. Everywhere else the og: tags already cover the preview, so twitter: is a few extra lines that guarantee X looks right.

The canonical quietly consolidates signals

When the same page is reachable at several URLs — with and without www, over http and https, with tracking or filter parameters, or across pagination — the canonical tells the search engine which one to treat as real and where to pool the link signals. Rules worth following:

  1. Make it absolute, including protocol and host; a relative canonical is legal but ambiguous.
  2. Default to self-referencing: every canonical page should point at itself.
  3. Use one canonical per cluster of duplicates; never point several pages at one another in a loop.
  4. Never canonical to a URL that is blocked, redirects, or is not the content you mean.

Escaping is where hand-written tags fail

An ampersand in a title, a quote in a description, an angle bracket in copy — each has to be escaped for the tag to parse. A raw ampersand can truncate a value early, and a stray quote can break the attribute and everything after it. Social scrapers are unforgiving: a malformed image property means no picture on the card, silently. Generating the markup escapes text and attribute contexts correctly every time, which is the least glamorous and most common reason a carefully written tag still renders wrong.

Social image specifications

  • 1200 × 630 pixels — the 1.91:1 ratio used by the large card on every major platform
  • Under roughly 8 MB, and at least 200 × 200 so the small card has something to crop
  • An absolute URL, because scrapers fetch server-side and cannot resolve a relative path
  • Text and logos kept in the centre, since platforms crop the edges at small preview sizes

A repeatable workflow

Fill the form once per page template rather than once per page. Decide the type for the template, choose or generate a 1200 × 630 image, paste the canonical, and emit the block. Check the desktop and mobile previews for truncation, then drop the markup into the head. Because every tag came from the same inputs, the search snippet and the social card can never disagree about the title, the description or the destination.

Step by step

How to use the Meta Tag Generator

  1. Enter the page title and meta description; the character meters show how much survives truncation.

  2. Add the canonical URL, site name, a social image URL and an optional Twitter handle.

  3. Pick the og:type that matches the page — website, article, product or profile.

  4. Switch between the desktop and mobile previews to check the snippet on both.

  5. Choose a tag group, then copy the markup or save it as an .html fragment for your head.

Why use it

Benefits and common use cases

What this tool is good for, and what it deliberately does not try to do.

The whole head in one place

Title, description, canonical, Open Graph and Twitter Card are generated together from a single set of inputs, so the tags stay consistent instead of drifting apart across three separate copy-paste jobs.

Correct escaping, guaranteed

Ampersands, angle brackets and quotes in your copy are escaped for both text and attribute contexts, which is exactly where hand-written tags break validators and silently lose their social image.

Live SERP preview

The same title and description render in a desktop and mobile search-result mock, so you see the truncation point before you ship rather than after you rank.

Nothing leaves the tab

Tags are assembled in the browser as you type. There is no upload, no account and no server round-trip, so copy for an unlaunched page stays private.

Questions

Frequently asked questions

Short, honest answers about quality, limits and privacy.

Which meta tags actually matter?

The title tag and meta description shape the search snippet, the canonical link consolidates duplicate URLs, and the Open Graph and Twitter Card tags control how a link unfurls on social platforms and in messaging apps. The rest — keywords, most robots directives — are either ignored or belong in an HTTP header or robots.txt rather than in the head markup this tool produces.

Do I need both Open Graph and Twitter Card tags?

Open Graph is read by Facebook, LinkedIn, Slack, Discord, iMessage and most other platforms, so it is the essential set. Twitter Card tags are used mainly by X and give you the larger summary_large_image layout plus a site attribution. Adding both costs a few lines and guarantees a rich preview everywhere, which is why the generator emits both by default.

What size should the Open Graph image be?

1200 × 630 pixels is the standard: it renders at 1.91:1 in the large card and stays sharp on high-density screens. Keep it under about 8 MB, use an absolute URL because social scrapers cannot resolve relative paths, and place critical text and logos in the centre since platforms crop the edges at smaller preview sizes.

Why is my meta description not showing in Google?

Google treats the description as a suggestion and rewrites it whenever page content seems to match the query better. Empty, duplicated, keyword-stuffed or off-topic descriptions get replaced most often. A unique description that genuinely answers the page's primary query is the one most likely to be used as written.

Should the canonical URL be absolute?

Yes. The specification permits a relative canonical, but an absolute URL removes any ambiguity about protocol and host, which matters when the same content is reachable over http and https or with and without www. This tool emits exactly the URL you enter, so paste the full https address.