Skip to main content

Free Meta Tag & Open Graph Generator

Generate SEO meta tags, Open Graph, and Twitter Card markup with a live Google and social-share preview. Copy straight into your page head.

Works offline once loaded
0 Β· 0/580px
0 Β· 0/920px

Best: 1200Γ—630 px, under 5 MB, an absolute https:// link.

Also include
Title 0/580px (aim 30-60)Description 0/920px (aim 70-160)

Google search preview

example.com
Your page title appears here
Your meta description appears here. Make it compelling to improve click-through rate from search results.

Widths are an estimate: Google truncates by pixels, not characters.

Social card preview

og:image preview
example.com
Page title
Page description
Paste into your <head>

Fill in at least one field above to generate meta tags.

Common uses

  • Meta Tags for Blog PostsGenerate title, description, and social tags so your articles look great when shared.
  • Meta Tags for Product PagesMake product pages share beautifully and read well in search results.
  • Meta Tags for Landing PagesControl exactly how your campaign landing pages appear when shared and searched.
  • Generate Meta Tags for Any Web AppQuickly scaffold the full set of head meta tags for a new page or site.
  • Fix Ugly Link PreviewsStop your links showing as bare URLs β€” add the tags that create rich preview cards.

How It Works

All tag assembly and head-parsing happens directly in your browser β€” no server involved. The tool uses React's useMemo to reactively build HTML strings and the browser's native DOMParser API to read existing page markup for the import/audit feature.

  1. 1
    Form input drives live assembly
    As you type, a useMemo hook immediately reassembles the full tag block β€” title, meta description, Open Graph properties, and Twitter Card attributes β€” escaping special characters (&, <, >, ") so the output is safe to paste directly into HTML.
  2. 2
    URL validation via the browser's URL constructor
    Each URL field (page URL, social image) is validated using the browser's built-in URL constructor. Only well-formed http:// or https:// addresses with dotted hostnames pass; invalid values block the copy button and show an inline error.
  3. 3
    Import: DOMParser reads existing head markup
    If you paste existing <head> HTML to audit it, the tool runs it through DOMParser in inert mode β€” no scripts execute and no network requests are made. It then queries the parsed document for known meta selectors (og:title, twitter:description, canonical link, etc.) and pre-fills the form fields with whatever it finds.
  4. 4
    Live Google and social card previews
    The tool renders a styled Google search result and an Open Graph card preview in real time using the same form state, so you can see exactly how the title and description will be truncated before you copy the output.

Related Tools

Frequently Asked Questions