Dhiva Tools

Image Compressor

Shrink JPG, PNG and WEBP files with a quality slider or a target size.

100% private — files never leave your device

Drop your file here or browse

JPG, PNG or WEBP · up to 20 MB

What is image compression?

Image compression reduces the file size of a picture by storing its data more efficiently. Lossy formats like JPG and WEBP discard visual detail your eye barely notices, while PNG compression reduces the number of colors used. A well-compressed photo is often 5–20× smaller than the original with no visible difference — which means faster websites, quicker uploads and less storage used.

How to compress an image

  1. 1Drop your JPG, PNG or WEBP file into the box above, or click to browse.
  2. 2Pick a quality level (70–85% is usually invisible), or switch to Target size and enter the exact size you need.
  3. 3Click Compress image and check the before/after sizes.
  4. 4Click Download to save the compressed image.

Supported formats

Input: JPG, PNG and WEBP up to 20 MB. Output: JPG, PNG or WEBP — by default the same format you uploaded. PNG files are compressed by reducing the color palette (like the technique TinyPNG made famous), which keeps transparency intact.

Frequently asked questions

Is my image uploaded to your servers?

No. The compression runs entirely in your browser using the HTML5 canvas — your image never leaves your device. You can even disconnect from the internet after the page loads and the tool keeps working.

What quality setting should I use?

For photos, 70–85% quality is usually indistinguishable from the original while cutting the file size dramatically. Go lower (50–70%) for web thumbnails, higher (85–95%) for printing.

Why did my PNG get bigger after compression?

PNG is lossless, so an already-optimized PNG can't always be squeezed further. Try lowering the color count, or convert to WEBP or JPG for much smaller results.

Does compression remove EXIF data like GPS location?

Yes. The image is re-encoded from raw pixels, which strips all EXIF metadata — camera model, GPS location and timestamps — a nice privacy bonus.

Is there a file limit?

You can compress images up to 20 MB, one at a time, completely free and without an account.

Related tools