Image Compression

Compress image files with format, quality, and size controls

Back to tools

Privacy: Canvas processing runs in this browser. Your selected files are not uploaded for this operation.

Compression Settings

Quality Compression (80%)
10%80%100%

Higher values mean better quality but larger files

Compression Tips

  • - Quality compression: Adjust image quality, higher values mean better quality
  • - Size compression: Limit maximum image dimensions while maintaining aspect ratio
  • - File size compression: Specify target file size, automatically adjust parameters
  • - Preset levels: Use preset compression parameters, suitable for quick processing
  • - Format selection: JPEG for photos, PNG for transparency, WebP or AVIF for smaller modern web files

No results yet

Recent Tasks

No history recorded yet

How this tool works

About Image Compression

Use Image Compression when an e-commerce platform, CMS, visa portal, or messaging app enforces strict file-size caps and you want instant size reduction without opening heavy desktop editors. Everything processes inside your browser tab via HTML5 Canvas—supporting up to 15 images per batch (10 MB max per file) across JPEG, PNG, WebP, GIF, and BMP inputs, complete with individual before/after savings and batch ZIP archive export.

Best use cases

  • Shrink 5–8 MB smartphone JPGs cleanly below 500 KB or 200 KB for government/visa upload forms
  • Downscale oversized 2x Retina desktop screenshots for Notion, Jira, GitHub, and Slack previews
  • Batch optimize product galleries and thumbnails before publishing to Shopify or WordPress
  • Standardize mixed BMP/PNG camera exports into lean JPEG/WebP assets ready for newsletters
  • Compress high-resolution portfolio previews locally without exposing unreleased assets to remote APIs
  • Compare byte savings across batch images before downloading individual files or a single ZIP

Outputs and limits

  • Individual compressed images with exact original vs. output byte deltas.
  • One-click ZIP archive bundling every compressed file plus a compression report JSON.
  • Dimension preservation under quality/preset modes or proportional downscaling under dimension limits.
  • Browser-safe files ready immediately for CMS media libraries, email, and upload portals.

Steps

  1. Drop or select up to 15 JPG, PNG, WebP, GIF, or BMP images (each up to 10 MB).
  2. Pick a compression mode: Quality slider, Max Dimensions, Preset profile, or Target Size (KB).
  3. Confirm output format (JPEG/WebP shrink photos drastically; PNG keeps lossless transparency) and run compression.
  4. Review byte reduction percentages and open a downloaded file at 100% view to confirm faces and small text look sharp.

Choosing between Quality, Dimensions, and Target Size modes

Lowering JPG/WebP quality removes high-frequency chroma detail gracefully down to roughly quality 70–80 before visible block artifacts emerge. Meanwhile, resizing pixel dimensions shrinks total pixel count quadratically—scaling a 4000×3000 photo down to 1600×1200 drops 84% of raw pixels before compression even encodes. If a form demands a hard 200 KB or 500 KB maximum, enable target-size mode alongside generous dimension scaling so the compressor keeps pixels legible instead of turning text into illegible smudge.

Codec reality across JPG, WebP, PNG, and Canvas EXIF stripping

Browser Canvas produces lossy bitrate savings reliably on JPEG and WebP outputs, whereas PNG output remains strictly lossless—making PNG outputs poor targets when shrinking photography. Remember too that Canvas re-encoding strips embedded GPS coordinates and EXIF timestamps by default while discarding transparency whenever outputting JPEG.

How to judge the compressed image

The size comparison reports bytes saved, not visual quality. Open the exported file at the size where it will be used and check text, fine edges, gradients, and transparency before replacing the original.

  • A target-size setting is a goal, not a guarantee; detailed images may need more bytes to remain clear.
  • If you also need a different format, use Image Format Conversion and verify that transparency is preserved.

Related tools

Common questions

Can I compress multiple images at once and save a ZIP?▾
Yes. Queue up to 15 images (10 MB per file max) and click Download All once processed to download a single ZIP containing all compressed outputs and a summary report.
How does Target File Size mode reach an exact KB limit like 200 KB or 500 KB?▾
It iteratively adjusts lossy encoding quality—and proportionally downscales image dimensions if permitted by your settings—until the encoded output fits under your target KB budget.
Why did compressing a PNG screenshot barely reduce its byte size?▾
Canvas exports PNG losslessly, so lossy quality sliders do not discard detail when output stays PNG. Set smaller Max Width/Height limits, or switch output format to WebP or JPEG (if no transparency is needed).
Will compression strip EXIF GPS location tags from mobile photos?▾
Yes. Canvas re-encoding builds a fresh raster stream without copying camera EXIF location or serial metadata, protecting privacy when sharing files online.
Why can an already tiny or heavily optimized photo fail to shrink further?▾
Images previously crushed by social apps carry almost zero redundant pixel data left; re-encoding them at higher quality (e.g. 85–90) can yield zero savings or slightly more bytes.
Should I compress or convert format first if both are needed?▾
If transparency must change (PNG to JPG) or a portal only accepts WebP/JPG, pick the target output format directly or convert first, then dial in compression quality once.