Skip to main content

Image compressor & optimizer

Shrink JPG, PNG, and WebP images without losing visible quality - convert formats, set a target size, and batch download. Runs entirely in your browser.

  • No upload - 100% private
  • No signup
  • Batch & ZIP download
Free performance toolHow it works

Settings

WebP is smallest for the web. PNG keeps transparency (quality slider ignored).

0.8

Downscale wide images. Leave blank to keep original size.

Your images are compressed locally and never uploaded to any server.

Is a slow, heavy site costing you customers?

Oversized images are the #1 cause of poor Core Web Vitals. We build fast, modern sites with images optimized from the start.

Talk to an engineer

Quick answer: An image compressor reduces an image's file size - by lowering quality, resizing dimensions, or converting to an efficient format like WebP or AVIF - while keeping it visually sharp.

Smaller images load faster, improve Core Web Vitals, and cut bandwidth. This tool compresses entirely in your browser, so your files are never uploaded.

Image format comparison

FormatBest forTransparencyRelative size
JPEGPhotos, wide compatibilityNoBaseline
PNGLogos, screenshots, line artYesLargest (lossless)
WebPModern websites (best default)Yes~25-35% smaller than JPEG
AVIFCutting-edge web, max savingsYesSmallest, slower to encode

For most websites in 2026, WebP is the best balance of file size, quality, and browser support. AVIF saves even more but encodes slower and isn't supported everywhere.

How image size affects SEO & Core Web Vitals

Images are usually the heaviest thing on a page, so they're the biggest lever on load time.

A hero image that's 3 MB instead of 200 KB can single-handedly wreck your Largest Contentful Paint (LCP) - the Core Web Vital that measures when the main content appears.

Because Google uses Core Web Vitals as a ranking signal and slow pages drive higher bounce rates, compressing images and serving modern formats is one of the highest-impact, lowest-effort performance wins available.

Pair compression with correct dimensions (don't ship a 4000px image into a 800px slot) and lazy loading for the biggest gains.

How to compress to a target size (e.g. 100 KB)

Turn on "Compress to a target size" and enter your limit in KB. The tool searches for the highest quality setting that still lands at or under your target, so you get the best-looking image within the size budget.

If the target is very small, also set a max width to downscale the image first - reducing dimensions cuts file size faster than quality alone.

How to compress an image (step by step)

  1. Add your images - drag and drop or select up to 20 files.
  2. Choose a format - WebP for the smallest web files, or keep the original.
  3. Set quality or a target size - use the slider, or hit an exact KB limit.
  4. Download - grab each file, or all of them as a ZIP.
FAQ

Your questions, answered

Have a question about your project? Ask us on a free call, and we'll give you a straight answer.

Does compressing an image reduce its quality?
Lossy compression (JPEG, WebP, AVIF) discards some data to shrink the file, so very high compression can show artifacts. In practice, quality around 75-85% removes most of the file size with little to no visible difference. PNG is lossless - it stays pixel-perfect but compresses less.
WebP vs JPEG - which is better?
WebP usually produces files 25-35% smaller than JPEG at the same visible quality and supports transparency. It's supported by all modern browsers, making it the best default for the web. Keep JPEG only if you need maximum compatibility with very old software.
How do I compress an image to a specific size like 100KB?
Turn on 'Compress to a target size' and enter your KB target. The tool automatically adjusts the quality to land at or under that size. For large targets you can also set a max width to downscale the image first, which reduces file size further.
Are my images uploaded to a server?
No. This compressor runs entirely in your browser using the HTML Canvas API. Your images are processed locally on your device and never uploaded, so it's safe to use with private or unpublished photos.
Why does image size matter for SEO?
Large images slow down page load, which hurts Core Web Vitals (especially Largest Contentful Paint) - a Google ranking factor and a major driver of bounce rate. Compressing and serving modern formats like WebP is one of the highest-impact, lowest-effort performance wins.
Does compression reduce quality?
Lossy formats discard some data, but quality around 75-85% removes most file size with little visible difference. PNG is lossless.
WebP vs JPEG?
WebP is typically 25-35% smaller at the same quality and supports transparency - the best default for modern sites.
Compress to a specific size like 100KB?
Enable target-size mode and enter your KB limit; the tool tunes quality to fit. Set a max width for very small targets.
Are my images uploaded?
No - everything runs in your browser via Canvas. Files never leave your device.

Tell us about your project

Tell us what you're building, when you need it, and what's in the way. A senior engineer will reply within one business day with honest next steps, even if that means we're not the right fit.

  • Your project is led by a senior engineer, not a junior and not AI on its own
  • AI speeds up the build. Every change is reviewed and tested before it ships
  • Best for MVPs, SaaS products, automation, and fixing apps that keep breaking
Browse all performance tools