Category: Image tools

Open Graph Image Resizer

System ideaMissing a tool?

Scale one image to the og:image dimensions you type, in your browser

Prepare a link-preview image: open a local file, type the target width and height, keep the source ratio if you want, and export PNG, JPEG or WebP locally.

Choose an image to compress.

Everything on this page is processed in your browser. Nothing is uploaded.

What this tool does

This is a manual pixel resizer for the single image a page uses as its Open Graph link preview. Open a local file and its original width and height are shown, then you type the target dimensions yourself; the familiar 1200 by 630 is entered by hand, because there is no Open Graph preset and nothing is filled in for you. With the aspect-ratio lock on, changing one side recalculates the other from the source proportions; with the lock off the picture is scaled to exactly the two numbers you entered, which stretches it when that ratio differs from the source. Export as PNG, JPEG or WebP, with a 20% to 95% quality control for the lossy formats, and read the original size, the output size and the output file size beside the preview before downloading. The tool works on the image file only: it does not write og:image or any Open Graph meta tag, emits no HTML, does not validate Facebook, LinkedIn, X or other crawler requirements, and offers no sharing debugger, cache refresh or live link preview. It never crops, pads, adds blurred borders, removes backgrounds, expands with AI, overlays text, applies a branded card template or draws a safe zone; it makes no target file-size promise, ships no other platform presets, handles one file at a time and does not preserve metadata or animation. Everything runs in the browser, so neither the source nor the result reaches LocalTools.

How to use it

  1. Open one local image and check the original width and height it reports.
  2. Type the target width and height for your link preview, for example 1200 and 630, using the aspect-ratio lock to keep the source proportions.
  3. Export PNG, JPEG or WebP at 20%–95% quality for the lossy formats, then reference the downloaded file from your own og:image tag.

Privacy

This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.

Frequently asked questions

What size should og:image be?
Published guidance commonly points at 1200 by 630 pixels, close to a 1.91:1 landscape ratio, as a safe reference. This tool does not apply that value for you or check any platform's current rules.
How do I resize an image for a Facebook link preview?
Open the image, type the width and height you want, choose an output format and download it. You then point your page's og:image at that file yourself.
Can I resize to exact pixel dimensions?
Yes. Both target fields are typed in pixels and the output matches them exactly, with the original size, the output size and the output file size shown next to the preview.
What does locking the aspect ratio do?
It recalculates the second dimension from the source proportions, so changing only the width or only the height does not distort the picture. There is no crop or padding to fit a different ratio.
Does it generate the og:image tag or test the preview?
No. It outputs a resized image file only. Meta-tag generation, crawler validation, sharing debuggers and cache refresh are all outside this tool.