You Might Also Like
Image Compressor Online — Compress PNG like TinyPNG, JPEG, WebP Free
About this tool
What is this Image Compressor — and how does it compare to TinyPNG?
This tool compresses PNG files using the same technique as TinyPNG — palette quantization — entirely in your browser, with no upload required. TinyPNG charges for high-volume use, limits file sizes, and requires your images to be sent to their servers. This tool runs 100% client-side: your images never leave your device, there are no usage limits, and there is no file size cap.
PNG palette quantization works by reducing the color depth of a PNG from 32-bit (up to 16.7 million RGBA colors) to 8-bit (up to 256 colors). The algorithm analyzes which colors appear in the image, picks the optimal palette, and maps every pixel to the closest palette entry. Because human color perception has limits, the result looks nearly identical to the original but can be 50–80% smaller. Screenshots, UI mockups, icons, logos, and flat-color illustrations compress the most. Photos with millions of distinct colors compress less but still benefit at lower quality settings.
For JPEG and WebP, the tool uses the browser's Canvas API with a quality parameter (0–100) that directly controls encode quality. WebP is typically 25–35% smaller than JPEG and 50–70% smaller than lossless PNG at equivalent visual quality. Converting a PNG screenshot to WebP is often the single highest-impact action for web performance — but if you need to stay in PNG format (for compatibility, transparency requirements, or tooling), palette quantization is the best path.
The live split-slider before/after comparison lets you drag a divider across the preview image to see exactly what changed between the original and compressed versions. This makes it easy to find the minimum quality setting that still looks good for your specific image. Batch processing lets you upload an entire export folder and compress everything in parallel with one set of settings, then download all files at once.
Features
- PNG palette quantization — same technique as TinyPNG, 50–80% size reduction, runs 100% in-browser
- Transparency preserved — alpha channel fully supported in palette-quantized PNG output
- Live split-slider before/after comparison — drag to see original vs compressed side by side
- WebP output for 30–70% smaller files than JPEG/PNG at equivalent visual quality
- Quality slider (1–100%) — controls color palette size for PNG, encode quality for JPEG/WebP
- Resize options: Scale %, Max Width, Max Height — all maintain aspect ratio automatically
- Batch upload — drop multiple files at once, processed in parallel with shared settings
- Per-image stats: before size, after size, dimensions, reduction % color-coded badge
- Download individual images or Download All in one click — no zip, no wait
- Ctrl+V clipboard paste — paste screenshots and copied images directly
- 100% client-side — no uploads, no server, no file size limits, works offline
How to Use
Drop one or more images onto the upload zone, or click to browse files. You can also press Ctrl+V to paste a screenshot directly from your clipboard. Supported formats: PNG, JPEG, WebP, GIF, BMP. Once uploaded, each image is compressed immediately and a live before/after split-slider preview appears. Drag the handle across the preview to compare original (left) vs compressed (right) side by side.
Select your Output Format: PNG uses palette quantization (the same technique as TinyPNG) to reduce file size 50–80% — the quality slider controls max color count (2–256). WebP gives the best overall compression for photos and graphics. JPEG is ideal for photos without transparency. Original keeps the source format and applies quality/resize settings.
For PNG compression, quality 80 (around 205 colors) is the recommended starting point — it matches what TinyPNG uses by default and is visually indistinguishable from the original for most images. Lower quality means fewer colors and a smaller file. Use the split-slider to verify quality.
Use the Resize section to further reduce dimensions: Scale % shrinks all images proportionally, Max Width caps the horizontal size (useful for web images), and Max Height caps the vertical size. All settings reprocess images in real time. Click the download arrow on any file row, or use Download All to save everything at once.
Common Use Cases
Frequently Asked Questions
It uses the same technique — PNG palette quantization reduces colors from 32-bit (16M colors) to 8-bit (≤256 colors), achieving 50–80% size reduction. The key difference: this runs 100% in your browser. No upload, no server, no limits.
Quality 80 is the recommended starting point — it gives ~205 colors and matches TinyPNG's default output quality. Lower quality = fewer colors = smaller file. Use the split-slider to compare and find the minimum quality that looks acceptable.
Yes. Palette quantization fully supports the alpha channel. Logos, icons, and graphics with transparent backgrounds compress correctly and maintain transparency in the output PNG.
Typically 50–80%. A 500 KB UI screenshot often compresses to 80–150 KB at quality 80 with no visible difference. Photos compress less — for photos, WebP or JPEG is more effective.
WebP is 50–70% smaller than lossless PNG and 25–35% smaller than JPEG at the same visual quality. If browser support and tooling allow it, WebP is the best choice for nearly all web images.
75–85% gives near-identical visuals at 30–50% smaller size. Use the split-slider to compare — find the lowest quality that looks good for your specific image.
No. Everything runs in your browser — PNG quantization, JPEG re-encoding, WebP conversion, and resizing. No data leaves your device. No file size limits, no usage caps, no account needed.
Yes — drop multiple files or use multi-select in the file picker. All images process in parallel with the same settings. Use Download All to save everything at once.
Yes — often more than quality reduction. A 4000px image scaled to 1920px reduces pixel count by ~77% before encoding. Use Max Width: 1920px for standard web images.
Standard PNG recompression is lossless — it achieves almost no size reduction. Palette quantization is lossy PNG compression — it discards colors that are hard for humans to distinguish, achieving 50–80% reduction while looking nearly identical.