Image Compressor
Choose a JPEG or WebP quality and maximum width, then compare original and output file sizes.
Compress an image to a size limit: Set a byte limit, let the browser adjust quality and optionally dimensions, and download only a result that fits.
Your selected images stay in this browser. No AI model call or server upload.
Selected files: 0 · PNG, JPEG and WebP. Up to 8 MB per file and 12 million decoded pixels. Batch totals cannot exceed 40 MB. Exports are still images; animation is not retained.
Exported images do not carry the original saved prompts, EXIF or Content Credentials. Keep the original file when you need its creation records.
The image is downscaled only when it exceeds the maximum width. Lower quality may reduce size and introduce visible artifacts. An export can be larger than the original; the result reports actual bytes.
How to use this tool
- Choose a PNG, JPEG or WebP image and decide the largest width you need for its destination.
- Select JPEG or WebP, enter quality from 1 to 100 and set the maximum width in pixels. Start with quality 80, then compare lower values if needed.
- Run the compressor and compare original bytes, output bytes and file-size change. Inspect fine edges and text before downloading the result.
Frequently asked questions
How can I compress an image below 100 KB?
Lower quality or maximum width, run the compressor and check output bytes. For a decimal 100 KB target, the result must be below 100,000 bytes. Repeat until it fits and remains readable. There is no automatic target-size setting or guaranteed compression ratio.
Can I compress an image without changing its dimensions?
Yes. Set the maximum width to the original width or higher. The compressor only downsizes images that exceed that value and keeps their proportions. It never enlarges a smaller image.
Should I choose JPEG or WebP?
Compare both outputs for your image and destination. WebP can retain transparency. JPEG flattens transparent pixels onto white in this compressor. Both quality settings can discard image detail; keep the original if you need to edit again.
Why is my compressed image larger than the original?
The original may already be efficiently encoded, or the selected output format and quality may use more bytes. A positive file-size change means the output grew; a negative value means it shrank. Try lower quality or a smaller maximum width.
More image tools
Image Format Converter
Convert a PNG, JPEG or WebP image to PNG, JPEG or WebP directly in your browser.
Replace Image Transparency
Flatten a transparent image onto the background color you choose and download an opaque PNG.
Image to Favicon ICO
Create one ICO file containing 16, 32 and 48 pixel icons from an image in your browser.
Image Resizer
Resize an image to an exact width and height, then download the PNG. Your file stays in your browser.
Image SHA-256 Checksum
Calculate the SHA-256 fingerprint of an original image file locally in your browser.
Compare Image Pixels
Compare two equally sized images locally with a pixel difference map, adjustable tolerance and original-file SHA-256 fingerprints.
Check Image Dimensions
Read decoded image width, height, pixel count and aspect ratio without uploading the file.
Image Contact Sheet Maker
Combine up to twelve images into one unlabeled grid for visual review, with adjustable columns and spacing.