Skip to content
FastTool

Image Compressor

Get a JPG or WebP under 20 KB, 50 KB, 100 KB or the exact limit your form asks for, from a JPG, PNG or WebP. Set an exact pixel size, such as 600 × 600, at the same time if you need one.

ONE IMAGE

Make this image fit

Runs in your browser. Nothing is uploaded.

01

Choose an image

JPG, PNG or WebP, up to 25 MB, 80 megapixels

No image handy? Load a 1200 × 800 sample landscape. It's set up like a typical application form: 600 × 600 pixels, JPG, under 100 KB (100,000 bytes). Then choose Compress to target.

02 Set the maximum sizeYour file comes out at this size or smaller

Your limit: 100,000 bytes (100 KB).

Not sure how your form counts? Stay with KB. A file that fits 100 KB here is 100,000 bytes or less, and that also passes a form that counts 1 KB as 1,024 bytes. Choose KiB only if your form counts that way and you want the extra room: 100 KiB is 102,400 bytes.

03 Output detailsOptional

Exact pixels keeps the width and height you enter and never shrinks them to meet the KB limit. It works on one image at a time.

Balanced keeps JPG or WebP quality at 65% or higher and reduces the pixel size if it must. Preserve more pixels keeps the full size longer and lets quality drop as low as 5%, which can make text and edges blocky. The worked example shows both on the same picture.

Auto gives you a JPG from a JPG, and a WebP from a PNG or WebP. Choose JPG if the place you're uploading to takes only JPG.

CHECK & DOWNLOAD

Your result

WAITING FOR IMAGE
Your image will appear here.

You'll see the original and the compressed file together, with the real file size, dimensions and format.

Good to know: for a tight limit, the tool may also reduce the pixel size, and the result says so. Exact pixels never changes your size. If a limit can't be met, there's no download and the result tells you what to try.

MORE THAN ONE IMAGE?Compress up to 12 images and download one ZIP.One size limit for every image, 25 MB per image

Make every image fit

Choose up to 12 JPG, PNG or WebP images and one size limit. Each one comes back as a JPG or WebP at or under the limit, reopened and measured before it's offered. An image that already fits comes back unchanged, in its own format, unless you turn that off below. The ZIP holds only the images that fit.

Still images only, up to 80 megapixels each. An animated PNG or WebP is skipped with a note; the others carry on.

Maximum per image: 100,000 bytes (100 KB). The ZIP as a whole can be larger.

Leave both blank to keep each image's size unless the limit needs a smaller one. A maximum scales the whole image down to fit; it never crops or enlarges.

Balanced keeps quality at 65% or higher and reduces the pixel size sooner. Preserve more pixels lets quality drop as low as 5%.

The limit applies to each image, not to the whole ZIP. With Auto, a JPG stays a JPG and a PNG or WebP becomes a WebP, or a JPG if your browser can't save WebP. A JPG can't keep transparency, so transparent areas turn white.

Choose images to get started.

    If one image can't be compressed, you can still download the others one by one. Changing a setting clears the results; your chosen images stay ready to run again.

    WORKED EXAMPLE

    One 12-megapixel picture, five size limits

    We compressed a 4032 × 3024 JPG test picture of 4,367,446 bytes, the pixel size of a 12-megapixel phone photo, with the settings the page opens with: Balanced, Auto format, the KB unit and no maximum width or height. These are the files the tool produced in Chrome 157 on a Mac.

    LimitFile you getPixel sizeJPG quality
    500 KB485,649 bytes3135 × 235169%
    200 KB199,420 bytes1928 × 144666%
    100 KB98,708 bytes1199 × 89968%
    50 KB49,519 bytes752 × 56472%
    20 KB19,766 bytes491 × 36867%

    With Preserve more pixels, the 100 KB file kept all 4032 × 3024 pixels at 5% quality (98,728 bytes). With Exact pixels at 600 × 600, the same picture came out at 96,971 bytes and 93% quality for 100 KB, and at 19,729 bytes and 34% quality for 20 KB.

    Your numbers will differ. Busy scenes such as leaves or crowds need more bytes than a plain sky, and browsers write JPG files differently. WebKit 26, the engine Safari uses, gave 97,912 bytes at 680 × 510 for the same picture and the 100 KB limit, because its files are larger at the same quality setting. Preserve more pixels kept 1928 × 1446 there, at 11% quality.

    HOW IT WORKS

    Quality first. Pixels second.

    A size limit, not a quality slider. Type 100 KB and you get a file of 100,000 bytes or less, or a plain message that it can't be done. The tool measures the real file and reopens it before the download button turns on.

    1. 01
      Fit your maximum size

      If you set a maximum width or height, the image is scaled down to fit. It's never stretched.

    2. 02
      Find the highest quality that fits

      The tool saves the image at different JPG or WebP quality levels, measures each real file and keeps the best one at or under your limit.

    3. 03
      Reduce the pixel size only if it must

      If even the lowest quality allowed is too big, the image is made smaller step by step until it fits, and the result tells you. It stops when the shorter side reaches 64 pixels; if the file is still too big then, you get a message instead of a download.

    CHOOSE A LIMIT

    20 KB, 50 KB, 100 KB, or the number your form asks for

    These are starting points, not rules. Check the exact number on the page you're uploading to. The tool shows your limit, and every result, in bytes.

    LimitA good starting point forWhat to expect
    20 KBVery strict profile-photo or form limitsA photo usually has to get much smaller in pixels.
    50 KBSmall avatars, ID-style photos and compact uploadsDetailed photos may lose fine texture.
    100 KBApplication portals, web forms and email attachmentsClear on a screen. A large photo still loses most of its pixels.
    200 KBWeb pages and larger on-screen imagesMore room for detail and pixels.
    500 KBDetailed web imagesA web-sized picture can keep most of its pixels. A large photo still gets smaller.

    "Under 100 KB" means 100 KB or less. Encoders work in steps, so your file usually lands a little under the number, not on it exactly.

    Check the detail before you upload. After compressing one image, the 100% view shows the same area of the original and of your download at the output size. Move the sliders over small text or edges, and raise the limit if something important is lost. Batch results don't have this view.

    BEFORE YOU DOWNLOAD

    What the tool checks for you

    01

    The file is what it says

    A file named .jpg has to hold a real JPG. A renamed or damaged file is stopped with a clear message.

    02

    The real file size

    The size you see is the size of the actual file you download, not an estimate.

    03

    It opens, at the right size

    Each result is opened again to check its width, height and format before the download button turns on.

    04

    No lost animation frames

    Animated PNG and WebP files are turned away instead of quietly keeping one frame. Save a still image first.

    QUESTIONS

    Before you compress

    Quick answers to what people ask most about size limits.

    How do I get a photo under 100 KB for an application form?

    Choose the photo, pick 100 KB and choose Compress to target. A JPG comes back as a JPG of 100,000 bytes or less. If your picture is a PNG or WebP, set Format to JPG first: many forms take only JPG, and Auto would save a WebP. If the form also asks for an exact pixel size, such as 600 × 600, choose Exact pixels and a KB limit and enter the size.

    Why was my "100 KB" image still rejected?

    Compare the byte count on the result with the form's limit first. With the unit left on KB, the file is 100,000 bytes or less, which passes however the form counts a kilobyte. If you switched the unit to KiB, switch back and compress again. Then check the form's other rules: pixel size and file type are separate limits. The two units are defined in NIST's guide to decimal and binary prefixes.

    Can I compress an image to exactly 20 KB, 50 KB or 100 KB?

    You get the best file at or under that size. It usually lands a little under, for example 98,708 bytes for a 100 KB limit in the worked example, because an encoder can't produce every possible byte count.

    Why does my compressed image look blurry or blocky?

    A tight limit forces a choice between fewer pixels, which looks softer, and lower quality, which makes edges blocky. Balanced prefers fewer pixels; Preserve more pixels prefers lower quality. If neither looks right, raise the limit or crop away what you don't need. Safari's engine, which browsers on an iPhone or iPad also use, leaves fewer pixels than Chrome at the same limit. If the result looks too small there, try Preserve more pixels and compare the two in the 100% view.

    Can I set exact dimensions and a maximum file size together?

    Yes. Choose Exact pixels and a KB limit, enter the width and height, choose Crop to fill or Fit whole image, and check the frame. The size stays fixed while the tool searches for the best quality. If the limit can't be met at that size, there's no download; raise the limit or choose a smaller size. The batch uses maximum width and height only.

    Should I choose JPG or WebP?

    JPG opens everywhere and is the safe choice for forms. WebP is often smaller at the same quality and keeps transparency, but some older systems don't accept it. In Chrome 157, a 3840 × 2160 photograph at 100 KB kept 1416 × 797 pixels as a WebP and 1177 × 663 as a JPG. With Auto, a JPG stays a JPG and a PNG or WebP becomes a WebP, or a JPG if your browser can't save WebP, as in Safari.

    Can I make a PNG smaller and keep transparency?

    Leave Format on Auto or choose WebP: a WebP keeps transparent areas, in a browser that can save WebP (the Format note tells you when yours can't). In Chrome 157, a 1478 × 1012 screenshot PNG of 244,202 bytes with a transparent edge came back as a WebP of 91,710 bytes at the same pixel size, still transparent. A JPG has no transparency, so transparent areas are filled with the background color you pick. The tool doesn't write new PNG files: a PNG comes back as a PNG only when it already fits your limit and Keep the original is on.

    Does compressing remove EXIF and GPS data?

    Yes, for every file the tool compresses: the camera details and location aren't copied. If your file already fits and Keep the original is on, you get the original back unchanged, metadata included, and the result says so. Turn that option off to compress it anyway.

    Is my image uploaded?

    No. Your browser reads, compresses and measures the image on your device, and the image is never sent anywhere. The page itself loads like any other website.