Image Compressor
Upload an image, choose the quality, and download a smaller file — perfect for faster websites and emails. Compression happens locally with the browser's canvas API, so your photos never leave your device.
What each field means
Every input below changes the result in a specific way. This is what each one expects, what it starts at, and the range it accepts.
- Quality
A plain number. Enter digits only, with no symbols or separators.
Starts at: A plain number. Enter digits only, with no symbols or separators.
Accepted range: 0.1 to 1
- Output format
Choose one of the following: WebP, JPEG, PNG.
Starts at: WebP
How to read your result
The calculator reports the figures below. The headline figure answers the question in the title; the rows underneath break it down so you can see what drives it.
- Ready to compress
- This is text produced from your inputs. Copy it directly, or edit the inputs and the output will regenerate.
- Quality
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Format
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Privacy
- This is text produced from your inputs. Copy it directly, or edit the inputs and the output will regenerate.
- Quality
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Format
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
What this means
Compression shrinks the file by reducing quality and simplifying details. A photo at 80% quality often looks identical to the original but is a fraction of the size.
How we calculate it
Formula
Canvas re-encoding with adjustable quality: output = re-encode(input, quality). Lower quality → smaller file.Worked example
Compress a 2 MB photo for a website gallery.
- 1Drop or select your image.
- 2Set the quality slider.
- 3Download the compressed file.
Important assumptions
- Very low quality can create visible artifacts on text or logos.
Frequently asked questions
Is my image uploaded to a server?
No. Everything runs locally in your browser using the canvas API — your image never leaves your device.
What is the best quality setting?
Start at 80% for photos. For web use, 70–85% usually looks great while cutting size dramatically.
Guide
Image Compressor Guide: Shrink Files Without Visible Loss
Fast pages need small images. Here is how compression works and how to find the quality sweet spot.
Related tools
Image Resizer
Resize images to exact dimensions in your browser.
Image Converter
Convert images between PNG, JPG and WebP formats.
Data Storage Converter
Convert bits, bytes, KB, MB, GB, TB and PB.
QR Code Generator
Create a downloadable QR code for any URL or text, with colors and size.
UUID Generator
Generate RFC 4122 version 4 UUIDs, one or many at a time.
JSON Formatter
Format, minify and validate JSON with one click.