ToolDash
Image Compressor

Image Compressor

Drop images to shrink them right in your browser. Auto mode picks a sensible output format for each file, and you see exactly how many bytes you saved before downloading.

  • Free, no sign-up
  • Runs in your browser — nothing is uploaded
  • Instant results, no waiting on a server

Shrink image file size. Auto keeps JPEGs as JPEG and saves everything else (PNG, GIF, BMP) as WebP for big savings. Pick a specific output format if you need one. Batch supported.

Settings

Output Format

Quality

75%

70–85% is a good balance for photos. Ignored when the output format is PNG.

Drop Images

Drop files here or click to browse

Accepts PNG, JPG, WebP, GIF, BMP. GIF and BMP are saved as WebP (or JPEG if chosen) — browsers can't write those formats, and animated GIFs keep only the first frame. Processed locally in your browser.

Results

Drop images on the left. You'll see the compressed size, format, and per-file savings appear here.

How to compress images

  1. 1Choose an Output Format. Auto (recommended) keeps JPEGs as JPEG and saves PNG, WebP, GIF and BMP files as WebP. You can also force WebP, JPEG, or Same as input.
  2. 2Set the Quality slider. The default is 75%, and 70-85% is a good balance for photos.
  3. 3Drag images onto the Drop Images area or click to browse. Add as many as you like; they're compressed one after another, so you can compress images in bulk.
  4. 4Review the Results list: each row shows the original and compressed size, the output format and the percentage saved.
  5. 5Click Save on any row, or Download All. Files are saved with a -compressed suffix.

How browser-based image compression actually works

Compressing a JPEG or WebP means re-encoding it at a lower quality setting. Lossy encoders split the image into small blocks, describe each one with frequency data and then throw away the fine detail your eye is least likely to miss. The quality value decides how much gets discarded. Between roughly 70 and 85 the savings are large and the difference is hard to spot; below that you start seeing smudged textures and blocky edges. Results also depend on content: a detailed photo has more to discard than a flat illustration, so two files at the same quality can shrink by very different amounts. For camera photos, which is what most people want a photo compressor for, re-encoding at 75-80% typically brings a straight-from-the-phone JPEG down to a fraction of its size.

PNG is a different story. It's a lossless format, and the browser's canvas encoder writes PNG without any quality setting, so re-saving a PNG as PNG gives you about the same size back. There's no slider that can change that. That's why the default Auto mode converts PNG input to WebP: WebP supports transparency like PNG does, but its lossy mode is far more compact. A large screenshot or illustration often shrinks by well over half.

If you need to keep the original format, choose Same as input. JPEG and WebP files will still shrink, but PNGs won't, and the tool shows a warning when that combination is selected. Browsers can't write GIF or BMP, so those files are saved as WebP in Auto and Same as input modes, which keeps any transparency. An animated GIF keeps only its first frame.

All of this runs locally. Each file is decoded, drawn to a canvas and re-encoded by your browser, so nothing is uploaded and you can compress private or unreleased images safely.

When developers reach for it

Speeding up page loads

Shrink images before committing them to a repo or CMS so pages ship fewer bytes and score better on Core Web Vitals.

Getting under upload limits

Reduce image size to get a photo or screenshot below the cap on a form, issue tracker or chat app without opening an image editor.

Fixing oversized PNG screenshots

Let Auto mode convert multi-megabyte PNG screenshots to WebP for docs, READMEs and blog posts.

Emailing photos

Compress pictures from your phone before attaching them to an email, where a handful of full-size shots can blow past the attachment limit.

Batch-optimizing an asset folder

Drop a whole set of images at once, check the total savings in the footer and download them all.

Frequently asked questions

Why does Auto mode change my PNG into a WebP?

+

PNG is lossless, and the browser's PNG encoder has no quality setting, so re-saving a PNG doesn't make it meaningfully smaller. Converting to WebP keeps transparency and usually cuts the size by more than half.

Can I compress PNG files and keep them as PNG?

+

You can pick Same as input, but expect little or no size reduction. Real PNG optimization needs color-palette reduction, which a dedicated image optimizer such as pngquant does and this browser-based compressor doesn't.

How do I reduce PNG file size the most?

+

Leave the format on Auto, which saves PNGs as WebP and keeps transparency. If the file has to stay a PNG, the next biggest win is resizing it to the dimensions it's actually displayed at, since fewer pixels means fewer bytes in any format.

What quality setting should I use?

+

Start at 75-80% for photos. If the result looks fine, try lower; if you see blocky edges or banding in gradients, go higher.

Why did my file get bigger?

+

If the original was already heavily compressed, re-encoding at a higher quality can add bytes. The row shows a plus percentage in that case, so just keep the original file.

Are my images uploaded?

+

No. Compression runs in your browser with the canvas API, and the files never leave your device.

Does compression remove EXIF and GPS data?

+

Yes. Re-encoding through a canvas doesn't carry metadata over, so camera details and location data are dropped from the compressed file.