OpenGraph Optimizer

Preview, diagnose, and generate optimized OpenGraph images in the right dimensions with smaller file sizes.

Analyze a public page, then optimize its sharing image or create one with AI. AI providers may charge your account. Keys are kept for this tab’s session and sent to the selected provider through this site where needed. Submitted URLs are fetched by our server; optimization may send image URLs to Cloudflare or Weserv. Saved images have public URLs. Only submit content you have permission to share.

Analyze a URL

Add Your AI Keys

No Key Added Yet

Use your own AI keys (kept for this tab’s session) so you can generate your own images and prompts.

○ Replicate API Key Not set ›
Get your API key from Replicate · Stored for this tab’s session
○ Google AI Studio Gemini Key Not set ›
Get your Gemini API key from Google AI Studio · Stored for this tab’s session

AI Image Prompt Helper

Generate optimized prompts for your OpenGraph images based on page content. Powered by Claude Sonnet 4.5 via Replicate.

Generate Optimized OpenGraph Image

Preset: 1280x720 (16:9), height divisible by 16, 1 output, deterministic seed

Optimize Image

Resizes to 1200×630 and compresses the image file size for you to meet different social platform requirements.

Download Hosted Image

Using this tool

What does analysis check?

It fetches the page’s initial HTML and reports OpenGraph metadata, image dimensions where detected, file size, and suggested improvements. Pages that block automated requests may not be analyzable.

What size does optimization produce?

The optimizer targets a 1200 × 630 JPEG. Check the crop and preview before adding it to your page. Social platforms may crop or cache images differently.

Where do my keys and images go?

Your keys are held in this tab’s session. Replicate requests pass through this website; Gemini image requests can go directly to Google. AI use may incur provider charges. Saved images have public URLs on this website. Optimization may use Cloudflare or Weserv.

How do I use the resulting image?

Copy the hosted URL into your page’s og:image tag in its initial HTML. Test the shared link on the platforms you use. Generating or saving an image does not update your website automatically.