1001Ferramentas
🗜️ Utilities

Image Compressor

Compress JPEG and PNG images directly in the browser using the Canvas API. Set the target quality (1–100%) and see the size reduction in real time. No files are uploaded to servers.

🖼️

Click or drag an image here

JPEG or PNG

How it works

Compression runs entirely in your browser through the Canvas API — no image is ever uploaded. The output is always JPEG, whatever you feed in: dropping the quality to 70–80% usually costs nothing you can see. A PNG therefore comes back as a JPEG, which is lossy and carries no transparency, so transparent areas are flattened onto white. Raising the slider to 100% does not make it lossless; if you need a true PNG, keep the original.

Compress images without leaving the browser

A heavy image slows a site down, blows past an email's attachment limit and eats up space for nothing. This compressor takes JPEG and PNG and always hands back a JPEG, squeezed inside the browser itself with the Canvas API — no editor to install. Since JPEG carries no transparency, any transparent area in a PNG is flattened onto white.

Set the target quality, from 1 to 100%, and watch the size drop in real time, tuning the balance between weight and sharpness until you reach the point you want. It works well for prepping photos for the web, emailing images, posting on social media or freeing up storage.

Since all the processing happens on your device, no file is sent to servers, and your privacy holds up even with personal photos. Compress and download the result in a few seconds.

Frequently asked questions

I sent in a PNG and the download came back as .jpg. Is that right?
Yes. The output is always JPEG, whatever went in: the canvas redraws the image and re-exports it as image/jpeg, and the download carries the original name plus _comprimida.jpg. The part that catches people out is transparency, which does not survive the trip to JPEG and usually turns black. For logos, icons or any artwork with a see-through background, this tool is the wrong choice. It was built for photographs.
The reduction shows a minus sign. How did the file get bigger?
That happens when the original was already well compressed. Re-encoding a JPEG that some other compressor saved at 80% can produce a larger file than the one you started with, and the percentage goes negative. It is also why dragging the slider to 100% almost always inflates the image. Pull the quality down to 60% or 70% and watch the middle box: until that number drops below the original, downloading the result buys you nothing.
I dragged a photo onto the drop zone and nothing happened.
The format is the usual culprit. The tool takes JPEG and PNG only, and any other file is discarded without a word: no error message, no stats panel. WebP, iPhone HEIC, GIF, SVG and PDF all fall into that bucket. Worth knowing too, compressing never resizes. The image keeps its original width and height and only loses quality per pixel, so if you need a thumbnail, resize it somewhere else first.

Related Tools