How to use it
- Type the title on the first line and an optional description on the next lines.
- Choose a Size: Open Graph (1200×630), X / Twitter (1200×600), GitHub (1280×640) or Square (1080×1080). The status bar shows the exact size. The layout adapts, and square images get a larger title with up to five lines.
- Pick a Theme (Dark, Light or Gradient), an Accent hex color, the Font (Inter, or JetBrains Mono for a code look), an optional Pattern (grid or dots, fading out from the top-right corner) and the alignment.
- Fill in Brand, Site, Badge and Footer — for example
Jane Doe · Sep 28, 2026 · 6 min read— or clear them to hide that part. - Check the Preview tab, then click PNG to save
og-image.png. The download icon saves the SVG instead.
The sample, How we cut API latency by 60% with a one-sentence description, produces 1200×630 · title 84px, 2 lines. Lines are balanced like CSS text-wrap: balance, so the title breaks as How we cut API / latency by 60% instead of leaving 60% alone on the second line, and a line never starts with a spaced dash.
Adding the image to your page
Upload the PNG next to your page and reference it with an absolute URL:
<meta property="og:title" content="How we cut API latency by 60%" />
<meta property="og:description" content="Connection pooling, smarter caching and one Postgres setting." />
<meta property="og:image" content="https://example.com/og/api-latency.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta name="twitter:card" content="summary_large_image" />
Relative paths such as /og/api-latency.png fail on several platforms because crawlers don’t resolve them. If the URL contains spaces or non-ASCII characters, encode it with URL Encode first.
Warnings you may see
- The title is too long to fit and was shortened with “…” — shorten the headline. The description can carry the detail.
- The description was shortened to fit — keep it to one or two sentences. Previews often show only the image and the page title anyway.
- White text has low contrast on this accent — on the Gradient theme a light accent such as
#ffe066makes the text hard to read. Pick a darker accent. The Color Converter shows the exact contrast ratio. - Accent must be a hex color — use
#6d6dff,6d6dffor the short form#f60.
Tips for previews that get clicked
- Put the message in the title. People skim previews in a feed, so a specific title beats a logo on its own.
- Keep the edges calm. Some apps crop a few pixels or round the corners. The layout keeps an 80px margin on every size for that reason.
- Match the platform. One 1200×630 image works almost everywhere. Make a separate 1280×640 image only for a GitHub repository, where you upload it under Settings → Social preview.
- Refresh the cache after changes. Platforms store images for days. Use the Facebook Sharing Debugger or LinkedIn Post Inspector to fetch the new one.
- One image per page. A distinct image for each article or tool page gets more clicks than one image reused site-wide.
Need a scannable link for print instead? The QR Code Generator also exports PNG. To write the page itself, preview your content with Markdown to HTML.
Frequently asked questions
What size should an Open Graph image be?
1200×630 pixels, an aspect ratio of 1.91:1. Facebook, LinkedIn, Slack, Discord and Zalo all use that shape, and X accepts it too. Pick X / Twitter 1200×600 for X's exact 2:1 card, GitHub 1280×640 for a repository social preview, or Square 1080×1080 for feeds that show square thumbnails.
Why download a PNG instead of the SVG?
Most social networks ignore SVG in og:image and show no preview at all. The PNG button draws the SVG onto a canvas in your browser and saves a 1200×630 PNG, which every platform accepts. Keep the SVG if you want to edit the design later.
Why does my title get smaller or shortened?
The title starts at 84px and steps down to 48px until it fits in three lines next to the description. If it still doesn't fit, the last line ends with “…” and a warning appears. Titles under about 70 characters stay large and readable in a small preview card.
Does it support Vietnamese and other accented text?
Yes. The Inter font is embedded in the image, including its Vietnamese and Latin Extended subsets when your text needs them, so diacritics render the same on every device. Scripts that Inter doesn't cover, such as Chinese or Japanese, fall back to a system font and the tool shows a warning.
Is my text uploaded anywhere?
No. The SVG is built and the PNG is rendered entirely in your browser. Nothing you type leaves your device.
Last updated