Open Graph Meta Tag Generator

Generate Open Graph and Twitter Card meta tags for social previews from title, description, URL and image. Runs locally in your browser.

About this tool

Enter lines such as title: My Page, description: A short summary, url: https://example.com/page and image: https://example.com/img.png. You get og: and twitter: meta tags with proper HTML escaping, ready to paste into your head element. Nothing is uploaded.

Related: JSON Formatter & Validator · Base64 Encode & Decode · URL Encoder & Decoder · SHA-256 / SHA-1 Hash Generator · Unix Timestamp Converter