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.
Target file size: 20 KB
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
JPG, PNG, or WebP. The file stays on your device.
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
The new file size, pixel size, and a preview appear here.
Three steps, all in the browser.
Drop a JPG, PNG, or WebP file, or click to pick one. It is opened by your browser and is not uploaded.
The tool lowers JPG quality first. If that is not enough, it scales the pixel size down until the file fits under 20 KB.
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.
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.
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.
It depends on how many pixels have to share those 20 KB.
As a rough guide, a portrait photo around 300 × 400 px usually stays clean at 20 KB. That covers most ID-style photo slots.
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 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.
Short answers before you upload the file to a form.
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.
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.
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.
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.
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.
Need a different limit, or want to verify the file before submitting it?
The image is decoded, resized, and re-encoded by your own browser. It is not uploaded, stored, or sent to analytics.
Resize to 20KB