Image Compression
Convert and compress images to WebP, AVIF, JPEG XL, or PNG with full quality control. No upload needed.
100% in your browser — files never leave your device
Six formats, one tool — no upload required
Image compression tools that run server-side charge per image, impose file size limits, or quietly retain your uploads. This tool encodes entirely in your browser using WebAssembly builds of the same codecs used in production image pipelines.
WebP is the right default for most use cases: excellent compression, fast encoding, and universal browser support since 2020. AVIF cuts file size by another 30-50% at the cost of slower encoding — worthwhile for high-traffic pages where bandwidth savings add up. JPEG XL offers the best theoretical quality-to-size ratio but has limited native browser support as of 2026.
For lossless output — screenshots, graphics, icons — PNG and OxiPNG preserve every pixel. OxiPNG applies extra optimization passes to produce files 10-20% smaller than standard PNG with identical content. All processing happens locally; nothing is transmitted.
Frequently asked questions
Are my images uploaded to compress them?
No. Compression runs entirely in your browser using WebAssembly codecs. Your images never leave your device — no upload, no server, no account required.
Which output formats are supported?
WebP (best speed/size balance, widely supported), JPEG (universal compatibility), AVIF (40-50% smaller than JPEG, slower to encode), PNG (lossless, standard), OxiPNG (optimized lossless PNG, smaller than standard PNG), and JPEG XL (next-gen quality, limited browser support).
What is the difference between PNG and OxiPNG?
Both produce lossless PNG output. OxiPNG applies additional optimization passes (via the oxipng WebAssembly codec) to produce smaller files than the standard browser PNG encoder, at the cost of slightly longer encoding time. The pixel content is identical.
What quality setting should I use?
Each codec has a sensible default: WebP at 80, JPEG at 75, AVIF at 50, JPEG XL at 75. Lower values shrink the file further at the cost of visible artifacts. The quality slider adjusts the codec's internal quantization parameter — there is no universal "equivalent quality" across codecs.
Why is AVIF so much slower than WebP?
AVIF encoding is computationally expensive — the codec trades CPU time for file size. Expect 2-10x longer encoding time compared to WebP at equivalent visual quality. The result is typically 30-50% smaller than WebP, which is worth it for images served at scale.
Related tools
Convert HEIC to JPG
Convert HEIC photos from iPhone to universally compatible JPG
Convert WebP to PNG
Convert WebP images to PNG for universal compatibility
Convert PNG to WebP
Convert PNG to WebP for smaller file sizes
Background Remover
Remove image backgrounds instantly. Free, unlimited, full resolution.
How to use Image Compression
Use the free tool above, or check the options on your device. No subscription or account is required for the browser tool.
Image Compression in your browser
Free browser tool — no installation
- Drop an image into the file area or click to browse.
- Choose an output format and adjust Quality where available.
- Select Compress, inspect the size comparison and download the result.
Lossy formats trade detail for size. PNG may remain large; JPEG discards transparency. Very large images use substantial memory.
Processing happens on your device in the browser. Large files may exceed your device’s available memory.
Reduce image dimensions with Preview
Built-in app
- Open a copy in Preview and choose Tools > Adjust Size.
- Enable Resample image, keep proportions and reduce the pixel dimensions; save the copy and inspect its quality and size.
Reduces pixel dimensions rather than targeting an exact file size. Smaller dimensions discard detail; keep the full-resolution original.
Source: Apple: Crop, resize, or rotate an image in Preview. Checked 2026-10-31.
Resize an image with Paint
Built-in app
- Open the image in Paint and choose Resize.
- Keep proportions and enter smaller pixel dimensions or a smaller percentage, then save under a new filename and inspect the result.
Paint on Windows. Reducing dimensions loses detail and does not guarantee a particular file size.
Source: Microsoft: Paint for Windows. Checked 2026-10-31.
Reduce image dimensions with Preview
Built-in app
- Open a copy of the image in Preview and tap More > Adjust Size.
- Choose smaller size options, tap Done and inspect the saved copy.
Requires Preview on iOS 26 or later. Available controls vary by version; resizing loses detail and does not target an exact byte size.
The source documents iPhone controls; iPad layout may differ. The browser method is also available.
Source: Apple: Edit an image in Preview on iPhone. Checked 2026-10-31.
Image Compression on Android
Free browser tool — no installation
Use the tool on this page in Chrome or another current browser. These steps use the browser tool; they do not require an extra app.
- Drop an image into the file area or click to browse.
- Choose an output format and adjust Quality where available.
- Select Compress, inspect the size comparison and download the result.
Lossy formats trade detail for size. PNG may remain large; JPEG discards transparency. Very large images use substantial memory.
Processing happens on your device in the browser. Large files may exceed your device’s available memory.
For file tools, choose a document from the system file picker. Saved downloads are usually available in your browser’s Downloads menu or your file manager. If processing fails, keep the original and try a smaller file or a desktop browser.