Skip to content
hateitall

Compress an image to 1 MB

Many forms, job portals, and document systems reject images larger than 1 MB. This page opens the compressor with a 1 MB target already selected, then searches for the highest supported JPEG or WebP quality that fits under the measured byte limit.

The target is 1 MiB (1,048,576 bytes, commonly labelled 1 MB). The result depends on pixel dimensions and image detail, so the tool measures every candidate instead of promising that one quality percentage works for every photo.

Processed locallyIn: PNG, JPEG, WebPOut: JPEG, WebP, PNG

Loading tool…

This is Compress Image preconfigured for this task — open the full tool for every option.

How it works

  1. Select an image; it decodes locally.

  2. Choose an output format and quality, or set a target file size.

  3. Compare original and compressed versions with the wipe slider.

  4. Download — the size you saw is exactly the size you get.

What the tool does

  • Quality slider with live re-encode and exact byte counts
  • Target-size search that reports honestly when the target is unreachable
  • JPEG, WebP, and PNG output
  • Wipe-style before/after comparison at matched zoom
  • Metadata stripped by default via clean re-encode

How the result is verified

The compressed bytes are re-decoded to confirm the image parses and dimensions match, and the displayed byte size is measured from the actual output blob.

Frequently asked questions

Is 1 MB enough for a high-quality photo?

It is often enough for screen use, but there is no universal quality-to-size ratio. Pixel dimensions, noise, texture, and format all matter. Use the comparison view to inspect the measured result, and resize first if a full-resolution camera photo cannot meet the cap cleanly.

Does this work for PNG screenshots?

PNG is lossless and can't chase a byte target; the tool explains this and offers JPG or WebP output for screenshots that must fit a cap.

How do I compress an image below 1 MB?

Add the image, keep target-size mode at 1 MB, and choose JPEG or WebP. The browser tests actual encodes and keeps the highest-quality result under the cap. If no clean result fits, reduce the dimensions and run the target search again from the original image.

Understand the format

Technical guidance for choosing settings and reviewing the result.

How to compress an image to a target file size

There is no quality percentage that makes every image exactly 1 MB or 100 KB. A reliable target-size workflow measures real encodes, preserves the best result under the limit, and tells you when resizing is necessary.

8 min read · Reviewed August 2026