Skip to main content
PulsarKit

Compress Image

Shrink JPG, PNG, WebP, AVIF and GIF files in your browser: pick a level that keeps the resolution, or, for all but GIF, a target size in KB or MB.

Drop your files here

.jpg, .jpeg, .png, .webp, .avif, .gif · up to 100 MB

How to Compress Image

  1. 1

    Drop your images

    Add up to 100 files at once. The format is read from the file itself, so a mislabelled extension still lands in the right codec.

  2. 2

    Pick a compression level

    Max quality, Balanced or Max compression, or To a size with a target in KB or MB. Advanced mode adds a manual oxipng level for PNG once you turn it on.

  3. 3

    Download the smaller file

    See the size before and after, plus the percent saved. Several files come back as one ZIP.

The three levels, in plain terms

Max Quality encodes JPEG, WebP and AVIF at quality 85, which is visually identical to the source, with a modest size drop. Balanced drops to quality 70, the setting most photos can take without a visible change, and is the default. Max Compression goes to 55, which is noticeably softer but often halves the file again; use it for thumbnails and background images rather than hero shots. PNG has no quality slider, because it is lossless by definition, so the same three levels instead pick an oxipng effort level (2, 3 or 4) that spends more CPU time finding a smaller lossless encoding of the exact same pixels.

What the levels keep, and what To a size changes

The three levels never resize: a 3000×2000 JPEG comes back as a 3000×2000 JPEG, just lighter, and JPG, PNG, WebP and AVIF keep their format. A GIF is the exception, because the browser can read GIF but not write it: it comes back as a PNG of its first frame, and only when that is smaller. To a size works differently and does not take GIF: by default it saves a JPEG and, if quality alone cannot reach the target, scales the image down step by step; Output format can keep JPG, WebP and AVIF as they are, and turning off Allow resizing if needed under More settings keeps the pixel size. If the recompressed file would end up the same size or larger than the original, which is common with PNGs that are already tightly packed or JPEGs a phone already compressed hard, the original bytes are returned untouched and the page says so, rather than handing back a technically different but not actually smaller file.

Your file stays on your device

Decoding, recompressing and re-encoding all happen inside your browser tab using WebAssembly codecs. Nothing is uploaded, there is no server queue, and closing the tab clears everything from memory. That makes this safe for photos you would not want sitting on someone else's storage.

Frequently asked questions

What is the difference between the three levels?

They set the quality passed to the JPEG, WebP or AVIF encoder: 85, 70 or 55 out of 100. Higher keeps more detail and shrinks the file less; lower shrinks more and softens fine texture. For PNG the levels instead control how hard the lossless optimiser works, since PNG quality itself cannot be turned down.

Will my image look worse after compressing it?

At Max Quality, differences are essentially invisible. Balanced is the level most people use without noticing anything. Max Compression can show softening on close inspection, particularly on detailed textures like hair or foliage, which is why it suits smaller or less prominent images rather than a photo you are printing.

Why did my file not get any smaller?

Some images, especially ones already compressed by a phone camera or a previous tool, are close to as small as their content allows. If the recompressed version would be the same size or bigger, this tool keeps your original file exactly as it was instead of handing back a pointless "smaller" copy that is not actually smaller.

Does this remove EXIF data and GPS location?

Yes, by default. Camera make, model, timestamp and any embedded GPS coordinates are dropped automatically, which also shaves a little extra size off phone photos. Turn on "Keep metadata" if you need that information to survive. This is currently supported for JPEG input.

How many files can I compress at once?

Up to 100 files in one batch, 500 MB combined. Each file is compressed independently with the same settings, and results come back as a single ZIP. A file that fails does not stop the rest.

Does the file get uploaded to a server?

No. Every step, from reading the bytes through decoding and recompressing to encoding back, runs in your browser using WebAssembly. There is no upload and no copy kept anywhere once you close the tab.

Why does PNG shrink less than JPEG?

JPEG, WebP and AVIF are lossy: they can throw away detail the eye barely notices to save a lot of space. PNG is lossless by design, so this tool can only repack its data more efficiently, not discard information. The ceiling on how much smaller a PNG can get is lower.

Can I target an exact file size instead of a quality level?

Yes, for every format here except GIF. Pick To a size in the level switch and enter a target such as 200 KB. The tool searches for the quality and, if that is not enough, a smaller resolution that gets the file under it, and by default saves the result as a JPEG.

Guides

Related tools

Same tool, specific task