Compress Image

Type the limit from your form in KB or MB and download a JPG that stays under it.

Files are processed on this page and are not uploaded.

Most people who need to compress image have just had an upload rejected: the form wants a photo under 50 KB or an attachment under 1 MB, and the phone made something far heavier. Call it an image compressor or a photo size reducer; the job is the same. You know the number the form accepts, and the page finds the best-looking file that stays beneath it.

This is the general version, with nothing preset. The “Maximum file size” box takes any figure in KB or MB, and a second box opens for a minimum when a form states a range. Below: how to read a limit, how the quality search works, and what each size buys.

Before and after

Before
A camera and a spare lens on a wooden table while someone types on a laptop behind them

4032 × 2599 px1.16 MBJPG

After
The same photo compressed to 98.6 KB

1993 × 1285 px98.6 KBJPG

This photo was 1.16 MB. With the limit set to 100 KB, it came out at 98.6 KB, which is 92% smaller.

To fit, the tool also scaled the picture down from 4032 × 2599 px to 1993 × 1285 px.

The image on the right is the actual file the tool above produced.

How to use it

  1. Find the size rule on the form and type the number into “Maximum file size”, choosing KB or MB with the unit chips to match the form.
  2. If the form names a lower figure too, tick “My form also has a minimum size” and enter it. Leave the tick off when only a ceiling is given.
  3. Add the picture by dropping, tapping or pasting, then press Compress. The card shows the new weight and pixel size and whether the file is under your limit or inside your range.
  4. Download the JPG and open it once at full size. If detail has gone soft and the form allows more, raise the number and run it again.

Choosing the number

Forms write one limit in several ways. “Max 100 kb”, “up to 100 KB” and “not exceeding 100 KB” are the same ceiling: type 100 with KB selected. A megabyte figure is typed as it stands with MB selected; 1 MB here is 1,024 KB, so a form that says “1000 KB” is slightly stricter and should be entered in KB as written. For “less than”, type one unit lower. A file that already weighs less than the number is left alone; the page says so and asks before re-encoding it.

Set a minimum only when the form prints one. With the tick on, the lower figure becomes a wall as well: quality goes up first, and if the top setting still leaves the file too light the picture is enlarged, up to three times its width and height. A signature or plain graphic that still falls short is reported as having too little detail; a window so narrow that one quality step jumps across it is reported too.

How the quality search and the scale-down work

A JPG has a quality setting from 1 to 100, and the file shrinks as the setting drops. Rather than guessing, the tool encodes the picture at the top of the range and at a floor below which JPG starts to look broken, then halves the gap repeatedly until it finds the highest setting that fits. Each candidate is measured after encoding, so the card’s byte count is what the form will see.

When even the floor setting is too heavy, the picture is reduced in pixels by a step and the search runs again until a result fits. The trade is deliberate: clean edges on a slightly smaller image beat blocks on a full-size one, and it never happens while quality alone can do the job. Originals above about sixteen million pixels are reduced on loading, and the page says so.

What each size buys, and why the result is a JPG

As a rough guide for an ordinary photo: 20 KB holds a signature strip or a thumbnail; 50 KB a passport-style head-and-shoulders photo; 100 KB a readable page of a scanned document; 200 KB a photo that looks right on a web page; 1 MB a picture that fills a laptop screen. Smooth subjects such as a document or a face against a wall stretch each budget further; leaves, gravel and fabric use it up faster.

The output is a JPG because it is the only common photo format whose size can be steered with a quality setting; PNG has no such dial. Pictures arrive as JPG, PNG, WebP, HEIC, AVIF, BMP, the first frame of a GIF or the first page of a TIFF, and leave as a JPG, with transparent areas filled white.

Camera metadata does not travel with the picture. The EXIF block, which can hold the time, phone model and GPS position of the shot, is dropped, saving a few kilobytes. Its orientation flag is applied first, so a photo taken with the phone held sideways comes out upright.

Frequently asked questions

Does 1KB mean 1,000 bytes or 1,024 bytes here?
1,024, the binary kilobyte a PC’s file manager reports, so 100KB is 102,400 bytes and 1MB is 1,048,576 bytes. A form that counts in round thousands allows slightly less; if a file close to the line is refused, type two or three KB lower and run it again.
Why did the pixel size change?
Because quality alone could not reach the number. The search lowers the setting only as far as the picture still looks like a picture, then takes pixels instead. The card shows the new width and height to check against any pixel rule on the form.
Can I compress a PNG, WebP or iPhone HEIC photo?
Yes. All three are read directly, as are AVIF, BMP, TIFF and GIF. The result is a JPG whatever came in, which also satisfies forms asking for JPEG, the same format under another name.
Is my camera information kept in the compressed file?
No. The EXIF data, including any GPS location, is removed. The picture itself is unaffected and comes out upright.
How close to the limit will the result be?
If the picture fits at the highest quality, the file may be well under your number, which any form with only a ceiling accepts. If quality had to be searched, it lands just beneath the limit. If pixels were given up as well, the file is kept within roughly the top 15 percent of the budget.