Compress Image

Reduce image file size up to 80% without losing visible quality. Supports JPG, PNG, WebP, GIF, BMP, TIFF, SVG, HEIC, AVIF, ICO.

Select or drag & drop images

JPG, PNG, WebP, GIF, BMP, TIFF, SVG, HEIC, AVIF, ICO • Up to 50MB

Up to 80% Smaller

Re-encodes images at the optimal quality level — most photos see 60–80% reduction with no visible difference at normal viewing sizes.

100% Private — No Upload

All compression runs in your browser via the Canvas API. Images never leave your device. No server, no storage, no data collection.

Batch + ZIP Download

Upload dozens of images at once. All compressed in sequence. One click downloads them all as a single ZIP — perfect for form submissions requiring multiple documents.

Exact Target Size Mode

Need exactly 20KB or 200KB? Enter the target and our binary-search algorithm iterates quality levels until it hits within 5% — essential for government and exam portals.

Convert Format While Compressing

Switch to WebP for 25–35% better compression than JPEG at the same quality. Convert PNG to JPEG to eliminate transparency and slash file size.

Instant — No Sign-Up

No account, no watermarks, no file limits. Open the page, drop your images, download compressed results. Done in seconds.

Frequently Asked Questions

How does ToolsBear image compressor work?

Compression runs entirely in your browser using the HTML5 Canvas API. Each image is drawn onto a canvas and re-exported at a lower quality level (JPEG/WebP) or with reduced colour depth (PNG). Nothing is uploaded to any server.

What is the quality slider?

The quality slider (1–100%) controls how aggressively JPEG/WebP images are re-encoded. 80% is the recommended default — visually indistinguishable from the original for most photos while reducing file size by 50–70%.

How does Target Size mode work?

Enter a target in KB. Our binary-search algorithm starts at quality 80, checks the output size, then moves up or down until the result lands within 5% of your target. This is how we guarantee exactly 20KB, 50KB, or 200KB outputs for portal uploads.

What formats are supported?

JPG/JPEG, PNG, WebP, GIF, BMP, TIFF, SVG, HEIC, HEIF, AVIF, ICO, JFIF, APNG, SVGZ, XBM and more. Any file your browser can render as an image will work.

Can I convert formats while compressing?

Yes — select JPEG, PNG, or WebP in the Output Format selector before compressing. WebP is strongly recommended for web use: same visual quality as JPEG but 25–35% smaller.

Which format is smallest — JPEG, PNG, or WebP?

For photos: WebP < JPEG < PNG. WebP is the modern winner. For graphics with flat colours or transparency: PNG or WebP. For compatibility with older systems: JPEG. Use our format selector to test all three.

Can I compress multiple images at once?

Yes — drag and drop as many files as you need. They are compressed one by one and all results appear in the download panel. Click "Download All as ZIP" to get everything in one archive.

Are my images safe and private?

Completely. No data is transmitted. All processing uses your device's CPU and memory via the browser Canvas API. Close the tab and all data is gone — nothing persists on any server.

Format Comparison — Which to Choose?

FormatBest ForTransparencyTypical Size
JPEGPhotos, ID scans, formsNoSmallest for photos
PNGLogos, screenshots, graphicsYesMedium
WebPWeb images, thumbnailsYes25–35% smaller than JPEG
GIFAnimations, simple graphicsYes (1-bit)Large for photos

Compress Image to a Specific Size

Need to hit a portal's exact limit? Choose your target: