Fit photo to size

Get under 2MB

Choose a file

Drop a file hereTap to choose a fileDrop it hereOne image, up to 30 MB. Processed as soon as you pick it, and never uploaded.One image, up to 30 MB. Processed as soon as you pick it, and never uploaded.

Settings

Preview

Choose an image to see the result.

Everything happens in your browser. Your image is never uploaded or stored. The saved file carries no EXIF data from the original — no capture date, GPS location or camera details.

How to use

Give it a target size such as "under 2MB" and it finds the best quality that fits. It does not estimate — it actually saves the picture at different quality settings and measures the real bytes. Everything runs in your browser; nothing is uploaded.

When to use it

  • Application or government sites that cap attachments at a fixed size.
  • Trimming photos to fit an email attachment limit.
  • Getting under an upload limit that keeps rejecting your file.

How to use it

  1. Choose a photo. Up to 30MB and 12,000px per side.
  2. Type the target size in MB. Anything from 1KB to 100MB, decimals included (e.g. 0.5).
  3. Optionally set a maximum long edge in pixels for when quality alone is not enough.
  4. Pick JPG or WebP and press Download.

Good to know

  • Quality is narrowed by halving, saving up to eight times, so even large photos do not keep you waiting.
  • The measuring path and the download path are the same code, so the size shown is the size you get.
  • If it cannot reach the target, it says so. When even the lowest quality (10%) overshoots, you are told the actual size and advised to limit the long edge — claiming success would just get your upload rejected.
  • PNG has no quality dial, so this approach does not apply. Choose JPG or WebP.
  • The saved file carries no EXIF from the original.

Frequently asked questions

Why ask for a size instead of a quality?

Because the limit you are given is a size — "under 5MB" — never a quality percentage. With a quality slider you cannot tell what the file will weigh, so you end up shrinking and re-uploading until it sticks.

What if my target is too small?

If even the lowest quality overshoots, the tool reports the real size instead of pretending. Add a maximum long edge — fewer pixels drop the size far more than quality alone.

I asked for 1MB and got 0.97MB.

It picks the highest quality that stays under the target, so it stops just below the line rather than crossing it. The figure shown is the file you actually receive.

The quality dropped a lot.

A small target for a big photo forces the quality down. Limiting the long edge as well usually looks much better at the same file size.

Can I process several photos at once?

One at a time. Each photo needs its own quality to land under the target, so measuring them individually is what keeps the result honest.