Image Compressor — shrink JPG, PNG & WebP without uploads
Drop in photos and graphics and watch them shrink — live in your browser, with a quality slider, JPG/PNG/WebP conversion, resizing, an optional target file size and batch downloads. Nothing is uploaded: your images never leave your device.
JPG, PNG, WebP, GIF, BMP, AVIF and SVG · batch supported · read locally, never uploaded.
Converting a photo from PNG to WebP/JPEG is usually the single biggest saving.
Applies to JPEG & WebP. 80 is the sweet spot; PNG ignores quality (lossless).
Resizing down while compressing multiplies the saving. Never upscales.
Aspect ratio is always preserved.
The tool searches for the highest quality that fits under the cap — handy for upload limits.
JPEG has no transparency, so transparent pixels are flattened onto this color.
No images yet — drop some above, or use the sample image to see the compressor in action.
Ready-made settings
One click loads a proven recipe — then drop your images and compress. Every recipe can still be fine-tuned above.
Your session
Compression jobs and settings from this visit, kept only in this tab's memory. Image bytes themselves are never kept — restoring a job re-applies its settings, and you re-add the files (they never left your device, so there is nothing to restore them from).
Recent jobs
No compression jobs yet — compress an image and the job will appear here.
Pinned settings
No pinned settings yet — dial in a recipe you reuse, then use “Pin these settings”.
Your tools
Tools you have actually opened this session, plus any you pin as favorites. The lists live in this browser session only.
Recently used
No other tools opened yet this session — tools you visit will appear here.
Favorite tools
No favorites yet — pin a tool below.
All image, media & developer tools
How to use the image compressor
- Add images — drag and drop them onto the box, tap to browse, or paste from the clipboard. Batches are welcome; each file gets its own card.
- Choose a format and quality. “Keep original” preserves JPG/PNG/WebP; converting a photo to WebP or JPEG usually saves the most. Quality 80 is the sweet spot for photos.
- Optionally resize or set a target size. Max width/height shrinks oversized images as they compress (never upscales), and a target KB cap makes the tool find the highest quality that fits.
- Compress, compare, download. Use the before/after slider to check detail, then download images one by one or all at once. Re-encoding also strips EXIF metadata — including GPS tags — from your photos.
Worked example
Which format should you pick?
| Format | Compression | Transparency | Use it for |
|---|---|---|---|
| WebP | Lossy or lossless | Yes | The smallest files for the web — photos and graphics alike; supported by all modern browsers |
| JPEG | Lossy only | No | Photos when maximum compatibility matters: email, older software, marketplaces, print shops |
| PNG | Lossless only | Yes | Screenshots, logos, text and line art where every pixel must survive; expect big files for photos |
Quality, honestly: the quality number is not a percentage of anything — it steers how aggressively the encoder discards detail. The jump from 100 to 90 usually halves a photo with no visible change; 90 to 80 halves it again for most scenes; below 60, blockiness and color banding start to show in skies and skin tones. When in doubt, compress at 80 and check with the comparison slider — that is exactly what it is for.
Three ways an image gets smaller
- Re-encoding (quality): the same pixels, packed smarter. The main lever for JPEG and WebP.
- Resizing (max width/height): fewer pixels. Halving both dimensions quarters the pixel count — nothing beats it when an image is bigger than its display size.
- Converting (format): a photographic PNG re-saved as WebP commonly drops 60–90%, because PNG was storing every pixel losslessly whether it needed to or not.
Re-encoding through the canvas also writes a clean file with no EXIF metadata — camera details and GPS location tags from phone photos are removed, which protects your privacy when sharing and trims a little extra size.
What to do with a compressed image next
Most compressed images go straight into a web page, a listing, a form upload or an email. If the dimensions still are not right, the Image Resizer sets exact pixel sizes and crops; if you need the image as text — for a data URL, CSS or JSON — the Image to Base64 converter encodes it. The chain bar above carries a text report of your batch into the suite's other tools, and if another tool chains a Base64 image (a data:image/… string) into this page, it is loaded here ready to compress.
Frequently asked questions
How does image compression work?
Lossy formats like JPEG and WebP shrink a file by discarding visual detail your eyes barely notice — fine texture, subtle color differences — and encoding what remains more efficiently. Lower quality discards more, so the file gets smaller and artifacts get more visible. PNG is lossless: it keeps every pixel exactly, so re-saving a PNG only helps if you also resize it, or convert it to a lossy format.
Are my images uploaded to a server?
No. Compression happens entirely in your browser using the Canvas API: your images are decoded, re-encoded and offered back to you as downloads without ever leaving your device. Nothing is uploaded, stored or tracked, which also makes the tool instant and safe for private or unpublished images.
Which format should I choose — JPG, PNG or WebP?
For photos, WebP at quality 75–85 is usually smallest — often 25–40% smaller than the same photo as JPEG (in the worked example above, 37% smaller). JPEG is the most compatible choice and ideal for email and older software. Keep PNG for screenshots, logos and graphics with sharp edges or transparency, where lossy formats smear text and lines; a photographic PNG is usually far smaller as WebP or JPEG.
What quality setting should I use?
80 is the sweet spot for most photos: visually almost identical to the original at a fraction of the size. Use 85–90 for images that will be inspected closely or printed small, 65–75 for thumbnails and previews, and 50–60 when file size matters more than fidelity, such as bulk uploads with a strict limit.
Why did my PNG not get smaller — or even grow?
PNG compression is lossless, so re-encoding a PNG at the same dimensions produces roughly the same bytes — the data was already packed as tightly as lossless encoding allows. To shrink a PNG, either resize it (fewer pixels is the biggest win), or convert it: a photo saved as WebP or JPEG typically drops 60–90% in size, at the cost of some fine detail.
Does compressing remove metadata and EXIF data?
Yes. Re-encoding through the browser canvas writes a clean file with no EXIF block, so camera model, timestamps and — most importantly — GPS location tags embedded in phone photos are stripped. That is a privacy win and a small size win. If you need to keep metadata, keep your original file as the master copy.
Can I compress many images at once?
Yes — drop or select as many images as you like and they are all compressed with the same settings. You can download each result individually or use Download all; your browser may ask permission the first time a page downloads several files. Very large batches of huge photos can use a lot of memory, so on a phone, batches of 20–30 images are a comfortable ceiling.
Why did my animated GIF come out as a still image?
The browser canvas can only draw one frame of an animated GIF, so the compressed output is a still of the first frame. The tool warns you when a GIF is added. To shrink an animated GIF itself you need a dedicated GIF optimizer; converting the first frame to WebP or JPEG is, however, a perfectly good way to make a lightweight preview or thumbnail.
What is the target file size option?
Set a maximum size in KB — for example 200 KB for a form upload or marketplace limit — and the compressor binary-searches the quality setting, re-encoding at the highest quality whose output still fits under your cap. If even the lowest sensible quality is too big, it progressively reduces the dimensions as well and tells you what it had to do.
Related image & media tools
About this tool
The Image Compressor is one of the free utilities in the Online Utilities Suite at dev.conversiontools.online. Every tool runs entirely in your browser — your files are never uploaded, stored or tracked — so compression is instant and private, even for large photos. It uses your browser's own image decoders and Canvas encoder, the same battle-tested code paths your browser uses to display images on every page.
Privacy
This page processes everything locally in your browser: no account, no uploads, and nothing you drop here is stored or sent to a server. Session history on this page keeps only file names, sizes and settings in this tab's memory — never image data. Advertising on this site is served by Google AdSense, which may use cookies to personalize ads; you can opt out of personalized advertising in your Google ad settings.