Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

Meta Tag Generator

Head tags with length checks and a live Google-style result preview.

SEO No upload Works offline Free, no sign-up

Page details

Check a page you already have: paste its HTML

Open the page, press Ctrl+U (⌥⌘U on a Mac) to view its source, then copy and paste it here. The HTML is only read, never run or uploaded.

No title yet

No description yet

The preferred, absolute address of this page. Leave empty to skip.
Set on the <html> element.
Colours the browser bar on phones. Pick a colour or type any CSS colour (#7c3aed, white, rgb(…)).

Robots

Search results
Links on the page
More robots rules
Characters. -1 = no limit, 0 = none.
Google Discover recommends large.
Seconds. -1 = no limit, 0 = still image.
Drop the page from results after this date.

Search result preview

example.com https://example.com › your-page

Your page title

An approximation for checking length and wording. Google may rewrite titles and snippets, and fonts and widths vary by device.

Checks

No problems found.

Next steps

About the Meta Tag Generator

Fill in your page title and description, choose robots rules and add a canonical URL: the tool writes the matching <head> tags as you type and shows roughly how the page could look in Google on desktop and mobile.

Length is checked in pixels, not just characters, because Google cuts titles and snippets to fit the screen width — a title full of wide letters like "W" and "M" runs out of space long before one full of "i" and "l". Every robots rule follows Google's published specification, and the tool explains conflicts (for example nosnippet overriding max-snippet) instead of silently writing them.

How to use it

  1. Type the page title and meta description. The bars under each field show the estimated width against the usual desktop limits.
  2. Add the canonical URL (the preferred address of the page) and, if you need them, author, language and theme colour.
  3. Leave Index and Follow on for normal pages. Open More robots rules for options such as nosnippet, max-image-preview:large or an expiry date.
  4. Check the search result preview, switching between desktop and mobile. To review a page you already have, paste its HTML into Check a page you already have to load its current tags.
  5. Copy the generated tags into your page's <head>. For PDFs and other non-HTML files, use the X-Robots-Tag header instead.

Examples

A recipe page
Input
Title: Masala Chai Recipe: How to Make Indian Spiced Tea at Home
Canonical: https://www.example.com/recipes/masala-chai/
Robots: max-image-preview:large
Result
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Masala Chai Recipe: How to Make Indian Spiced Tea at Home</title>
<meta name="description" content="Make masala chai at home with black tea, milk, ginger, cardamom and cinnamon…">
<meta name="robots" content="max-image-preview:large">
<link rel="canonical" href="https://www.example.com/recipes/masala-chai/">
Keep a thank-you page out of search results
Input
Index: off · Follow: on
Result
<meta name="robots" content="noindex">

The page must stay crawlable (not blocked in robots.txt), otherwise Google never sees the noindex rule.

Common uses

  • Writing titles and descriptions for new pages, blog posts and product pages.
  • Checking that a title is not cut off in results before you publish.
  • Generating correct noindex, nosnippet or max-snippet rules without memorising the syntax.
  • Producing the X-Robots-Tag header for PDFs and images.

Which tags Google actually uses

From Google's list of supported meta tags:

  • <title> — the main source for the title link in results, together with headings and other signals.
  • description — sometimes used for the snippet, when it describes the page better than text from the page itself.
  • robots / googlebot — indexing and snippet rules. index, follow is the default and never needs to be written.
  • viewport — tells mobile browsers how to lay out the page; Google treats its presence as a sign the page works on mobile.
  • charset — the character encoding; Google prefers UTF-8.
  • <link rel="canonical"> — your preferred URL when the same content is reachable at several addresses.

Google ignores the keywords meta tag entirely and does not use the lang attribute to detect language (it reads the text) — but browsers, screen readers and translation tools do use lang, so it is still worth setting.

How long can a title or description be?

Google says there is no limit on the length of a <title> or meta description, but results are "truncated as needed, typically to fit the device width". It does not publish a pixel or character number.

This tool estimates the rendered width with Arial character widths at 20 px for titles and 14 px for descriptions, and compares it with the limits most SEO tools use: about 600 px for desktop titles, about 920 px (two lines) for desktop descriptions and about 680 px for mobile descriptions. Treat these as guides: put the words that matter first, so a cut-off ending costs nothing.

Robots rules at a glance

  • noindex — do not show the page in search results.
  • nofollow — do not follow the links on the page.
  • nosnippet — no text snippet or video preview (also keeps the text out of AI Overviews as a direct input).
  • max-snippet:[n] — at most n characters of snippet; 0 means none, -1 means Google decides.
  • max-image-preview:none|standard|large — size of image previews. Google Discover recommends large.
  • max-video-preview:[n] — at most n seconds of video preview; -1 means no limit.
  • noimageindex — do not index images on the page.
  • notranslate — do not offer a translated result.
  • indexifembedded — allow indexing when embedded in another page via iframe; only works together with noindex.
  • unavailable_after: [date] — stop showing the page after a date.

When rules conflict, the more restrictive one applies. Google no longer uses noarchive or nositelinkssearchbox. Source: Google's robots meta tag specification.

Limitations

  • Pixel widths are estimates. Real results depend on fonts, bold query words and the screen, and Google may rewrite titles and snippets.
  • The preview approximates a Google result; it is not a screenshot and does not predict ranking.
  • The tool does not fetch your live page — browsers cannot read other websites for security reasons (CORS). Type your values or paste the page’s HTML source instead.

Privacy

Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.

Frequently asked questions

Does Google use the meta keywords tag?

No. Google states that the keywords meta tag "is not used by Google Search, and it has no effect on indexing and ranking at all", so this generator does not write one.

Why does Google show a different title or description from mine?

Title links are generated automatically from the <title>, the main heading, og:title, anchor text and other signals; snippets come mainly from page content. Google uses your description when it describes the page better than the page text. Unique, specific, non-repetitive titles and descriptions are the most likely to be used as written.

Do I need to add "index, follow"?

No. Pages are indexed and links followed by default, so the tool only writes a robots tag when you change something.

Should I block a page in robots.txt or use noindex?

Use noindex to keep a page out of results, and keep it crawlable. If robots.txt blocks the page, Google cannot see the noindex rule, and the URL can still appear in results based on links from other pages.

What is the X-Robots-Tag header for?

Any robots rule can be sent as an HTTP header, which is the only way to apply rules to PDFs, images and other files that have no HTML <head>. Set it in your server or hosting configuration.

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.