Skip to main content

Meta Tag Generator

Generate SEO, Open Graph and X meta tags with live previews

Fields

Core SEO
Indexing
Link following

Social title, description and URL copy the Core SEO fields.

Open Graph
X (Twitter)
Card type
Advanced

Adds meta charset and viewport to HTML, React Helmet, Nuxt and Astro.

Preview

Start with a page title
Fill in the fields or load an example to see previews and code.

Findings

Start with a page title

How to use

  1. 1.Enter the page title, meta description and canonical URL.
  2. 2.Keep "Use SEO values for social" on to reuse them for Open Graph and X, or turn it off to write separate social copy.
  3. 3.Add an absolute image URL, alt text and site name for share cards.
  4. 4.Review the Search, Open Graph and X previews and the findings.
  5. 5.Open Code, choose a format, then copy or download it.

What this tool does

Meta Tag Generator builds the SEO, Open Graph and X (Twitter) tags for one page from a single form. It shows approximate search and social previews, checks common mistakes, and outputs the same tags as an HTML head snippet, a Next.js metadata object, React Helmet, Nuxt useHead or an Astro component.

Features
  • •Every value is escaped for HTML and JavaScript, so quotes, ampersands and angle brackets cannot break the output.
  • •Tags are always written in the same order, and every format is generated from the same model.
  • •Checks flag a missing or scheme-less canonical URL, relative image URLs, noindex, host mismatches and unusual title or description lengths.
  • •Everything runs in your browser. Images are loaded only when you choose Show image.
Limits

Previews and length checks are approximations. Google, Facebook, X and other platforms render with their own fonts and may rewrite or truncate titles and descriptions, so no preview is an exact copy of a real result.

Frequently asked questions
Is the Next.js output the same as the HTML output?
Yes. Both are generated from the same normalized model, so the Next.js metadata object renders the same title, description, robots, canonical, Open Graph and X tags in the same order. Next.js adds charset and viewport itself, and a theme color goes into the separate viewport export.
What does Use SEO values for social do?
When it is on, og:title, og:description, og:url and the X title and description copy your page title, meta description and canonical URL. Turn it off to write separate social copy; the fields are pre-filled from the SEO values so nothing disappears.
Are the previews exactly what Google, Facebook or X will show?
No. They are approximate. Each platform uses its own fonts, layout and truncation rules and may rewrite titles or descriptions, so use the previews to catch obvious problems rather than as a guarantee.

CodingTool is officially live on