PandaFileKit

Compress image

Compress an image to a target size in KB or choose the quality you want. See the result before downloading.

JPG · PNG · WEBP · HEIC · AVIF → JPG / PNG / WEBP

Sent to server: 0 B

Requests made by this tool while processing · how to verify
Requests that could carry data
0
Engine downloads (code, models)
0
Analytics pings (no file data)
0

Counted with the browser's Performance API during the last job. It sees every request the page makes, but not what is inside them, so anything that is not a static download is counted above.

To check yourself: open DevTools → Network, clear the list, run the tool, and inspect each request. None will contain your file. You can also switch to offline after the page loads; tools whose engine is already downloaded keep working.

Drop images here

or paste, or choose files

JPG · PNG · WEBP · HEIC · AVIF → JPG / PNG / WEBP

Choose a file, then tune the compression before downloading.

Specific jobsCompress JPGCompress PNGCompress WebPCompress image to 20 KBCompress image to 50 KBCompress image to 100 KBCompress image to 200 KBCompress image to 500 KBCompress image to 1 MBCompress image to 2 MBCompress image to 10 KBCompress image to 30 KBCompress image to 150 KBCompress image to 300 KB

Compress an image for a form, email or website

Choose JPG, PNG, WebP or iPhone HEIC images, set a quality or target size in KB, then preview and download the smaller result. Exam and job portals, bank forms and visa applications often set a file size limit for photos and signatures; a phone photo can be much larger than that limit.

  • Bringing a phone photo down to a form's stated KB range for a photo or signature upload.
  • Shrinking screenshots and product photos before adding them to a website.
  • Making photos small enough to email several at once.
  • Compressing a whole folder of images in one batch.

Quality, target size and output format

The quality slider controls how much detail JPG and WebP encoding keeps; around 70–80% is visually close to the original for most photos, and lower values show blockiness in skies, skin and text first. If you enter a target size in KB, the tool searches for the highest quality that fits and, if quality alone isn't enough, reduces the pixel dimensions too. Output format can stay the same as the input or switch to JPG, PNG or WebP.

  • JPG: best for photos and for strict KB limits; every portal accepts it.
  • WebP: usually smaller than JPG at the same visible quality, but older portals may reject it.
  • PNG: lossless, so the quality slider has no effect; convert PNG photos to JPG for real savings.
  • Target size: set it slightly below the portal's maximum (for example 190 KB for a 200 KB cap) to leave headroom.
  • Batches apply the same quality or target size to every image, each processed separately.

Check size, dimensions and legibility

If the re-encoded image would be larger than your original while keeping the same format, the original is kept and the result tells you so. Camera details (EXIF, such as date taken) are kept when a JPG stays a JPG. In a batch, each image is processed on its own, so one unreadable file doesn't stop the rest.

  • Check the final KB figure against the form's minimum as well as its maximum.
  • Zoom into faces, signatures and any text; blur shows there first.
  • If a portal also asks for pixel dimensions, set those with Image Resizer first, then compress.

Compress image: questions

How do I compress a photo to a specific size in KB?

Enter the target size. The tool finds the highest quality that fits and, if that isn't enough, reduces the pixel dimensions too. Aim slightly under the limit, for example 190 KB for a 200 KB maximum.

Why doesn't the quality slider make my PNG smaller?

PNG is lossless, so there's no quality to lower. Switch the output format to JPG or WebP, which usually shrinks photos dramatically.

What quality should I use?

70–80% keeps most photos looking unchanged. Go lower only if you must meet a strict limit, and zoom into faces and text to check.

Why did I get my original file back?

When the re-encoded image isn't smaller than the original in the same format, the original is kept. Lower the quality or switch format.

Does compression remove the date and camera details?

When a JPG stays a JPG, camera details such as date taken are kept. Converting to another format doesn't carry them over.

Are my photos uploaded to compress them?

No. Compression runs in your browser, so ID photos and signatures never leave your device.