Compress Image
Shrink image file size with quality or a target size.
An image compressor is a tool that reduces a picture's file size while keeping it looking close to the original. This one compresses JPG, PNG and WebP images in your browser for faster pages and smaller uploads. Set a quality level or a target size in KB, optionally cap the dimensions, and convert to WebP for the best savings — with a live before/after for every file. Nothing is uploaded.
How to use Compress Image
Add your images
Drop in one image or a whole batch to compress them online in your browser with this free image compressor, where nothing is ever uploaded to a server.
Choose compression mode
Pick By quality to set a quality level for every image, or Target file size to name a KB ceiling the tool searches under for each photo.
Set quality or KB
Drag the quality slider for visible control, or enter a target like 100KB or 200KB and the compressor binary-searches the best quality that still fits.
Pick output format
Choose WebP for the smallest file at the same quality, or keep the original or convert to JPEG, with PNG staying lossless and ignoring quality.
Cap large dimensions
Optionally tick Also shrink large images and set a max side in pixels to cap oversized photos for a big extra saving without enlarging them.
Compress and download
Click Compress all to re-encode every image instantly, compare the before and after size, then download each file or the whole batch as a ZIP.
Frequently asked questions
How much smaller will my images get?
It depends on the source, but JPEGs and photos commonly drop 50–80% with little visible change, especially when converted to WebP. PNG screenshots with flat colour can shrink dramatically when converted to WebP too. The file list shows the exact saving for each image.
What's the difference between quality and target-size mode?
Quality mode encodes every image at the quality you set. Target-size mode instead works backwards: you give a KB ceiling and the tool binary-searches the highest quality that still lands under it — handy for strict upload limits.
Which output format should I pick?
WebP is the best default — smaller files than JPEG at the same quality, with wide browser support. Use JPEG for maximum compatibility (e.g. some older tools), or PNG only when you need lossless output (PNG ignores the quality slider).
Does compressing change the dimensions?
No, not unless you tick “Also shrink large images”. By default the pixel dimensions stay the same and only the encoding quality changes. If you want to change dimensions, use the Image Resizer tool.
How do I compress an image without losing quality?
Use quality mode and start around 75–80%, or convert to WebP, which compresses far better than JPEG at the same quality. This image compressor shrinks file size with little to no visible difference, and you can compare the before → after size for every image before downloading.
How do I compress an image to a specific KB size like 100KB or 200KB?
Switch to Target file size mode, enter your KB ceiling, and the tool binary-searches the highest quality that still lands under it — perfect for forms or uploads that cap images at 100KB, 200KB or any exact size.
Are my images uploaded to a server?
No. Compression happens locally with the Canvas API, so your images never leave your device. Nothing is uploaded, logged or stored.
How do I compress an image for a website to load faster?
Convert to WebP and set the quality around 75–80% — this cuts most photos by well over half with little visible change, so pages load faster and score better on Core Web Vitals. Tick ‘Also shrink large images’ to cap oversized dimensions too.
Can I compress a PNG without making it blurry?
Yes. PNG stays lossless, but converting a photo-style PNG to WebP or JPEG shrinks it dramatically with no visible blur. For flat graphics and screenshots, WebP keeps edges crisp while making the file far smaller than the original PNG.
Related tools — Media tools
- File Converter — Convert images, audio, video, documents and more.
- Image Resizer — Resize images by dimensions or percentage in bulk.
- Image Editor — Crop, rotate, blur, sharpen & upscale images — all in one.
- Favicon Generator — Image, emoji or text → favicon.ico + PNG set + link tags.
- Image to Base64 / Data URI — Encode images to Base64 data URIs — and decode them back.
- Background Remover — Erase an image background and get a transparent PNG.
- Photo to Coloring Page Generator — Turn any photo into a printable coloring page or pencil sketch.
- Collage Maker — 200+ Shapes — Photo collage in 200+ shapes — hearts, birthday, baby & more.
- Word Cloud Generator — Free Word Cloud Maker — Turn any text into a visual word cloud — free & instant.
- Placeholder Image Generator — Custom-size dummy images with text, colours, gradients & fonts.
- Pixel Art Editor — Draw sprites & pixel animations — layers, frames, GIF export.