Free tool

Compress an image to a file size

Make a photo or a scan small enough for an upload limit, such as 100 KB or 200 KB. The width and height stay the same.

Many upload forms set a limit on the file size, such as forms for a visa, a job, an exam or a bank account. A photo from a phone is often 2 to 5 MB, and a form can refuse anything over 200 KB. Websites that compress images receive each image to do the work, and the images for these forms are often an ID, a passport photo or a signed document. This tool compresses the images in your browser, so they do not leave your device.

The tool changes only the quality

A JPEG or WebP file gets smaller when it keeps less fine detail. This is the quality setting, from 0 to 100. The tool finds the highest quality whose file is under the limit. The size in pixels stays the same.

Below a quality of about 50, the image starts to show blocks and smears, and small text in a scan becomes hard to read. The result then says so. A large photo in pixels needs a low quality to fit a small limit. In that case, make the image smaller in pixels first with the resize and crop tool, then compress it.

Which limit and format to choose

ChooseWhen
The limit of the formThe form says the limit, such as "maximum 200 KB". Choose that limit or the next one below it.
JPEGForms, email and most websites. Every device opens it. A transparent area becomes white.
WebPYour own website. At the same file size, it keeps more detail than JPEG. Some forms and older apps do not accept it.

For a scan of a document, choose the largest limit that the form accepts, because small text needs detail. If the scan has parts that the form does not need, crop them away first. A smaller area gives a better quality at the same file size.

Each copy has no metadata

The tool draws each image again and saves a new file. The copies have no location, date or device details, and the originals do not change. To see what a photo contains before you send it, use the photo metadata viewer.

Your images stay on your device

  • The tool runs in this page. It does not send the images or the copies to any server, including ours.
  • It keeps nothing. When you close or reload the page, the copies are gone.
  • You can check this. Load the page, turn on Airplane Mode, then compress an image. It works the same way.
  • This website counts visits with PostHog, without cookies. PostHog does not record the images or what you do in the tool. The privacy policy has the details.

Questions

How do I compress a photo to 100 KB?

Select 100 KB, then choose the photo. The tool saves the copy with the highest quality that is under 100 KB. Download it with its button.

Does the tool change the size in pixels?

No. It changes only the quality. If the quality must be very low to fit the limit, make the image smaller in pixels first with the resize and crop tool.

Can I compress a PNG screenshot?

Yes. The tool saves it as a JPEG or a WebP, which is much smaller than a PNG. A PNG has no quality setting, so it cannot meet a size limit in the same way.

Does this tool upload my images?

No. The tool compresses the images in your browser, and they do not leave your device.