The marketing bible for getting noticed.

Design, images & QRFree, no sign-up

Image Compressor: Shrink JPG, PNG and WebP to an Exact Size

Shrink your photos and graphics without uploading them anywhere, even down to an exact size in KB. Built for websites, online stores and those upload forms that reject anything over 1 MB.

or click to choose them. WebP, PNG, JPG and AVIF, several at once. You can also paste them with Ctrl+V.

Total savings

0%

 

Your images never leave your device: they’re compressed right here, in your browser. No uploads, no sign-up.

Format

    How it works: your browser opens each image and saves it again at the quality you pick. With a max file size, it finds the highest quality that fits in those KB on its own and, if even the lowest won’t fit, it reduces the width. PNG files get lighter by trimming their color palette and stay PNG, transparency included. If an image doesn’t get any smaller, we keep the original. Recompressing strips EXIF data, such as GPS location. Nothing goes to any server.

    An image compressor shouldn’t make you upload your photos to someone else’s server or guess at quality settings. Here you drop your JPG, PNG or WebP files, pick a quality or a max size in KB, and the tool does the rest in your browser. If an image was already optimized and won’t shrink, you get the original back.

    How to compress an image, step by step

    1. Drop your images

      One or a whole batch, in JPG, PNG, WebP or AVIF. By default, each one keeps its format.

    2. Pick a quality or a max size

      With quality, you’re in control: 75 is a solid starting point for photos. With max size, you type the KB and the tool finds the best quality that fits.

    3. Cap the width if needed

      It’s the lever that saves the most. If the photo goes on a site that displays it at 1,200 px, don’t leave it at 4,000.

    4. Download

      One by one or all in a row, with the before size, the after size and the percentage saved.

    Compress JPEG, PNG and WebP: what happens to each

    • Compress JPEG and WebP: the photo is saved again at the quality you choose. With a max size, it tries several quality levels and keeps the highest that fits; if even the lowest won’t fit, it shrinks the width.
    • Compress PNG: PNG has no quality setting, so it gets lighter by trimming its palette to 256 colors or fewer, the same trick the best-known PNG compressors use. It stays a PNG and keeps its transparency. If the image already has fewer colors, nothing is lost.
    • If it won’t shrink: you keep the original, no surprises.

    Everything happens on your device, and recompressing strips EXIF data such as the GPS location in phone photos.

    How much you save: our test with real photos

    We ran it in Chrome in October 2026, at quality 75 and 256 colors for PNG:

    ImageBeforeAfterSaved
    JPG photo, 2,000 × 1,116 px262 KB96 KB63%
    Already optimized JPG photo197 KB180 KB8%
    WebP photo, 1,672 × 941 px164 KB80 KB51%
    PNG screenshot147 KB45 KB69%
    Transparent PNG logo38 KB20 KB47%

    With a 100 KB max size, the two JPG photos landed at 96 and 99 KB. And the first one, capped at 1,200 px wide, dropped to 40 KB, 85% smaller. That’s the big lesson: if you want to reduce image size for real, dimensions matter more than quality.

    Reduce image size in KB: how to hit 20, 50, 100 or 200 KB

    Forms love a hard cap: “under 100 KB”, “max 200 KB”. Type the number in Max file size (KB) and the tool hunts for the quality. What changes is how much it has to give up. With our 2,000 × 1,116 px photo, the pattern looked like this:

    • 200 KB: usually easy. At quality 75 the photo already dropped from 262 to 96 KB, so there’s room for more quality.
    • 100 KB: both JPG photos in the test landed at 96 and 99 KB with their dimensions untouched.
    • 50 KB: you choose between crushing the quality and shrinking the image, and shrinking usually looks better. At 1,200 px wide and quality 75, the same photo already weighed 40 KB. The notice “scaled down to fit 50 KB” means the dimensions were reduced.
    • 20 KB: thumbnail territory. Cap the width yourself before you start.

    The max size only works with JPG and WebP. If your PNG doesn’t need transparency, run it through the PNG to JPG converter first.

    Compress photo files for your site, email or upload forms

    • Your website or store: lighter images load faster on phones, and Google measures that in Core Web Vitals. Building yours? See how to build a website with AI.
    • Forms with a limit: “max 1 MB”, “under 200 KB”. Type the number and you’re done; that’s how you compress image to 100kb or any other size without trial and error.
    • Email and messaging: several light photos fit in one email without bouncing.

    If you’re wondering how to reduce image file size without visible quality loss, the rule is simple: quality 80 for photos, 256 colors for graphics, and the width set to the size people will actually see.

    Compress image for website: how small is small enough?

    There’s no magic number, but there are two public yardsticks. Lighthouse recompresses every JPEG at quality 85 and flags images that would save 4 KiB or more, according to Chrome’s documentation. That’s where the rule of thumb comes from: quality between 75 and 85, never 100. The other yardstick is LCP, the time to paint the biggest thing on screen. web.dev calls it good at 2.5 seconds or less, measured at the 75th percentile of visits.

    Say a hero image weighs 2.4 MB and reaches a phone on 10 Mbps. Downloading it alone takes about 1.9 seconds, since 2.4 MB is 19.2 megabits. At 150 KB, it takes 0.12 seconds. That’s our own math, ignoring latency and the rest of the page, but the hero already eats over three quarters of your budget. Run it through here at quality 80 and the real display width, then measure again.

    Frequently asked questions about compressing images

    How do I compress an image without losing quality?

    It depends on the format. A PNG can be compressed with zero loss if it has few colors, and at 256 colors the difference is invisible on logos and screenshots. JPG and WebP photos always lose something, but at quality 75 to 85 your eye won’t notice and the file often drops by more than half. Zoom in and compare before you download.

    How do I compress an image to 100 KB?

    Type 100 in the Max file size (KB) field. The tool tries several quality levels and keeps the highest one that fits. If even the lowest quality won’t fit, it gradually reduces the width until it does. It works with JPG and WebP; PNG files get lighter through the colors setting or the width.

    How do I reduce image file size?

    There are two levers, and you should pull both. The first is quality: going from 100 to 80 is barely visible and cuts a lot of weight. The second is dimensions: a 4,000 px photo shown at 1,200 px is carrying three times the pixels for nothing. In our test, capping the width at 1,200 px took a 262 KB photo down to 40 KB.

    Why won’t my image get any smaller?

    Because it was already well optimized, or it was saved at a lower quality than the one you picked. Recompressing a tight JPG only shaves a few KB and can even make it bigger. When that happens, the tool keeps your original file and tells you so. If you still need it lighter, reduce the width or convert it to WebP.

    Is it safe to compress photos online?

    With this tool, yes, because nothing actually goes online: compression happens in your browser and the photo never leaves your device. Recompressing also strips EXIF data, like GPS location or your phone model. You can check it yourself: load the page, turn off Wi-Fi and it keeps working.