Photo Compressor to 20KB
Compress a photograph to 20KB or less. Camera and phone images carry far more detail than most size limits need, and this tool removes the excess.
Your images are processed in your browser and never uploaded to our servers.
Drop your image here
or click to browse — JPG, PNG, or WebP
Your image is processed locally in your browser and never uploaded.
How to Compress a Photo to 20KB
- Choose or drop your jpg, png, webp image file.
- Use the prefilled 20KB target and adjust compression mode if needed.
- Review the compressed size, quality, and output dimensions in your browser.
- Download the WebP file when the result is within the selected target.
What 20KB Buys for a Photograph
20KB is the size most commonly requested by online application forms for passport-style photographs. It is tight but workable: a headshot at roughly 400×500 pixels usually lands in this range while remaining clear enough for a human reviewer to identify the subject.
The distinction that matters at 20KB is between simple and complex images. A face against a plain background is simple, and compresses gracefully. The same face against a crowded street will need either a crop or a resize, because the background is competing for the same limited bytes.
Photo compression is for camera and phone images specifically, which behave differently from graphics and screenshots under the same size limit.
Passport and ID Photos at 20KB
Most people arriving at a 20KB photo requirement are filling in an application form that also specifies dimensions, an aspect ratio, and often a background colour. The file size is only one of several conditions, and it is the one that should be handled last — crop to the required proportions first, because compressing before cropping spends bytes on pixels you are about to delete.
A correctly cropped passport-style photo is unusually well suited to 20KB. The background is plain, the subject fills the frame, and there is little fine detail beyond the face. If yours will not fit, the background is the most likely culprit, and re-shooting against a plain wall will do more than any compression setting.
How Different Photos Behave
| Source image | What to expect |
|---|---|
| Portrait, plain background | Compresses well; comfortable at 20KB |
| Group photo outdoors | Busy background competes for budget; crop tighter |
| Low-light photo with visible grain | Noise is expensive to encode; expect a larger file |
| Studio product shot on white | Flat background helps; usually well under 20KB |
Who Compresses Photos to 20KB
Application and ID photographs
Forms requesting a photograph almost always combine a size limit with dimension and background requirements, and the photo has to satisfy all of them at once.
Event and holiday photo sharing
Sharing a set of photos where each is several megabytes is slow for you and awkward for the recipient, particularly over messaging apps.
Property and marketplace listings
Listing platforms allow several photographs per item, so the weight of each one multiplies across the whole listing.
How Each Input Format Behaves
This page accepts JPG, JPEG, PNG, and WebP inputs, which covers essentially every image you are likely to encounter outside of specialist workflows. Each behaves a little differently under compression, and the tool adapts to what you give it.
Output is always WebP. That choice is deliberate: WebP reaches a given target size at higher visual quality than JPG or PNG can, which means the file you download looks better than the equivalent-sized file in an older format would.
Upload JPG, JPEG, PNG, or WebP images. Downloads are optimized WebP files.
JPG sources are already lossy
A JPG has been compressed once already. Converting it to WebP is a second lossy pass, so always start from the highest-quality version you have.
PNG sources compress dramatically
PNG is lossless and therefore large. Converting a PNG to WebP frequently produces the biggest reduction you will see, especially for screenshots and graphics.
WebP sources have less to give
An existing WebP is already efficiently encoded, so reaching a much smaller target usually requires reducing dimensions rather than quality alone.
Recommended Settings for 20KB
Use Balanced mode with resize enabled at roughly 500px on the long edge. If the form also specifies dimensions in pixels, crop to those dimensions first, then compress — compressing before cropping wastes bytes on parts of the image you are about to discard.
For very small targets, start with a smaller image width and use the Smallest File mode if the image has lots of detail.
Where Photo Compression Shows First
Skin tones go patchy first
Smooth gradients such as faces show compression damage before textured areas do. Raise quality and reduce dimensions instead of pushing quality down.
Sensor noise inflates the file
Grain from low-light shooting is effectively random detail, and random detail is the most expensive thing an encoder can store.
Screenshots of photos lose twice
Screenshotting a photo re-encodes it at screen resolution. Use the original file rather than a screenshot of it.
Other Image Size Compressors
Same-size pages
FAQs
Can I compress an image to 20KB exactly?▼
The tool aims for 20KB or less. Some images may finish slightly below the target, and very detailed images may need stronger compression or resizing.
Can I compress images below 20KB?▼
Yes. Choose a smaller target page or use stronger compression settings when you need a file below 20KB.
Are my images uploaded to a server?▼
No. Images are processed locally in your browser and are never uploaded to our servers.
Will compression reduce image quality?▼
Compression can reduce visual quality, especially at very small targets. The tool balances file size, quality, and dimensions to keep the result usable.
What happens if my image cannot reach 20KB?▼
You will see a helpful message with options such as reducing width, using a stronger compression mode, or choosing a higher target size.