Skip to content

Compress Image to KB

Compress images to 20KB, 50KB or 100KB

Preparing the tool…

Drop images here or click to browse

JPG, PNG, WebP, AVIF, HEIC, HEIF · up to 20 files, 25 MB each · processed in your browser, nothing is uploaded

Target size (KB)

KB

1 KB = 1,000 bytes. The result stays under your limit.

Dimensions

Dimensions may shrink if the target needs smaller pixels.

Output format

JPG and WebP are lossy: quality is reduced to fit your limit, and transparency is flattened onto white. In Keep-proportions mode pixels may also shrink; Exact dimensions are always kept — an impossible budget fails instead. Check the result's detail before downloading.

    How to compress an image to KB

    1. Add your images

      Drop up to 20 files onto the page, or click to browse — JPG, PNG, WebP, AVIF or HEIC, up to 25 MB each.

    2. Set the KB budget and pixel dimensions

      Enter your size cap in KB, and optionally fix the output width and height — the tool center-crops to fit, or pads with white instead.

    3. Compare and download

      Each row shows the real output size and pixel dimensions before you download — save files individually or the whole batch as a ZIP.

    Frequently asked questions

    How do I compress an image to 100KB?

    Open the tool, drop in your image, type 100 in the KB field and run it. The compressor picks a quality level for your selected JPG or WebP output that stays at or under 100KB — and if Keep proportions is on and quality alone is not enough, the pixels are shrunk as well. The real output size is shown before you download.

    What is the difference between KB and image dimensions?

    KB measures file size — how many bytes the file takes up, using decimal kilobytes of 1,000 bytes. Dimensions measure pixels — the width and height of the picture. A form can ask for either: "under 100KB" is a file-size rule, "600×600 pixels" is a shape rule, and this tool lets you set both.

    What does the exact pixel option do?

    It locks the output to the width and height you enter. If the picture has a different aspect ratio, the tool center-crops to fit. You can choose white padding instead, which fills the leftover space with white and keeps the whole picture visible.

    What if my exact pixel and KB targets are impossible together?

    The tool tells you it cannot reach the target rather than silently shrinking the pixels you asked for. An exact pixel requirement is a hard lock — quality is lowered as far as reasonable, and if the file still will not fit under the cap, you get a clear error.

    What happens to transparency?

    The output is JPG or WebP on a white background. Transparent areas of a PNG are flattened onto white, so the saved image is opaque.

    Are my images uploaded anywhere?

    No. Compression runs entirely in your browser — files are read locally, processed in memory and saved straight to your device. Nothing is sent to a server.

    Which formats and sizes are supported?

    You can add JPG, PNG, WebP, AVIF and HEIC/HEIF files up to 25 MB each, up to 20 files at a time. HEIC and AVIF decoding depends on your browser, so those inputs may not open in every browser.

    Meet image upload limits

    Here is what each format is for, and when converting images to a KB cap is the right move.

    What is Original image?

    Whatever the camera or export produced — often several megabytes, more than upload forms, email limits or page-speed budgets accept.

    What is Compressed image?

    A JPG or WebP rebuilt to fit your cap — with the exact pixel dimensions you set, if you set them. Size and pixels are checked before download, so what the preview shows is what the form receives.

    When you need it

    Use it when an application, portal or government form rejects a photo for being over 20KB, 50KB, 100KB or 200KB, or asks for fixed pixel dimensions. Check the preview and per-file figures before downloading — the numbers shown are what you submit. An exact pixel request that cannot fit the KB cap is reported as an error, not quietly shrunk.

    Your file tools, one click away

    Install ToolMink to open it from your desktop or home screen.