Image Compressor
Shrink an image's file size with an adjustable quality slider and see how much you save.
Balance clarity and file size
Compare original and compressed sizes as you tune quality, then save only when the result is right.
- 1Choose an image
- 2Tune quality
- 3Compare and export
Best support: PNG, JPG and WebP. Browser-readable GIF and SVG files can be processed, but animated images export as a single frame. HEIC support depends on your browser.
About the Image Compressor
Use Image Compressor when a photo is too large for a website, attachment or upload form, but its pixel dimensions are already appropriate. It re-encodes one browser-readable image as JPG or WebP; it does not resize the picture or process a batch.
Choose Format and Quality, then compare Original, Compressed and Size change with the output preview. Quality is an encoder setting, not a promised percentage reduction or a measured percentage of detail retained. Fine text, faces, gradients and sharp edges may show artifacts at lower settings.
Fit under a target size searches for an estimated quality setting without changing width or height. Always check the resulting Compressed size before downloading: the search is approximate, not a guarantee of an exact byte count or acceptance by another website.
JPG does not support transparency, so transparent areas are filled white. WebP output can retain transparency. The source format, picture content and browser encoder determine the result; neither a lower quality number nor a format change guarantees a smaller file.
Image reading, preview encoding and download generation run on your device. Large images can exceed browser memory even when their compressed source file looks small. Keep the original and use Image Resizer first if you need fewer pixels, not just fewer bytes.
Key features
- Quality slider and 40%, 70%, 85% and 95% presets
- Estimated quality search for a target file size
- JPG or WebP output
- Original and encoded byte-size comparison, including larger outputs
- Preview before download
- Private, in-browser processing
How to use
- 1Drop or choose one image and check its source dimensions, format and file size. Browser support is strongest for PNG, JPG and WebP; animated inputs export as a single frame.
- 2Choose JPG or WebP in Format. For a transparent source, select WebP if transparency must remain; JPG fills transparent areas white.
- 3Adjust Quality or choose a 40%, 70%, 85% or 95% preset. The preview and Compressed size update automatically; there is no separate Compress button.
- 4If a portal has a limit, enter a lower value in Fit under a target size and select Find best quality. Read its status and verify the resulting Compressed size.
- 5Inspect the output preview and Size change. If the file is larger or the detail is unsuitable, keep the original, try another setting or resize the source in Image Resizer.
- 6Select Download compressed image. Open the downloaded file to confirm its appearance and actual size before submitting it elsewhere; Choose another image starts work on a replacement source.
Examples
Upload one JPEG; choose JPG in Format and compare the 85% and 70% presetsAn updated preview and measured Compressed size at the original pixel dimensionsInspect fine detail at both settings, then select Download compressed image only for the output you want to keep. Quality is not a promised percentage saving; an already optimized image may become larger.
Upload a transparent PNG and choose JPG in FormatA JPG at the original pixel dimensions with transparent areas filled whiteJPG cannot retain alpha transparency. Choose WebP if transparency must remain, and confirm the receiving application accepts that format.
Use a source larger than 200 KB; enter 180 in Fit under a target size and select Find best qualityAn estimated quality setting or a message that the requested size cannot be reached without resizingThe 180 KB target means 184,320 bytes here. Search results and the displayed size are not an exact-limit guarantee. Check the downloaded file; lower the target further or reduce dimensions in Image Resizer if needed.
Frequently asked questions
- What quality should I use?
- Start with the 70% or 85% preset, then inspect the preview and measured size for your particular image. The setting controls encoding, not a guaranteed saving. If fine text or edges degrade, raise quality or keep the original.
- Why is WebP smaller than JPG?
- WebP can encode a picture efficiently and preserve transparency, but it is not always smaller. Compare actual outputs in the browser and confirm the receiving application accepts WebP before choosing it over JPG.
- Why can the compressed file be larger than the original?
- The original may already be highly optimized, especially if it is WebP. Converting it to high-quality JPG or re-encoding it at a higher quality can increase the size. The tool highlights this result so you can lower quality, keep WebP or retain the original file.
- Why can a target size be impossible?
- Quality reduction has a practical limit. If the image is still too large at minimum quality, reduce its pixel dimensions with the Image Resizer and compress it again.
- Is my image uploaded?
- No. Compression happens locally in your browser and nothing is sent to a server.
- What is the difference between quality, pixel dimensions and file size?
- Pixel dimensions are the width and height of the picture. File size is its encoded byte count. Quality controls JPG/WebP encoding and can affect visual detail and byte size, but this compressor leaves pixel dimensions unchanged.
- Does 70% quality mean a 70% smaller file?
- No. It is an encoder setting, not a size-reduction target. The measured Compressed value and output preview are the evidence for that particular image.
- How is the target-size KB value interpreted?
- The target is multiplied by 1,024 to obtain bytes. Another website may use decimal KB, meaning 1,000 bytes. Leave room below a strict upload limit and check the downloaded file; the automatic quality search and rounded size display are estimates.
- Can I compress several pictures or keep an animation?
- This workspace processes one image at a time. Browser-readable animated images are redrawn to a single frame; it does not preserve the animation. Use an appropriate batch or animation tool for those jobs.
- Is there a fixed maximum image size?
- The workspace does not publish a fixed upload-byte quota. Browser image decoding, canvas limits and device memory determine what can be processed. Reduce dimensions first or try a smaller source if a large image cannot be opened or exported.
Helpful guides
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
- Image ToolsImage Resizer
Resize an image to exact pixels or a percentage, keeping the aspect ratio, then download it.
Open tool - Image ToolsImage Converter
Convert an image between PNG, JPG and WebP formats and download the result.
Open tool - Image ToolsImage to Base64 / Data URI
Convert an image into a Base64 data URL you can embed inline.
Open tool
