100% On-Device · Zero Uploads · Free

Free Image Compressor

Use this free online image compressor to shrink JPG, PNG, WebP, AVIF, and iPhone HEIC files directly in your browser. Transparent PNGs stay transparent, with live before/after comparison and custom max file size (KB) limits.

Quality78%Balanced
0 bytes uploaded · Metadata stripped on re-encode

How it works

How to use this free image compressor in 3 steps

Compress photos and graphics locally in seconds—no queue, no sign-up wall, and no file-size gating.

Illustrative before and after split comparison in the Free Image Compressor showing a 1200x800 sample JPEG reduced from 375 KB to 83 KB (-78%)
Illustrative sample: a 1200×800 JPEG compressed from 375 KB to 83 KB (-78%) at 78% quality, showing how the split-slider inspect view lets you verify sharpness before saving.

Drop, select, or paste your images

Drag one photo or an entire batch into the free image compressor above, pick files from your phone or computer, or press Ctrl+V to paste a screenshot straight from your clipboard.

Pick Quality, Max File Size (KB), or Max Dimensions

Keep the default Balanced 78% slider for everyday web assets, switch to Max File Size (KB) when a portal requires files under 200 KB or 500 KB, or set Max Dimensions to scale down large camera photos.

Inspect before/after and save individually or as ZIP

Open Compare on any card to drag the split divider at 1×, 2×, or 4× zoom, switch that image to a custom quality override if needed, then download single files or click Download all for an instant local ZIP.

Built for real workflows

Why use a private browser image compressor

This online image compressor keeps the instant, clutter-free speed of a dedicated utility while fixing the PNG transparency, target KB, and visual inspection gaps common in basic web tools.

Zero server uploads

This browser image compressor decodes and compresses every image inside local device memory. Private receipts, ID photos, and client designs never touch an external server.

True transparent PNG compression

Quantizes PNG color palettes locally while preserving smooth alpha channels—never converting transparent PNG logos into opaque JPEGs and never blocking small files.

Max File Size (KB) search

Need an image under 100 KB, 200 KB, or 500 KB? Set a ceiling from 10 to 51,200 KB—automated search checks maximum quality first and binary-searches quality 1–99, flagging Closest size if a tight cap still cannot be met.

Split-slider visual inspection

Inspect original vs compressed pixels side by side at up to 4× zoom, hold Original to toggle instantly, and apply a per-image quality override before saving.

Compression controls

Quality vs Max File Size (KB) vs Max Dimensions

Each control solves a different goal—choose file weight in KB, visual quality in %, or pixel dimensions in px without guesswork.

Quality slider (1–100%)

Control visual sharpness

Best for portfolios, product galleries, and general web optimization. Balanced 78% trims photo weight substantially with minimal visible detail loss, while 100% runs lossless re-compression for PNGs and maximum-quality encoding for JPEG or WebP.

Max File Size (KB)

Meet strict KB upload caps

Best for visa portals, job applications, email attachments, or CMS upload caps. Set a ceiling from 10 KB to 51,200 KB (such as 100 KB, 200 KB, or 500 KB) so the online image compressor searches for a sharp fitting output automatically.

Max Dimensions (px)

Cap pixel width & height

Best when 4000px phone or DSLR shots are wider than your layout needs. Limiting the longest side to 1920px (HD) or 1280px (Web) removes excess pixels before compression without distorting aspect ratio.

Format guide

Pick the right output format

Use this image compressor to keep JPG, PNG, and WebP formats by default (with automatic fallbacks for HEIC, BMP, or unsupported browser encoders), or batch-convert selected files into WebP, JPEG, PNG, or browser-supported AVIF in one click.

PNGTransparent logos & UI

Local palette quantization shrinks heavy PNG assets substantially while preserving crisp alpha edges. Set Quality to 100% for lossless PNG re-encoding.

WebPSmallest for websites

Modern format supporting both photography and transparency—generally producing smaller files than JPEG or PNG at comparable visual sharpness for faster Core Web Vitals.

JPEGUniversal photos

Maximum compatibility across email clients, legacy forms, and CMS uploads. Transparent inputs converted to JPEG receive a clean white matte automatically.

HEIC / AVIFiPhone & next-gen

Drop iPhone HEIC/HEIF photos straight from Apple devices without pre-converting. Export to WebP, JPEG, PNG, or native AVIF when your browser supports AVIF canvas encoding.

Capabilities & limits

What this image compressor handles—and what it does not

Clear scope up front so you know when local browser compression is the right tool and when another workflow fits better.

Built for

  • Batch local compression of JPG, PNG, WebP, AVIF, BMP, and iPhone HEIC/HEIF files with 0 uploads and 0 credits.
  • True alpha-preserving PNG palette quantization plus lossless PNG re-compression at 100% quality.
  • Max File Size (KB) binary search across 10–51,200 KB with up to 4 optional dimension-shrinking steps (down to 256 px) and Closest size feedback.
  • Instant local format conversion, pixel dimension capping, before/after zoom inspection, and deduplicated ZIP downloads.

Not built for

  • Decode limits & static images only: supports up to 100 MP total pixels and 30,000 px per side; animated GIF and animated WebP sequences are not preserved as multi-frame animations.
  • Format export notes: Keep original exports HEIC/HEIF as JPEG and BMP as PNG; when a browser lacks native canvas encoding, AVIF falls back to WebP (or JPEG if WebP encoding is also unsupported) and WebP exports as PNG.
  • No cloud storage or share links: because files never leave your device, closing the tab clears the workspace.
  • No upscaling or pixel retouching: this tool only shrinks files, converts formats, and caps dimensions—use our editor tools below to repaint objects, change text, or export layered PSDs.

FAQ

Free image compressor questions

Are my images uploaded when using this image compressor?

No. Everything runs 100% inside your browser on your own device. Zero image bytes leave your browser, no account is needed, and nothing is stored on our servers.

Does PNG compression keep transparent backgrounds?

Yes. Unlike basic tools that turn PNGs into opaque JPEGs or block small files, our browser engine uses real palette quantization to shrink transparent PNGs while keeping smooth alpha edges.

What is the difference between Max File Size (KB) and Max Dimensions?

Max File Size (KB) targets a storage weight between 10 KB and 51,200 KB (for example under 200 KB for an upload form) by searching quality levels while keeping original pixel dimensions whenever possible. Max Dimensions caps the longest side (such as 1920px or 1280px) for smaller layout pixels. In Max File Size mode, optional "Shrink dimensions if needed" scales down in up to 4 steps (down to 256 px) when low quality alone still exceeds your KB cap.

How does Max File Size (KB) mode work?

Enter a KB ceiling from 10 KB to 51,200 KB (such as 100 KB, 200 KB, or 500 KB). If format and dimensions are unchanged and your file already fits, it keeps the original ("Original kept"); otherwise the image compressor tries quality 100 first (stopping immediately if it fits) and binary-searches quality 1–99 when needed. With "Shrink dimensions if needed" enabled, it scales down up to 4 steps (floor 256 px), showing Closest size if a tight cap still cannot be met. Adjusting the slider in Compare switches that single image to custom Quality mode.

Can I compress iPhone HEIC photos and convert formats?

Yes. Drop JPG, PNG, WebP, AVIF, BMP, or iPhone HEIC/HEIF files above. Keep original preserves JPG, PNG, and WebP directly (exporting WebP as PNG if your browser lacks WebP canvas encoding, HEIC/HEIF as JPEG, BMP as PNG, and falling back from AVIF to WebP—or to JPEG if neither AVIF nor WebP encoding is supported), or convert batches to WebP, JPEG, PNG, or browser-supported AVIF.

Will compressing an already-optimized image make it larger?

No. When format and dimensions stay unchanged, the image compressor compares encoded bytes against your source file and keeps the smaller original untouched if it is already optimal.

Is EXIF and GPS camera metadata removed?

Yes—every freshly re-encoded image strips embedded EXIF and GPS metadata automatically. When keeping the original format and dimensions, if the source file is already smaller than the re-encoded output (or under your KB cap), original bytes stay untouched ("Original kept") along with existing metadata. To guarantee metadata removal, choose an output format different from your source file (for example, convert JPEG to WebP) or pick a Max Dimensions preset smaller than the image’s longest side (presets start at 800 px), and confirm the card does not show Original kept.

Is there a file count limit, watermark, or credit cost?

None. This free image compressor uses 0 credits, adds no watermark, needs no sign-up, handles up to 100 MP / 30,000 px per image, and exports multi-file batches as one local ZIP.