Skip to main content
smnify.

Image Compressor

Add up to 20 images, pick a quality, an output format and optional maximum dimensions, then compress. Each image is decoded and re-encoded by your browser, and you see the original size, the new size and the saving for every file. Nothing is uploaded.

Runs in your browser

Free, no sign-up. Decoding, resizing and re-encoding happen in your browser on a canvas. The images are not uploaded; the tool only records anonymous actions such as 'compress' or 'download', never file names or sizes.

Runs in your browser โ€ข Images are not uploaded

Drop images or click to upload

JPEG, PNG, WebP, GIF, BMP โ€ข Max 50 MB per file โ€ข Up to 20 files

Every file is scanned for security threats before processing

No images yet

Upload images above to start compressing

Target file size

KB

Set a size in KB (1 KB = 1,000 bytes) and the tool searches for the best quality that fits under it.

Security Layers

๐Ÿ”ฌMagic byte verification
๐Ÿ›ก๏ธInjection scanning
๐ŸงนCanvas re-encode
๐Ÿ“Max 50 MB
๐ŸšซSVG/exe blocking
๐Ÿ”’No upload
๐ŸงผEXIF stripping
๐Ÿ“›XSS-safe names

How to use the Image Compressor

  1. Drop images onto the upload area or click it to choose files: JPEG, PNG, WebP, GIF or BMP, up to 20 files of 50 MB each.
  2. Under Compression Settings, set Quality (default 80%), pick the Output Format (JPEG, PNG or WebP) and, if you want smaller pixel dimensions, enter a Max Dimensions width and/or height.
  3. Leave Maintain aspect ratio ticked to shrink without distorting; images are never enlarged.
  4. Press Compress All (or the compress button on a single file) and wait for each row to finish.
  5. Compare Original, Compressed and Saved for each file, then press Download on one file or Download All.

How it works

How the compression works

The browser decodes each image onto a canvas at the target size and encodes it again in the format you chose. Smaller pixel dimensions and a lower quality value both reduce the file size; resizing usually saves far more than quality alone.

Quality applies to JPEG and WebP output. PNG is lossless, so the quality slider does not change a PNG: to shrink a PNG, reduce its dimensions or switch the output to WebP or JPEG.

saved % = (original size - compressed size) / original size x 100

Choosing a format

JPEG suits photographs. WebP is usually smaller than JPEG at similar quality and supports transparency, but very old software may not open it. PNG suits screenshots, logos and anything that needs exact pixels or transparency.

Because the image is redrawn on a canvas, transparent areas become black if you save as JPEG, which has no transparency. Pick PNG or WebP to keep transparency.

What gets removed

Re-encoding keeps only pixel data. Camera EXIF data such as GPS location, device model and timestamps is not carried over, which is useful before publishing a photo but means you cannot recover it from the compressed copy.

Animated GIFs lose their animation: only the first frame is processed. SVG files are rejected on purpose because they can contain scripts.

When the result is bigger

The tool does not keep the original when the new file is larger. An already well-optimised JPEG saved at 100% quality, or a WebP converted to PNG, can grow. If Saved shows no gain, lower the quality, reduce the dimensions or keep your original.

Inputs, outputs and limits

Inputs

  • JPEG, PNG, WebP, GIF or BMP images (TIFF is accepted but depends on your browser being able to open it)
  • Quality 1-100% (default 80%)
  • Output format: JPEG, PNG or WebP
  • Optional maximum width and height in pixels, with Maintain aspect ratio on or off

Outputs

  • One compressed image per input, in the chosen format
  • Original size, compressed size and percentage saved for each file
  • Download for a single file or all files at once

Limits

  • Up to 20 files per batch and 50 MB per file.
  • Images larger than 16,384 x 16,384 pixels are rejected.
  • Quality has no effect on PNG output.
  • Animated GIFs become a single still image; SVG is not accepted.
  • Very large batches depend on your device's memory, since every image is decoded in the browser.

Processing

  • Decoding, resizing and re-encoding happen in your browser on a canvas. The images are not uploaded; the tool only records anonymous actions such as 'compress' or 'download', never file names or sizes.

Frequently asked questions

Are my images uploaded to a server?

No. Each file is read and processed by your browser and the result is offered as a download from your own device. There is no sign-up and no email is requested to download.

Why did the file get bigger?

The tool always writes the re-encoded image, even if it is larger. This happens with images that were already compressed, with quality set very high, or when converting a lossy format to PNG. Lower the quality, set a smaller max width or keep the original.

Does the quality slider work for PNG?

No. PNG output is lossless, so only a smaller width and height reduce its size. Choose WebP or JPEG if you want the quality slider to take effect.

Is EXIF location data removed?

Yes, as a side effect of re-encoding: only the pixels are kept, so GPS position, camera model and capture time are dropped from the compressed copy. Your original file is untouched.

Why is my transparent PNG black as a JPEG?

JPEG cannot store transparency, so transparent pixels are written as black. Use PNG or WebP output to keep a transparent background.

What is the best quality setting?

For photographs, 70-85% is a common balance between size and visible quality. Check the preview of the result; the best value depends on the picture, so there is no single correct number.

Common uses

Need this workflow inside your product?

We build calculators, converters and processing steps like this one directly into your web or mobile product, with your rules and branding.