About Compress image
This image compressor makes the file smaller in kilobytes while keeping the image exactly the same width and height. Upload one image, set the Quality level slider anywhere from 0.2 to 0.95, and pick an Output format: keep the original format, switch to JPG for the smallest files, or switch to WebP for small files that keep transparency. The compressed file downloads automatically and a message shows the size before and after.
One rule is built in: you never get a bigger file back. If an image is already well optimized and re-encoding it would not make it smaller, the tool hands you the original, untouched, and tells you so. It is a quick way to prepare photos for a website or online store, fit an upload limit on a job portal or government form, send pictures by email, or simply free up space.
Why use it
- Never returns a larger file — if it cannot shrink the image, you get the original back unchanged.
- A quality slider gives you direct control over the size-versus-detail trade-off.
- Choose the output format: original, JPG or WebP, depending on whether you need transparency.
- Pixel dimensions stay exactly the same; only the file size changes.
- Images are processed in your browser and never uploaded to a server.
How to use
Add your image
Drag an image onto the drop area or click it to choose a file. The tool handles one image at a time.
Set the quality level
Move the Quality level slider. The default of 0.7 suits most photos; lower values give smaller files with less fine detail.
Pick an output format
Keep original format preserves the file type, JPG gives the smallest files but no transparency, and WebP gives small files and keeps transparency.
Press Compress image
The result downloads automatically under your file name with -compressed added (for example photo-compressed.webp), and the status line shows the size before and after.
Examples
Phone photo for a blog or store
A 3.5 MB JPG straight from a phone camera, compressed at quality 0.7 as WebP, can drop to a few hundred kilobytes, so the page loads faster. Exact savings depend on the photo.
Upload limit on a form
A portal accepts profile photos up to 200 KB. Start at quality 0.7 with JPG output; if the file is still too large, run it again at a lower quality.
Transparent PNG logo
Re-saving as PNG rarely helps because the quality slider does not affect PNG. Choose WebP to get a smaller file that keeps the transparent background.
An already optimized image
A picture downloaded from a website may already be heavily compressed. If the tool cannot beat its size, it returns the original file and says so, instead of degrading it for nothing.
| Output format | File size | Transparency | Best for |
|---|---|---|---|
| Keep original format | Depends on the format | Kept for PNG and WebP | When the file type must not change |
| JPG | Usually the smallest | No — transparent areas turn white | Photos, email attachments, upload forms |
| WebP | Very small | Yes | Website images, logos, graphics with transparency |
Tips
- Start at the default 0.7 and step down only if you need a smaller file, checking the result each time.
- For PNG files, choose WebP or JPG output; keeping PNG does not benefit from the quality slider.
- Only use JPG when you do not need a transparent background, because transparency becomes white.
- The tool does not resize. If an image is huge in pixels, resize it first, then compress it.
- Keep your original: low-quality compression discards detail that cannot be recovered.
Compression runs in your browser using the HTML Canvas API; your image is never uploaded to a server.
Frequently asked questions
Can the compressed file end up bigger than the original?
No. If the result would be the same size or larger, the tool downloads your original file unchanged and shows a message that the image is already optimized.
Which formats can I compress?
Any image your browser can open, such as JPG, PNG and WebP. If you upload another format and choose Keep original format, the output is saved as JPG.
Why didn't my PNG get smaller?
PNG is lossless, so the quality slider has no effect on it and re-saving rarely reduces the size. Choose WebP to keep transparency at a smaller size, or JPG if transparency does not matter.
JPG or WebP — which should I pick?
JPG is great for photos and works everywhere but has no transparency. WebP usually produces very small files, keeps transparency and is supported by all modern browsers and most platforms.
Does compression change the image dimensions?
No. Width and height stay exactly the same; only the file size changes. Use a resize tool first if you need smaller dimensions.
What quality setting should I use?
0.7 is a good balance for most images. Values from 0.8 to 0.95 keep more detail at a larger size, while values below 0.5 can show visible artifacts around edges and gradients.
Can I compress multiple images at once?
Not at the moment — the tool processes one image per run. Add the next image after the first one downloads.
How do I compress an image to under 100 KB or 200 KB?
Choose JPG or WebP, start at quality 0.7 and check the size shown after compressing. If it is still above your target, lower the quality and try again. Very large images may also need resizing first.
Are my images uploaded anywhere?
No. All processing happens locally in your browser, so the image never leaves your device.
Does it remove EXIF data such as location?
When a new file is produced, the image is redrawn in the browser and the output generally does not carry the original EXIF metadata. If the original is returned because it could not be shrunk, its metadata is unchanged.
I chose WebP but got a PNG. Why?
Some older browsers cannot save WebP and silently fall back to PNG. The tool names the file with its real extension. Update your browser or try another one if you need WebP.
Will compression reduce quality?
JPG and WebP below maximum quality discard some fine detail to save space. At moderate settings the difference is hard to see on most images, but always keep the original.
Does it work on mobile?
Yes. It works in modern mobile browsers, and you can pick photos straight from your gallery.
Last updated: