OG Image Generator
Developer ToolsGenerate a 1200×630 Open Graph image for social sharing previews. Enter a title and subtitle, pick your colours, and download as PNG instantly.
What is a OG Image?
An OG Image Generator creates the preview image shown when a page is shared on social media — sized at the standard 1200×630 pixels that Facebook, LinkedIn, X, and most other platforms expect for link previews. A compelling preview image with a clear title is often the single biggest factor in whether someone actually clicks a shared link, making it one of the highest-leverage small design assets on any website.
This generator lets you create a clean, branded title-and-subtitle image without opening a design tool, with your own background, text, and accent colours. It pairs directly with the Open Graph & Twitter Card Generator, which generates the meta tags that reference this image on your page.
How to use this OG Image calculator
- Enter your page's Title — keep it concise for the cleanest layout.
- Enter a Subtitle that adds context or a short description.
- Set your Background, Text, and Accent colours using hex codes.
- Review the live preview to confirm the layout and text wrapping look right.
- Click Download PNG (1200×630) and upload the image to your website's hosting.
- Reference the image's URL in your page's
og:imagemeta tag, using the Open Graph & Twitter Card Generator if you need help with the full tag set.
Formula & Methodology
The generator renders directly onto an HTML canvas at a fixed 1200×630 size: a solid background colour, a vertical accent bar and decorative accent circle, followed by the title (wrapped across up to three lines) and subtitle (wrapped across up to two lines), both left-aligned with consistent margins. Example: entering the title "10 Tips for Better Sleep" with a dark navy background, white text, and blue accent produces a 1200×630 PNG with the title in large bold text near the top-left, the subtitle below it in a lighter weight, and a blue accent bar along the left edge — ready to use as your page's social sharing preview.
Frequently Asked Questions