SizePic
Your image never leaves your browser

Image Resizer in KB

Set a file-size limit in KB and let the tool lower quality and dimensions until the photo fits.

Compress workspaceJPG · WEBP
Drag & drop your photo or choose a file from your device
✓   No uploads✓   No account✓   No watermarks

Resize an image to a target KB size

Most resizers ask for a width and height. A file-size limit is a different problem: the upload form rejects anything above 20 KB, 50 KB, or 1 MB, and the dimensions alone do not tell you whether the file will pass. This image resizer in KB starts from the limit. Enter the number from the form, choose JPG or WebP, and the tool finds an export that fits.

Under the hood it encodes the photo, checks the byte count, and adjusts the quality. If the lowest sensible quality is still too large, it scales the dimensions down and tries again. Everything happens in your browser; the image is never uploaded. The result is a file at or under your target, not an exact byte-for-byte match.

Why so many upload forms ask for KB

Pixels describe how big an image looks; kilobytes describe how big the file is. A portal can accept a 1200-pixel photo and still reject it because the JPEG is 240 KB. That is why passport services, job portals, school systems, and older email clients often publish a KB limit instead of a pixel size.

The limits are usually chosen to keep storage and transfer costs predictable, not to make your photo look bad. A 20 KB limit is tight and will visibly soften a detailed photo. A 100 KB limit is comfortable for a web image. A 500 KB limit is generous and often preserves a large, high-quality JPEG.

Choose a target size

Pick the page that matches the number in your upload form. Each one opens with the target already filled in, and you can still change it before you press Compress.

If the form asks for “under 1 MB”, 1 MB leaves useful headroom. If it asks for “50 KB or less”, use the 50 KB page rather than guessing at a quality percentage.

Quality, dimensions, and file size

JPEG quality is the first dial the tool turns. Lower quality removes fine detail and produces a smaller file, but it also introduces blocky edges. The tool searches for the highest quality that still fits your target, so it does not drop to the minimum unless it has to.

If even the minimum quality is too large, dimensions come next. Halving the width and height removes about three quarters of the pixels, which usually cuts the file size dramatically. That is why a 20 KB result from a 12-megapixel photo is often 600 to 900 pixels wide rather than full size.

Start from the original photo when you can. Recompressing an already compressed JPEG adds artifacts and makes the next result look worse. If the export is rejected, check the form’s pixel, format, and KB requirements before compressing again.

JPG flattens transparent areas to white. Choose WebP if the image needs to keep a transparent background, but confirm the upload form accepts WebP before relying on it.

KB and MB: a quick conversion

One kilobyte is 1,024 bytes and one megabyte is 1,024 kilobytes. A 500 KB file is roughly 0.49 MB. A 1 MB limit leaves room for a 900 KB file plus the small overhead some forms add when they attach a file.

Most consumer upload forms mean 1 KB = 1,024 bytes when they say KB, but a few systems round to 1,000. Leaving a little headroom is safer than exporting at exactly the limit. The tool targets the number you enter, so choose 48 KB when the form says 50 KB if you want a margin.

More resize tools

Frequently asked questions

Can I set a custom target size?

Yes. Enter any target from 5 KB to 20 MB, choose JPG or WebP, and the tool will reduce quality and dimensions until the result fits.

Does it make the file exactly 20 KB?

It targets at or under the limit, not an exact byte count. The output is usually a little smaller, which is safer for upload forms.

Are my images uploaded?

No. Decoding, resizing, and compression happen in your browser. The image never leaves your device.

Should I choose JPG or WebP?

JPG opens in more places and is the safest choice for forms. WebP often produces a smaller file at the same visual quality, but some older apps and portals do not accept it.

Why did the pixel dimensions get smaller?

If the lowest sensible quality is still above the target, the tool reduces the dimensions. That is the only way to reach very small limits such as 20 KB without making the photo unusably blocky.