Photo & document essentials / 02

Compress an image.
Set your target KB.

Get a photo ready for a file-size limit. Choose your maximum, keep control of quality and dimensions, and see the actual result before downloading.

Processed on your deviceMeasured file sizesFree JPEG downloads

1 Choose your image

Still images only, up to 12,000 px per side. Output is JPEG: transparent areas become white.

No image selected.


2 Set your file-size limit

1 KB = 1,000 bytes. For example, 100 KB means at most 100,000 bytes. Use a whole number from 1 to 20,000.

We try quality up to 95%, then lower it toward this limit before resizing. Lower values can create blur and visible compression artifacts. This is an encoder setting, not a measured quality score.

Uncheck to keep the original pixels. Resizing keeps the full image and aspect ratio, with rounding to whole pixels.

From 64 to 12,000 px. Smaller originals keep their original dimensions; we never upscale. Check any required minimum width and height before submitting a document photo.

Choose an image to begin.

Check your result

Local processing
Original · fitted preview
Compressed JPEG · fitted preview

Your compressed result will appear here.

Previews fit this panel. Open the downloaded file at full size to inspect fine text and details. If the target cannot be met, we show the smallest attempt and explain how to adjust your settings.

Your image stays on your device. No files are sent to a server. Exports discard source metadata. Transparency becomes white; nothing is cropped or retouched.

Smaller files, with clear limits.

  1. Read the upload requirement

    Enter the receiving site’s maximum file size, such as 100, 200 or 500 KB. These are settings on this tool, so you can use any whole-number target in the supported range.

  2. Choose what to preserve

    Turn resizing off when a form requires the original pixel dimensions. If resizing is allowed, choose a minimum longest side and inspect the resulting width and height.

  3. Check the measured output

    The download is enabled only when its actual byte count is within your maximum. Readability matters too: inspect faces and text before using a compressed document photo.

Questions about target-size compression

Why can’t every image fit every target?

Image detail, dimensions, encoder overhead and your quality floor affect file size. We use a bounded search and report when no result fits the selected limits. Increase the target or relax those limits; we do not claim that a failed search proves every possible encoding is impossible.

Why JPEG output for PNG and WebP input?

This tool targets photo upload limits using JPEG quality controls. PNG and WebP inputs are decoded and exported as JPEG, with transparency flattened onto white. Keep the original if you need transparent pixels or lossless text and graphics.

What if my original already fits?

The tool still creates a fresh JPEG with source metadata removed. It does not pad files to reach the target. A tiny PNG or an already optimized image can produce a larger JPEG; the comparison reports this accurately.

Is KB the same as KiB?

No. Here, KB means 1,000 bytes; KiB means 1,024 bytes. The exact byte count is shown so you can compare it to a receiving site’s limit. Encoding results may differ between browsers.

Need a specific photo shape first?

Use the Passport & ID Photo Maker to crop and align your photo, then compress its downloaded JPEG here if your form also has a file-size limit. Confirm both dimensions and file size before submission.

Keep things moving

One task down. What’s next?

All tools