Compress a photo to the size the form allows.

Set a 100 KB, 200 KB or 500 KB limit, see the real before-and-after size, and download a smaller file. Your photo is processed in this tab.

No sign-up On-device processing Resize only with approval
1 Photo
JPG

Choose a photo

Drag and drop a photo, or choose one from your device. JPG, PNG or WebP up to 30 MB.

or drop it anywhere in this box ·
Choose a photo to see the result.
2 Limit
JPG
Maximum output size

The result is labelled ready only when it meets this limit.

3 Result

Waiting for a photo
Choose a photo to see the result.

How it works

A smaller file, without guessing what it will look like.

Forms often cap uploads at 100, 200 or 500 KB. This tool re-encodes the photo in your browser and shows the actual before-and-after size before you download.

  1. 1
    Choose a photo

    JPG, PNG or WebP up to 30 MB. The original stays in the preview; nothing is uploaded.

  2. 2
    Set the limit

    Pick 100, 200 or 500 KB, or enter a custom cap. If the photo is already under the limit, the original file is used unchanged.

  3. 3
    Review, then download

    If the limit can only be met by resizing, KlikTools asks first. Nothing is resized without your approval.

How the KB target is reached

A limit of 100 KB means 100 × 1024 = 102,400 bytes, not 100,000 bytes. The tool first checks the original file. If it is already under the limit, the original bytes are reused unchanged, including the original format and any metadata.

When the file is over the limit, the browser draws the image to a canvas and searches JPEG quality from 0.92 down to 0.35. The result panel shows the actual byte count before the download unlocks; the displayed number is measured from the encoded file, not estimated from the quality value.

  • Full-size quality search happens before any dimension change is proposed.
  • The result is labelled ready only when the final bytes meet the limit.
  • A lower KB target usually means a lower JPEG quality or smaller dimensions.

When a resize needs your approval

If the limit cannot be met at the original dimensions, KlikTools proposes a smaller size and explains both measurements. Nothing is resized until you choose Resize and continue. Changing the limit, the custom value or the photo discards the previous consent.

Choose Keep original dimensions if you would rather keep the current pixels and raise the limit. The consent panel remains available so you can approve the resize later. The download stays disabled while the image is over the limit.

Formats, transparency and metadata

JPG, PNG and WebP are accepted. An under-limit file is returned in its original format. A re-encoded result is always JPG: PNG and WebP transparency is flattened onto a white background because JPEG has no alpha channel.

Re-encoding through a canvas also drops camera metadata such as EXIF and GPS coordinates. If the original is already under the limit and is reused unchanged, its metadata is not rewritten; remove it before uploading if that matters for your threat model.

  • JPG → JPG, white background.
  • PNG or WebP under the limit → original file unchanged.
  • PNG or WebP over the limit → JPG with a white background.
  • EXIF orientation is applied while drawing; other metadata is not preserved in a re-encoded result.

Reading the before-and-after result

The result card compares the original and output dimensions and byte sizes, shows the output format and target, and draws a size bar. The percentage is the output size divided by the original; 100% means the original file was reused.

Before downloading, check the dimensions as well as the KB number. A file can meet a limit by shrinking a lot, which may be unacceptable for a form that also requires a minimum resolution. The tool never changes dimensions without the consent step.

Privacy and language drafts

The photo is read and re-encoded in this tab. It is not sent to KlikTools or an image service. If you switch language with a file loaded, the file and limit are stored briefly in IndexedDB for the paired page and cleared after restore; drafts expire after 30 minutes.

Object URLs are revoked when a new result replaces an old one or the editor unmounts. Closing the tab clears the working copy; the original on your device stays untouched.

What does a 200 KB limit mean?

The downloaded file must be 200 × 1024 bytes or less. The result panel shows the actual byte size before the download unlocks.

Will my photo be resized?

Only if the limit cannot be met at the current dimensions, and only after you approve it. You can choose to keep the original dimensions and raise the limit instead.

Can I compress a PNG?

Yes. If re-encoding is needed, the result is a JPG and transparent areas become white. If the PNG is already under the limit, the original file is kept.

Is the original file changed?

No. The original stays untouched on your device. The download is a new file created in this tab.

How is the KB limit calculated?

A 100 KB limit is 100 × 1024 = 102,400 bytes. The result card shows the actual encoded byte count; the download unlocks only when that number is at or below the limit.

Does compression remove EXIF or GPS metadata?

When KlikTools re-encodes an image through a canvas, camera metadata such as EXIF and GPS is not carried into the new JPG. If the original is already under the limit, its bytes are reused unchanged, so its metadata remains. Remove sensitive metadata before uploading if that matters.

Why did my transparent PNG get a white background?

JPEG has no alpha channel. Any PNG or WebP that has to be re-encoded is drawn onto a white background and saved as JPG. If the PNG is already under the limit, it is returned unchanged and keeps transparency.

Can I set exact pixel dimensions here?

This tool targets a file size, not a print size. It only changes dimensions after you approve a proposal. For exact pixels, use the ID Photo Maker's Custom size in px mode, or resize the image in a dedicated editor before compressing it.