Skip to content

Frontend

How to Compress an Image to 100 KB (or Any Size) Without Uploading It

Get an image under 100 KB, 200 KB or 1 MB for an upload form, CMS or email. Which format to use, what quality does, when to resize, and a free browser tool that does the search for you.

"Image must be under 100 KB." Upload forms, CMS fields, job portals, email templates and store listings all set a limit like this, and the usual approach — drag a quality slider, export, check the size, repeat — wastes five minutes every time. Here is how image size actually works, and a tool that finds the right setting for you.

What decides the file size

Three things, in order of how much they matter:

  1. Pixel count. A 4000 × 3000 phone photo has twelve million pixels. Halving both sides leaves a quarter of them. If a 100 KB limit is for a 400px avatar, start by resizing.
  2. Format. For photographs, AVIF is smallest, then WebP, then JPEG. PNG is lossless and is the wrong choice for photos — often ten times larger.
  3. Quality. For lossy formats, the quality setting trades detail for bytes. Between 0.75 and 0.85 the loss is usually invisible at normal size; below 0.5 it starts to show in gradients and edges.

The image compressor takes a target in KB — presets for 50, 100, 200 and 500 KB and 1 and 2 MB — and does the guessing:

  1. It encodes at high quality. If that already fits, you get it.
  2. Otherwise it binary-searches the quality, keeping the highest value under the limit. Seven steps get within a fraction of a percent.
  3. Only if the lowest useful quality is still too big does it shrink the image, 15% at a time, and search again. Untick Allow resizing to forbid that.

It handles a batch at once, shows the quality it used and whether it resized each file, and runs entirely in the browser, so nothing is uploaded.

Choosing the format

  • WebP — the default. Every current browser shows it, and it is roughly 25–35% smaller than JPEG at the same visual quality. Keeps transparency.
  • JPEG — when the form says "JPG only". Many government, banking and job sites do.
  • AVIF — the smallest for photos, slower to encode, and not every browser can encode it yet. Worth it for a hero image you serve yourself.

If the destination does not say which formats it accepts, JPEG is the safe bet.

Rules of thumb for common limits

LimitTypical useWhat usually works
50 KBAvatar, signature, ID photo300–500px wide, WebP or JPEG
100 KBProfile photo, thumbnail, email imageup to ~800px, WebP
200 KBBlog inline image, product imageup to ~1200px, WebP
500 KB – 1 MBHero image, full-width photo1600–2400px, WebP or AVIF

When the result still looks bad

If the tool has to drop to very low quality or shrink a lot, the limit is too tight for that image. Options, best first: crop to the part that matters, use a smaller display size, switch from JPEG to WebP or AVIF, or simplify the image (a busy photo compresses far worse than a flat one).

FAQ

How do I reduce an image to 100 KB?

Open the image compressor, pick the image, press 100 KB and download. It chooses the highest quality that fits and resizes only if it must.

Is 100 KB measured as 100,000 or 102,400 bytes?

Most tools and file managers use 1 KB = 1000 bytes; some older forms mean 1024. A file under 100,000 bytes satisfies both.

Does compressing an image reduce its dimensions?

Not unless it has to. Lowering quality alone keeps the width and height. Only when even low quality cannot reach the target does the tool scale the image down, and it says so.

Can I compress a PNG to a specific size?

Not while keeping it PNG — PNG has no quality setting. Convert it to WebP (which keeps transparency) or JPEG, and it will usually be many times smaller.

Are my images uploaded?

No. They are decoded, re-encoded and zipped in your browser. You can confirm it in the network tab.