Meta Tag Generator

Fill in your page details and get the full set of head tags — title, description, canonical, robots, Open Graph, and Twitter Card — ready to paste. Everything runs in your browser.

Page

0 / 60

0 / 160

Social sharing

Override social title, description, or URL

Google result preview

https://yoursite.com

Your page title appears here

Your meta description appears here.

Head tags

Fill in the form and your tags appear here.

FreeNo signupNo account or emailLast checked November 2026

A free meta tag generator that needs no signup. Fill in a short form and copy one ready-made block for your page's head: title, meta description, canonical, robots, Open Graph and Twitter Card tags, with length counters and a live Google result preview. It writes tags for a page you are about to publish; to check a page that is already live, use the Meta Tag Analyzer.

What it checks

  • Title and description length against the 60 and 160 character rules of thumb
  • Canonical, robots and Open Graph fields, with the output escaped so quotes and ampersands cannot break the markup
  • Twitter Card type, written only where X needs more than Open Graph gives it

What you get

  • One HTML block to paste into the head
  • A Google result preview of the title, address and description
  • Only the tags you filled in, plus robots and og:type, which are always written

Limits

  • Character counts are a guide; Google truncates by pixel width and may rewrite your title or snippet
  • The tool does not fetch or read your page; you paste the output yourself
  • It writes the tag that points to an Open Graph image but does not create the image
What each tag does

The output is one block for your page's <head>, containing only the tags you actually filled in. Title and meta description control your search result. Canonical tells search engines which URL is the real one when the same content is reachable at more than one address. Robots controls whether the page may appear in search at all. The Open Graph tags control the preview card on Facebook, LinkedIn, WhatsApp, Slack, and Discord, and the two Twitter Card tags cover what X reads that Open Graph doesn't.

Values are escaped as they're written into the attributes, so quotes and ampersands in your title or description won't break the markup. To check what a page is already serving rather than what you plan to publish, run it through the Meta Tag Analyzer, and use the SERP Snippet Preview for pixel-accurate truncation.

One clarification on "only the tags you filled in": three lines are written even when you touch nothing, namely robots (from the two Indexing dropdowns), og:type and twitter:card. Charset and viewport are written while their switches are on. Every other tag appears only when its field has a value, and the table below says which.

How Google builds the title link and the snippet

The title and description you write are suggestions, not instructions. Google calls the clickable headline of a result the title link and builds it automatically. The <title> element is the main input, but Google's documentation also lists the main visible heading, og:title, other prominent text, and the anchor text of links (on the page and pointing at it) as possible sources. Its guidance asks for a title that is unique to the page, concise and free of keyword stuffing, and Google may replace one that is not. The snippet underneath comes mainly from the visible text of the page. Google may use your meta description instead when it describes the page better than the page text does for that particular search, so one page can show different snippets for different queries.

Truncation is decided by pixel width, not by characters. Google documents no fixed limit for either field; text that does not fit is cut. The commonly cited figures are about 580 to 600 pixels for a title (roughly 50 to 60 characters of ordinary text) and about 920 pixels for a description on desktop (roughly 150 to 160 characters), with mobile results cutting the description sooner. These are community measurements, not rules Google publishes, and they shift when Google changes its fonts or layout. Narrow letters such as i and l fit more per line than W and M, and capitals take more room than lowercase, so a title in capitals is cut earlier than the same words in sentence case. Put the words that matter first and treat the limits below as a safe zone.

What the counters and the preview in this tool actually measure

  • Characters, not pixels. The title counter is grey when empty, green from 1 to 60 and red above 60, with no minimum. The description counter is grey when empty, amber from 1 to 69, green from 70 to 160 and red above 160. These are the rule-of-thumb limits, not Google's. The count is the length of the JavaScript string, so most emoji count as two characters.
  • Counted before escaping. An ampersand counts as one character even though it is written as &amp; in the output. The warnings below the output use the same limits after runs of spaces and line breaks are collapsed to single spaces, so text with doubled or trailing spaces can read a few characters higher in the counter than in the warning.
  • The Google result preview does not truncate. It draws your title (20px) and description (14px) in Google's colours and fonts so you can judge the wording, and an over-long title simply wraps onto a second line. The address line is built from the canonical field. To see where Google would cut, use the SERP Snippet Preview, which measures the rendered text against 580px for the title and 920px for the description.

Every tag the tool writes, field by field

TagWhat it doesWritten whenTypical mistake
charset and viewportSets the text encoding, and the width that mobile browsers lay the page out at.Their switches are on (the default).Leaving both on when your framework already adds them, which gives you duplicates.
<title>The headline of the search result, the browser tab and bookmarks. Also the default og:title.The page title is not empty.The same title on many pages, or only the brand name.
meta name="description"A source for the snippet under the headline. A snippet source, not a ranking lever.The description is not empty.Copying the first sentence of the page, or one description reused across pages.
meta name="robots"Whether the page may be indexed and its links followed. Index, follow is already the default.Always, from the two dropdowns.Leaving noindex selected from a staging or draft setup.
link rel="canonical"Names the preferred URL when several addresses show the same content. A strong hint, not a command.The canonical URL is not empty.A relative path, the wrong protocol or www version, or another page's canonical pasted in.
og:typeTells social platforms whether the page is a website or an article. No article:* extras are written.Always.Choosing article for a home page or a category page.
og:title and og:descriptionThe headline and sentence on the share card in Facebook, LinkedIn, WhatsApp, Slack and Discord.Copied from the title and description unless you override them.Overriding them once and forgetting to update them when the page title changes.
og:urlThe address the share is attributed to. It should match your canonical tag.Copied from the canonical unless overridden. Left out if both are empty.Pointing it at a different address from the canonical.
og:imageThe picture on the share card. Use an absolute https URL to a 1200 × 630 image.The share image URL is not empty.A relative path, an http address, or an image in the wrong shape that gets cropped.
og:site_nameThe name of the site as a whole, shown on some platforms next to the page title.The site name is not empty.Putting the page title here. It should be the same on every page.
twitter:card and twitter:siteThe card layout on X (large image or small summary) and the account the card is credited to.The card always. The site only when a handle is entered; an @ is added if you leave it off.Typing a profile URL into the handle box. The handle is not checked, so the tool would write an @ in front of the URL.

Not written by this tool: og:image:width, og:image:height and og:image:alt, og:locale, the article:* properties, separate twitter:title, twitter:description and twitter:image tags (X falls back to the og: ones), a meta keywords tag, and the extra robots directives such as max-snippet. Add those by hand if you need them.

What the warnings cover, and what they cannot see

The notes under the output come from these checks, and only these:

  • Title: missing, or over 60 characters.
  • Description: missing, over 160 characters, or under 70.
  • Canonical and og:url: not an absolute http or https address. A blank canonical gets no warning.
  • og:image: missing, not an absolute address, or using http:// instead of https://.
  • Robots: set to noindex. Nofollow gets no warning.

The tool builds tags from what you type and fetches no pages. It cannot tell whether the image URL loads or what size it is, whether another page already uses your title, whether the canonical matches where the page really lives, or whether the wording is any good. The last section covers the tools that check those.

Worked example: from a page brief to finished tags

The brief: Northside Cycles, a bike repair shop in Leeds, wants a page at example.com/e-bike-repair. It repairs Bosch, Shimano and Yamaha motors, diagnoses for free the same day, gives a written quote before any work, and finishes most repairs within three days. The page also gets visits from newsletter links with tracking added to the address. There is a 1200 × 630 share image and an X account. The fields to fill in:

  • Page title: Leeds E-Bike Repair, Same-Day Diagnosis | Northside Cycles
  • Meta description: the one-sentence summary in the output below (148 characters).
  • Canonical URL: https://example.com/e-bike-repair, the clean address with no tracking parameters.
  • Share image URL: https://example.com/images/e-bike-repair-1200x630.jpg
  • Site name: Northside Cycles. X / Twitter handle: northsidecycles, with no @ needed.
  • Indexing stays on index, link following on follow, content type on website, card on summary_large_image.

A first draft of the title, "E-Bike Repair in Leeds, Same-Day Diagnosis | Northside Cycles", comes to 61 characters, and the tool answers with "Title is 61 characters". Moving "Leeds" to the front and dropping "in" gives 58 characters and clears the warning. The 148-character description sits inside the 70 to 160 range. The tool then produces 14 tags, shown in the Head tags counter:

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Leeds E-Bike Repair, Same-Day Diagnosis | Northside Cycles</title>
<meta name="description" content="Leeds e-bike repair for Bosch, Shimano and Yamaha motors. Free same-day diagnosis, a written quote before any work, and most repairs done in 3 days.">
<meta name="robots" content="index, follow">
<link rel="canonical" href="https://example.com/e-bike-repair">

<!-- Open Graph (Facebook, LinkedIn, Slack, WhatsApp) -->
<meta property="og:type" content="website">
<meta property="og:title" content="Leeds E-Bike Repair, Same-Day Diagnosis | Northside Cycles">
<meta property="og:description" content="Leeds e-bike repair for Bosch, Shimano and Yamaha motors. Free same-day diagnosis, a written quote before any work, and most repairs done in 3 days.">
<meta property="og:url" content="https://example.com/e-bike-repair">
<meta property="og:image" content="https://example.com/images/e-bike-repair-1200x630.jpg">
<meta property="og:site_name" content="Northside Cycles">

<!-- X / Twitter — falls back to the og:* tags above for title, description, and image -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@northsidecycles">

Only six fields were typed. The og:title, og:description and og:url lines are copies of the title, description and canonical, and the robots, og:type and twitter:card lines come from the defaults. Because the canonical is the clean address, every campaign variant of the page that carries this block still points at it. Staying under 60 characters does not guarantee the title fits, since the limit is in pixels, so check the finished title in the SERP Snippet Preview.

Common mistakes, and what this tool does about them

MistakeWhy it hurtsThis tool
The same title or description on many pagesResults look identical, and Google may replace titles it sees repeated across a site.Cannot see it: it knows only the page you are typing. Compare your own list of titles before publishing.
Keyword stuffingA string of repeated terms reads as spam to people, and Google may swap in its own title.Only counts length. Write the title for a person scanning results.
No canonical on a page reachable with parameters (tracking, sorting, filters)Each variant is a separate address with the same content, and Google may pick one you did not intend.Writes the canonical you enter and never adds one. A blank field gives no warning.
noindex left on after launchThe page drops out of search results, and a block copied from a draft carries it along.Defaults to index, and warns whenever noindex is selected.
Wrong og:image: relative path, http address or wrong shapeA relative path gives a blank preview, an http image is often refused, and a wrong shape is cropped.Warns on missing, relative and http images. It does not load the image, so keep it at 1200 × 630.
Canonical and og:url copied from another pageThe page claims to live at the wrong address.Fills og:url from the canonical, but never compares either with the live URL. Use the Canonical URL Analyzer.

Where to paste the output

  • Plain HTML. Put the block inside the <head> of that page, one block per page. Delete any title, description, robots or canonical tag already there rather than adding a second one.
  • Next.js App Router. The output is raw HTML, and the framework writes these tags from the metadata export instead. It already adds charset and viewport, so switch both off here. The same page looks like this:
import type { Metadata } from "next";

const title = "Leeds E-Bike Repair, Same-Day Diagnosis | Northside Cycles";
const description =
  "Leeds e-bike repair for Bosch, Shimano and Yamaha motors. Free same-day diagnosis, a written quote before any work, and most repairs done in 3 days.";
const url = "https://example.com/e-bike-repair";

export const metadata: Metadata = {
  title,
  description,
  alternates: { canonical: url },
  robots: { index: true, follow: true },
  openGraph: {
    type: "website",
    title,
    description,
    url,
    siteName: "Northside Cycles",
    images: ["https://example.com/images/e-bike-repair-1200x630.jpg"],
  },
  twitter: { card: "summary_large_image", site: "@northsidecycles" },
};
  • WordPress. If an SEO plugin controls the head, enter the title, description, canonical, robots setting and share image in its page fields. Pasting this block into the theme as well would give the page two titles and two descriptions.

Check the result afterwards

These tools read the live page, so run them after you publish. None of them sees what you typed into the generator.

  • Meta Tag Analyzer: the title, description, canonical, Open Graph and Twitter Card tags the page is really serving, with lengths.
  • SERP Snippet Preview: where the title and description are cut, measured in pixels.
  • Open Graph Checker and Twitter Card Validator: how the link looks when shared, and any missing og: tags. Platforms cache cards, so a changed image can take a while to appear.
  • Canonical URL Analyzer: whether the canonical points at the page itself, including protocol, www and trailing-slash mismatches.
  • Full Audit: every on-page and technical check on the URL in one pass.

For the background, see the meta tags guide, meta description length and the Open Graph tags guide.

Frequently asked questions

Do I need all of these tags on every page?

Title, description, and canonical belong on every page. The Open Graph and Twitter Card tags only matter for pages people share — but since that's usually the pages you care most about, and the cost is a handful of lines in the head, most sites set them everywhere. The charset and viewport lines belong on every page too; almost every framework already adds them, so leave those toggles off if yours does.

Why does it generate og: tags but only two twitter: tags?

Because X falls back to your Open Graph tags for the title, description, and image whenever the twitter: equivalents are missing. Duplicating all of them just doubles the number of lines you have to keep in sync. The two that have no Open Graph equivalent — the card type and your @handle — are the ones worth setting explicitly.

What size should the share image be?

1200 × 630 pixels, under about 1 MB, at an absolute https URL. That renders as a full-width card on Facebook, LinkedIn, and X, and scales down cleanly everywhere else. Relative paths are the single most common mistake here — social crawlers don't resolve them, so the preview comes out blank.

Will Google use exactly the title and description I write?

Not always. Google rewrites titles it considers unhelpful and swaps in a page excerpt when it thinks that answers the query better, which happens for a meaningful share of results. A clear, specific, correctly sized title and description is how you make keeping your own version the likely outcome, not a guarantee of it.

Is anything I type here sent to a server?

No. The tags are built in your browser as you type, so you can safely paste in unpublished titles, staging URLs, or client work. Nothing is uploaded, logged, or stored.

Should every page get its own title and description?

Yes. Run the generator once per page and write each title and description from that page's own content. Identical titles make results hard to tell apart and are one of the things Google may replace with a title of its own. The tool only sees the page you are typing, so it cannot warn you that another page already uses the same wording. Keep a simple list of URL, title and description as you go and compare it before you publish.

Does it write a meta keywords tag, and should I add one?

It does not write one, and there is nothing to gain from adding one by hand. Google has said for years that it does not use the keywords meta tag for ranking. The tags that matter for search are the title, the description, the canonical and the robots directive, and those are all in the output.

Why is a robots tag in the output when it just says index, follow?

The tool always writes it, built from the two dropdowns. Index and follow are what crawlers assume when no tag exists, so on its own that line changes nothing and you can delete it if you want a shorter head. It matters when you pick noindex or nofollow. Those two pairs are all the tool covers; it does not write nosnippet, max-snippet or noarchive. A noindex also only works if the page can be crawled: if robots.txt blocks the URL, Google never reads the tag.

What goes in the canonical field if my page is reachable with tracking parameters?

The clean address: absolute, with the protocol and the www or non-www host you actually serve, and without utm_ tags, sort orders or filters. Paste the same block on every variant of the page and the canonical keeps pointing at that one address. A page that is already at its clean address normally points at itself, which is correct. Google treats the canonical as a hint, so make your internal links and sitemap use the same address too.

The preview shows https://example.com but my canonical has www or http. Why?

The preview is a drawing, not a check. It takes only the host and the path from your canonical, drops a leading www., always writes https:// and leaves out any query string. The canonical tag in the output is written exactly as you typed it, apart from trimming spaces and escaping quotes and ampersands. If the preview host looks wrong, the address in the canonical field is what to fix.

Related tools

We use cookies to analyze site usage and improve your experience. You can decline non-essential cookies. Privacy Policy