image tool
Image Compressor
Lossless PNG repack (oxipng) while keeping your file bytes for JPEG/WebP, or optional re-encode mode when you want a smaller file and accept metadata loss.
How it works
- Default **lossless optimize**: PNG is oxipng-repacked on original bytes; JPEG/WebP are returned unchanged (metadata preserved). Optional **re-encode** mode uses the quality slider for JPEG/WebP and a lossy PNG-8 path plus oxipng for PNG when you explicitly want smaller files.
FAQ
- Are my files uploaded to your servers?
- No. By default, Awesome Tools processes files entirely in your browser. Nothing is sent to our servers for conversion.
- Why did my conversion fail?
- Large files, unusual codecs, or browser memory limits can cause failures. Try a smaller file or a different browser. See the limits on this page.
- What does “lossless optimize” do?
- **PNG:** we run **oxipng** (WASM) on your original bytes—DEFLATE is re-packed without changing pixels. Ancillary chunks (ICC/EXIF text, etc.) are kept when the encoder preserves them. **JPEG / WebP:** browsers don’t ship a jpegtran-style lossless optimizer here, so we **return your original file unchanged**—metadata stays intact; file size usually won’t drop until we add a dedicated lossless codec.
- What does “re-encode for smaller files” do?
- This path **decodes to pixels and encodes again** with the quality slider. It can shrink files a lot, but it **changes compression** (not bit-identical) and **most browsers drop embedded metadata** (EXIF/ICC) on export. Use it only when you accept that tradeoff.
- Why might PNG not get smaller after lossless optimize?
- Some PNGs are already well compressed; oxipng only replaces the output when it actually saves bytes. If the WASM step fails or grows the file, we keep your original buffer.