Target file size: 20 KB

Resize Image to 20KB

Resize an image to 20KB, or compress a photo to 20 KB for a form upload. Choose a JPG, PNG, or WebP file, optionally set the width, height, and DPI, and download a file that fits under the limit. Your image never leaves your device.

Your image

Choose an image to resize

JPG, PNG, or WebP. The file stays on your device.

Drop an image here or click to choose a file
Set width, height and DPI (optional)

Common form sizes

With both sides set, the image is cropped from the center to fit that shape. Centimeters and inches need a DPI to become pixels.

Result

Waiting for an image

The new file size, pixel size, and a preview appear here.

How to resize an image to 20KB

Three steps, all in the browser.

1. Choose the image

Drop a JPG, PNG, or WebP file, or click to pick one. It is opened by your browser and is not uploaded.

2. Keep 20 KB as the target

The tool lowers JPG quality first. If that is not enough, it scales the pixel size down until the file fits under 20 KB.

3. Check and download

Compare the preview with what your form needs, then download the 20 KB image. Change the target and run it again if you need a different size.

Set width, height and DPI for form uploads

Many forms ask for a file size limit and a physical size at the same time.

A typical instruction reads like “photo 3.5 × 4.5 cm, 200 DPI, under 20 KB”. Open the optional settings, enter the width, height, unit, and DPI from your form, and the tool crops from the center to that shape, converts it to pixels, and then compresses the result under 20 KB.

Centimeters and inches only become pixels through DPI: 3.5 × 4.5 cm at 200 DPI is 276 × 354 px, and at 300 DPI it is 413 × 531 px. A higher DPI means more pixels to fit into the same 20 KB, so quality drops. The presets are common examples, not official requirements. Always use the numbers in your own form's notice.

When a DPI is set and the output is JPG, the value is also written into the file so a form that reads DPI sees it. To inspect the result, use the Image DPI Checker.

Resize an image between 10KB and 20KB

Some forms set a minimum as well as a maximum.

The tool always aims for the largest file that still fits under the target, so a 20 KB target normally gives a file between about 17 and 20 KB, inside a 10–20 KB range. The exact size is shown next to the download button.

If the result is below your form's minimum, the image is already very small. Enter larger dimensions in the optional settings so there is more detail to encode. Sizes here count 1 KB as 1,000 bytes for the limit, which keeps the file under the cap whichever way the form counts.

Will a 20KB image still look clear?

It depends on how many pixels have to share those 20 KB.

Good for small photos

As a rough guide, a portrait photo around 300 × 400 px usually stays clean at 20 KB. That covers most ID-style photo slots.

Tight for large images

A full camera photo cannot keep its pixel size at 20 KB. The tool scales it down and tells you the new pixel size.

PNG becomes JPG

PNG is lossless, so it cannot be pushed to 20 KB by quality alone. The output is JPG or WebP, and transparent areas become white in JPG.

Resize Image to 20KB FAQ

Short answers before you upload the file to a form.

How do I resize an image to less than 20KB?

Choose the image, keep the target at 20 KB, and download the result. The tool lowers JPG quality and, if needed, reduces the pixel size until the file is under 20 KB.

Can I resize a JPG to 20KB without losing quality?

Not completely. Reaching 20 KB means removing data, so some detail is lost. Starting from an image that is already close to the pixel size you need keeps the loss small.

How do I make a 3.5 x 4.5 cm photo under 20KB?

Open the optional settings, enter 3.5 and 4.5, choose centimeters, and enter the DPI your form asks for. The image is cropped to that shape and compressed under 20 KB.

Can I compress a PNG to 20KB?

Yes, but the result is saved as JPG or WebP. PNG is a lossless format, so it usually cannot reach 20 KB without changing format or shrinking the image heavily.

Is my photo uploaded?

No. The image is processed by your browser on your device. It is not uploaded or stored, and no file name or image detail is sent to analytics.

Other sizes and related tools

Need a different limit, or want to verify the file before submitting it?

Resize to 20KB without uploading

The image is decoded, resized, and re-encoded by your own browser. It is not uploaded, stored, or sent to analytics.

Resize to 20KB