OpenGraph & Meta Tag Generator

Generate essential Open Graph and X Card meta tags for improved social sharing previews and SEO. Fill the form to generate copy-pasteable tags and see live previews.

Metadata Content
Fill in the details for your page.
Tag Options
Generated HTML Tags
Copy and paste into your `<head>` section.
<meta name="title" content="My Awesome Page Title" />
<meta name="description" content="A concise and compelling description of the page content (aim for ~150 chars)." />
<meta property="og:title" content="My Awesome Page Title" />
<meta property="og:description" content="A concise and compelling description of the page content (aim for ~150 chars)." />
<meta property="og:image" content="https://example.com/images/preview-image.png" />
<meta property="og:url" content="https://example.com/your-page" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="My Website Name" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="My Awesome Page Title" />
<meta name="twitter:description" content="A concise and compelling description of the page content (aim for ~150 chars)." />
<meta name="twitter:image" content="https://example.com/images/preview-image.png" />
<meta name="twitter:domain" content="example.com" />
<meta name="twitter:url" content="https://example.com/your-page" />
Live Previews (Approximate)
How your link might look on social media.

example.com

My Awesome Page Title

A concise and compelling description of the page content (aim for ~150 chars).

Test & Validate
Use official tools to debug your tags.

About OpenGraph & Meta Tag Generator

When a page gets shared on social media or in a chat app, the rich preview — the title, description, and thumbnail image — comes from meta tags in the page's HTML head. Open Graph tags drive previews on most platforms, and X (Twitter) Card tags control how the link looks on X. Get them right and your links look professional; leave them out and you get a bare URL or, worse, a preview that pulls the wrong text and image.

This generator builds those tags for you. Fill in the title, description, canonical URL, and preview image, and it produces the corresponding og: and twitter: meta tags plus the standard SEO tags, ready to paste into your head. A live preview shows roughly how the card will render, so you can tune the title length and image before you ship rather than after a link looks broken in a tweet.

Everything is generated in the browser — there's no crawl of your site and nothing is stored — so you can draft tags for an unpublished page or a staging URL safely. Copy the output straight into your template, framework metadata config, or CMS, and you've covered the tags that decide how every shared link represents your site.

How to use OpenGraph & Meta Tag Generator

  1. Enter your page details

    Fill in the title, description, canonical URL, and the image URL you want shown in the social preview.

  2. Review the live preview

    Check the rendered card to see roughly how the link will appear, and adjust the title length or image so nothing gets truncated.

  3. Copy the generated tags

    The tool outputs the Open Graph (og:), X Card (twitter:), and standard SEO meta tags as copy-pasteable HTML.

  4. Paste into your HTML head

    Drop the tags into your page's <head>, framework metadata config, or CMS, then validate with each platform's debugger.

Frequently asked questions