Meta Tag Generator

Generate escaped title, description, canonical, robots, Open Graph and X card tags for your page.

Write for the actual page

Use a title that names the page’s task and a description that helps a visitor decide whether it answers their question. Keep facts consistent with the visible content. This generator encodes text as HTML, including quotes and angle brackets, rather than treating it as executable markup. Copy the result into the page’s head and replace older tags instead of creating duplicates.

Canonical and indexing controls

Use the preferred full URL as canonical, without a fragment. The same value becomes og:url when social tags are enabled. A canonical annotation is a signal; this tool cannot check redirects, competing annotations or the URL Google chooses.

Index/follow allows indexing and link following but does not guarantee either. Noindex is an intentional indexing restriction. A robots.txt block can keep a crawler from discovering a page’s noindex tag. The generator emits only the directives you select; it does not edit robots.txt or HTTP response headers.

Social metadata and image text

Social mode includes the four basic Open Graph properties: title, type, URL and image. It also writes a description, optional site name and locale, an image alternative when supplied, and X summary_large_image metadata. Image URLs must be full HTTP/HTTPS addresses. An optional locale uses language_REGION, such as en_US or zh_TW; that format differs from hreflang’s hyphens.

Choose website or article to describe the page. These tags are metadata, not an exact preview of any platform. Image availability, cropping and cached cards must be checked on the sharing platform; the tool never loads the image.

Lengths and limits

Character counts are Unicode code-point counts, not display widths or ranking scores. The tool does not cut your title or description to a supposed Google character limit: actual title links and snippets may vary. Input limits are 1,000 title UTF-16 units, 5,000 description UTF-16 units, 200 site-name units, 1,000 image-alt units and 8,192 encoded characters per URL. Only syntax is checked.

Questions & answers

Will Google display exactly this description?

Not necessarily. Treat the description as a useful summary of the page. Google can choose other relevant visible text for a query.

Can I turn off social tags?

Yes. Disable social metadata to generate only the title, description, canonical and robots tags. Hidden social fields are ignored.

Are input text and images uploaded?

No. Generation takes place in a local Web Worker. No destination or image URL is fetched, and input is not saved in local storage.

Other Languages

References

How we make sure

We check this tool with the automated test suites linked below. Example checks are shown in their original language.

Verification method
Inspect generated HTML/headers/XML and check canonical/alternate/sitemap fields, reciprocal links, escaping and duplicates.
Comparison reference
Explicit metadata expectations, XML namespaces and fixed language/region registry data.
Verification scope
Correct formatting does not guarantee search-engine indexing or ranking.
Test source and cases (select a file to read it)
  • seo-tools.test.js
    • Meta emits coherent canonical, Open Graph and X metadata with complete basic properties
    • Meta output treats titles, descriptions and alt text as text even with hostile markup
    • Meta noindex is explicit, social tags can be disabled, and hidden social fields are ignored
    • Meta requires title, description, canonical and an image only for enabled social metadata
    • Meta counts Unicode code points without treating character counts as ranking limits

These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.