Resize an image to a file size or pixel size — without guessing

Updated 22 August 2026

Resize Image changes an image's dimensions by pixels or percent, or aims for a target file size in KB, and converts between JPG, PNG and WebP — in your browser, honouring the photo's EXIF orientation and stripping metadata by default. The result is measured on the output file; when a target size cannot be reached at acceptable quality, the tool says so rather than reporting a number it did not achieve.

How to resize a photo to exact pixels or a KB limit for an upload form, convert between JPG, PNG and WebP, and what happens to EXIF data — all on your device.

UnboundPDF is a free suite of 54 PDF and image tools that run entirely in your browser — merge, split, compress, edit text, OCR in 126 languages, redact, sign, convert and archive to PDF/A. Your document is read and written by the page on your own device; there is no document-upload endpoint in the core tools, no account, no watermark and no daily cap. Every result can be checked — with the Network tab, or with the Document Passport the Workspace writes for a chain of steps.

  1. Open Resize Image and add a JPG, PNG or WebP.
  2. Choose pixels, percent, or a target file size in KB; pick the output format.
  3. Decide whether to keep metadata (off by default), then download and read the measured size.

Open Resize Image to do this in your browser — the steps above are the whole procedure; the rest of this page is what to expect at each one.

Pixels, percent, or kilobytes

A form that says "max 2 MB" wants a file size; a form that says "600 × 600" wants pixels; a photo that is simply too big for a slide wants a percentage. The tool takes any of the three and measures the output, so the number you see is the number the form will see.

Orientation and metadata

Phones store the rotation in EXIF instead of rotating the pixels; many tools ignore it and produce a sideways image. This one honours it. Metadata is stripped by default — the GPS position, the camera serial, the original timestamp — which is usually what you want before sending a photo to a stranger; a checkbox keeps it when you need it.

Mac, Windows, iPhone, Android

Same page; on a phone, add from the camera roll and save the result back to Photos or Files.

Troubleshooting

Target not reached. Reduce dimensions first; a 4000-pixel-wide photo rarely fits 100 KB at any quality. The image came out sideways. The source has no orientation tag — rotate it in your gallery app and re-add. Transparent areas turned black. JPG has no transparency; choose PNG or WebP.

Related

JPG to PDF · Passport Photo · Compress PDF (for documents rather than images)

Frequently asked questions

Why is the result larger than my target?

Because reaching it would have needed a quality the tool will not accept silently. It reports the size it achieved and says the target was not reached; lower the pixel dimensions and try again.

Does it keep my photo's location data?

Not by default — metadata including GPS is stripped unless you tick the box to keep it. Orientation is honoured either way, so a phone photo comes out upright.

JPG, PNG or WebP?

JPG for photographs going to a form or email; PNG when you need transparency or exact pixels (screenshots, logos); WebP for the web when the destination accepts it.