Tool · Images, on-device
Compress and convert images without uploading them
Drop in photos or graphics, convert between WebP, AVIF, PNG and JPEG, resize with sensible presets, and download the results one by one or as a ZIP. Every pixel is processed by your own browser — no server ever sees your files.
Settings
Detecting your browser’s encoders…
75–85 suits web photos. PNG ignores this and stays lossless.
Appended before the extension, e.g. photo-min.webp.
Drop images here, paste with Ctrl+V, or
PNG, JPEG, WebP, AVIF, GIF, BMP — whatever your browser can display, it can convert. Files stay on this device.
Files
| Preview | File | Original | Result | Saving | Status | Actions |
|---|---|---|---|---|---|---|
| No files yet. Add an image above to begin — try a big phone photo and convert it to WebP at quality 82. | ||||||
Preview
How to compress an image here
- Add images. Drop files onto the page, paste from the clipboard, or use the file picker. PNG, JPEG, WebP, AVIF, GIF and BMP inputs decode locally.
- Choose format and quality. Pick WebP for the best all-round size, AVIF for the smallest files where supported, JPEG for photos that must work everywhere, or PNG for lossless graphics.
- Resize if needed. Cap the width, scale by percentage, or use the 1200×630 social crop that matches Open Graph cards exactly.
- Convert and download. Run the batch, compare before/after sizes, then download files individually or as one ZIP.
WebP vs AVIF vs JPEG vs PNG
| Format | Typical size vs JPEG* | Transparency | Best for | Watch out |
|---|---|---|---|---|
| WebP | 25–35% smaller | Yes | Default choice for web photos and graphics | Older software outside browsers may not open it |
| AVIF | 40–55% smaller | Yes | Hero images, galleries, anywhere bytes dominate | Slow to encode; not every browser can create it |
| JPEG | baseline | No | Photos that must open literally everywhere | Artifacts around text and sharp edges |
| PNG | 3–10× larger (photos) | Yes | Screenshots, logos, diagrams, line art | Never use for photographs on the web |
*At comparable visual quality for photographic content. Your mileage varies with image content — which is exactly why the results table shows real before/after bytes for every file instead of promising a percentage.
How it works (and what “on-device” means)
Your browser already ships production-grade image codecs — the same decoders and encoders it uses to display and save images on every site. This page hands your file to createImageBitmap, draws it to a canvas at the target size, and encodes the result with canvas.toBlob. Modern browsers implement those codecs in heavily optimized native and WebAssembly code, so a 12-megapixel photo typically converts in well under a second (AVIF is the exception: expect a few seconds). Nothing is uploaded: there is no server round-trip, no queue, and no copy of your image anywhere but this tab’s memory. Two side effects to know about: re-encoding strips EXIF metadata (GPS location, camera model), and colors are normalized to sRGB — ideal for the web, wrong for print production. Making a social share image? Convert it here at 1200×630, then build its tags with the Open Graph Generator. Check a file’s integrity before sending it on with the File Hash Checker, or work out print dimensions with Image Print Size.
Questions
Are my images uploaded to a server?
No. Decoding, resizing and re-encoding all happen in this tab using your browser’s built-in image codecs. You can verify it in your browser’s network panel: adding and converting files makes no upload requests, and the tool keeps working offline after the page loads.
WebP, AVIF, JPEG or PNG — which should I choose?
WebP is the safest modern default: 25–35% smaller than JPEG at the same quality and supported everywhere modern. AVIF is smaller still (often 40–55% under JPEG) but encodes slowly and is not supported by every browser. JPEG remains the universal fallback for photos. PNG is lossless and right for screenshots, logos and anything with sharp edges or text, at much larger sizes.
Why is AVIF greyed out in my browser?
This tool uses the encoders built into your browser and detects support at load. Chrome can encode AVIF; Firefox and Safari currently cannot (they can display it). The format menu disables anything your browser cannot encode rather than failing mid-batch. Input decoding is separate: if your browser can display a format, it can convert from it.
What quality setting should I use?
For web photos, 75–85 is the sweet spot: visually indistinguishable from the original at normal viewing sizes, at a fraction of the bytes. Go to 60–70 for thumbnails and backgrounds, and stay lossless (PNG, or WebP at 100 in browsers that treat it as lossless) for UI screenshots and line art where artifacts show.
Does converting strip metadata like EXIF location?
Yes. Re-encoding through a canvas drops EXIF, GPS coordinates, camera details and embedded thumbnails, which is both a privacy win and a small size saving. It also flattens color profiles to sRGB in most browsers, which is what you want for the web but not for print workflows.
Why did my PNG get bigger after conversion?
If the source was already an optimized JPEG or WebP, converting it to PNG stores every pixel losslessly and the file grows — sometimes 5–10×. The results table shows the percentage either way, so pick the format that actually wins for that image instead of converting on autopilot.
Tools that pair with this one
Same desk, different job. All free, all in the browser.