Meta / OG Tag Generator

Link copied

Build the complete set of HTML head tags your pages need to look great in search results and on social media — entirely in your browser. Fill in the title, description, canonical URL, preview image, site name, and a few options, and the generator assembles standard SEO meta tags alongside Open Graph and Twitter Card markup that Facebook, LinkedIn, Slack, X, and other platforms read when rendering link previews. Every value is HTML-escaped automatically, so the output is safe to paste straight into your <head>. Blank fields are skipped, so you only ever get the tags you actually need. Copy the result in one click. Free, fast, and completely private — nothing is uploaded or stored.

How to use

Type your page title and meta description, then add the canonical URL and the absolute URL of your social preview image. Optionally set the site name, Twitter @handle, and locale, and pick the Open Graph type and Twitter card layout. The generated tags update live on the right as you type — leave a field blank to omit its tags. When you're happy, click Copy and paste the block inside your page's <head> element.

Frequently asked questions

What are Open Graph and Twitter Card tags?
Open Graph (og:) tags are metadata that platforms like Facebook, LinkedIn, and Slack read to build a rich preview when someone shares your link — controlling the title, description, and thumbnail. Twitter Card tags do the same for X (formerly Twitter). Without them, platforms guess at your content, often picking the wrong image or text.
Why does the image need an absolute URL?
Social crawlers fetch your image from a server that has no idea what page it came from, so relative paths like /preview.png won't resolve. Always use a full, publicly accessible URL such as https://example.com/preview.png. For best results, use an image around 1200×630 pixels for the summary_large_image card.
Is my input sent anywhere?
No. The tags are assembled entirely in your browser as you type. Your title, description, URLs, and other fields are never transmitted, logged, or stored on any server, and the tool works without an account.