Image Compressor
Reduce image file size and choose your own quality level. JPG, PNG and WebP.
Image Compressor & Converter
Reduce image file size, resize and convert to JPEG, WebP, PNG or PDF.
Choose or drop an image
JPG, PNG, WebP, GIF or BMP, up to 20 MB. Processed entirely in your browser.
About the Image Compressor
Large images slow down websites, fill up email attachments and get rejected by upload forms with strict size limits. This tool shrinks them in your browser: choose a format, pick a quality or a target size such as 200 KB, optionally resize, and download the result. You see a before and after comparison and the exact bytes saved, so there is no guessing.
Because processing happens locally with the browser's Canvas API, your pictures are never uploaded. As a side effect, saving the image again removes hidden metadata such as GPS location and camera details, which is handy before sharing photos online. We are also upfront about the limits: compression for JPEG and WebP is lossy, PNG has no quality setting, and we warn you whenever the result is not actually smaller.
How to Use
- 1Drop an image onto the box or click Choose image (up to 20 MB).
- 2Pick an output format. JPEG or WebP gives the biggest savings for photos.
- 3Set a quality, or switch to Target file size and enter a limit such as 200 KB. Optionally reduce the dimensions.
- 4Click Compress, compare the result with the original, then download it.
Key Features
- Private: images are processed on your device and never uploaded
- JPEG, WebP, PNG and PDF output
- Target file size mode finds the best quality that fits your limit
- Resize with a locked aspect ratio and quick scale buttons
- Side by side comparison and exact savings
- Strips GPS and camera metadata, and keeps photos upright
- Free, with no sign-up and no watermark
Which Image Format Should You Use?
| Format | Best for | Compression | Transparency |
|---|---|---|---|
| JPEG | Photos, social media, email | Lossy | No |
| WebP | Websites, apps, smaller photos | Lossy (or lossless) | Yes |
| PNG | Screenshots, logos, diagrams | Lossless | Yes |
| Attaching a picture as a document | Uses JPEG inside | No |
Choosing a Quality Level
JPEG and WebP discard detail the eye is least likely to notice. The first few percent of quality you give up save a lot of space; after that you start to see the damage. Use this as a starting point, then check the comparison.
| Quality | What you will see | Use it for |
|---|---|---|
| 90 to 100% | Visually identical | Large files; only for printing or archiving |
| 70 to 85% | Very hard to distinguish | Best everyday range for photos |
| 50 to 65% | Slight softness on close inspection | Good for web thumbnails and email |
| Below 50% | Visible blocks and colour banding | Only when size matters more than looks |
Tips for Smaller Images
- Resize first. Cutting a 4000 px photo to 1600 px saves far more than lowering quality, and most screens cannot show more.
- Use the target size option for upload forms that demand a limit such as 100 KB or 500 KB.
- Keep your original. Compression is lossy, so you cannot recover detail from the compressed copy.
- Use PNG only when you need transparency or crisp text. For photos, JPEG or WebP is much smaller.
- Compare the before and after at 100% zoom on a detailed area such as hair, text or foliage.
- For websites, serve WebP with a JPEG fallback to get the best size without excluding older browsers.
Frequently Asked Questions
Are my images uploaded anywhere?
No. Your image is opened and re-encoded by your browser using the HTML Canvas API. It never leaves your device and nothing is stored. You can confirm this in your browser's network tab, or use the tool with your internet connection switched off once the page has loaded.
Which format should I choose?
Use JPEG for photographs, WebP when you want the smallest file and your audience uses modern browsers, and PNG for screenshots, logos and graphics with sharp edges or transparency. Choose PDF when you need to attach a picture as a document. Converting a photo to PNG often makes it larger, not smaller, because PNG is lossless.
What does the quality slider do?
For JPEG and WebP it controls how aggressively the picture is compressed. Lower values give smaller files with visible artefacts such as blockiness around edges. For most photos, 70 to 85% is hard to tell from the original. PNG ignores the slider because it is lossless; shrink a PNG by reducing its dimensions instead.
How does the target file size option work?
You enter a size such as 200 KB and the tool tries different quality levels until the result fits. If the lowest acceptable quality is still too large, it gradually reduces the dimensions as well. Hitting an exact size is not guaranteed for every image, and the result tells you what was achieved.
Will compression remove metadata such as location?
Yes. Because the image is redrawn on a canvas and saved again, EXIF information such as GPS location, camera model and timestamps is not copied into the result. This is a useful privacy benefit when you share photos online. The picture's rotation is applied before saving so it still displays upright.
Why did my file get bigger?
This usually happens when the original was already well compressed and you choose a higher quality, or when you convert a JPEG to PNG. We warn you when the result is larger than the original. Lower the quality, choose JPEG or WebP, or reduce the dimensions.
Does it support transparent images?
PNG and WebP keep transparency. JPEG and PDF cannot store it, so transparent areas are filled with white. If a WebP file comes out as PNG, your browser does not support WebP encoding.
What are the limits?
Images up to 20 MB and 10,000 pixels on the longest side are accepted. Very large pictures may take a few seconds and use a lot of memory on older phones. For huge images, reduce the dimensions first.
Related Free Tools
More free tools
Image Resizer & Converter
Resize dimensions, adjust quality and convert PNG, JPG or WebP images in your browser.
Open tool ImageImage Upscaler
Enlarge images with smooth resampling and light sharpening, right in your browser.
Open tool PDFPDF to Word
Convert PDF files into editable Word documents, including scans with OCR.
Open tool