Spend pixels on the subject
A full scene includes details that use bytes without helping a portrait. Crop excess background in an editor first. This tool does not include a crop editor.
Need to meet a strict 20KB upload limit? Add your JPG, PNG, or WebP image below and PixelsToKB will work toward a file that fits, directly in your browser.
Choose an image and tell us the maximum file size.
Try a generated sample illustration. Its actual file size and dimensions are measured in your browser.
Files are processed locally in your browser and are never uploaded to our servers.
Use this preset when your receiving form explicitly requires a file at or below 20KB. Check its pixel dimensions, crop and background rules as well. A small file alone does not guarantee that an application photo will be accepted.
Quick tip Start with a tightly cropped photo. Removing unnecessary background gives the compressor more room to preserve the subject.
Use the original image and check the requirements that a KB limit alone cannot describe.
A full scene includes details that use bytes without helping a portrait. Crop excess background in an editor first. This tool does not include a crop editor.
A result below 20KB can still have too few pixels for a form. Compare the output width and height with its stated minimum. A smaller file is not automatically an acceptable photo.
Zoom in on eyes, edges and text. Noise and fine texture make a photo harder to fit into a tiny file. Start from a clean original and avoid repeatedly compressing the downloaded JPG.
Read the form's maximum size, minimum pixels and crop rules. Prepare the required subject and background before selecting the image.
Click Compress Image. Quality is adjusted first; pixel dimensions can shrink if the photo still exceeds the cap.
Check facial detail or small text, the reported dimensions and the file size. Download the result if it meets the form's other requirements.
A smaller file can pass the size check and still fail another requirement. Compare the portal's message with the output details shown above.
Our 20 KB limit is 20,480 bytes. If the portal enforces 20,000 bytes, try 19 KB and compress again from the original.
Check the dimensions and try a tighter source crop. If required detail cannot fit under the cap at the mandated dimensions, prepare a simpler source; this tool cannot guarantee form acceptance.
A PNG needing compression becomes JPG with a white background. Use a PNG-preserving tool if the receiving site requires PNG or transparency.
Choose any of these three formats. When compression is needed, the tool creates a JPG; transparent pixels become white. Images already under the target stay unchanged. If your upload requires PNG, WebP or an exact crop, check the output before submitting.
Upload a JPG, PNG, or WebP image, keep 20 KB selected, then click Compress Image. Download the result once it is ready.
It depends on the original image and its dimensions. A 20KB limit is very small, so large photos may need to be reduced in resolution. Check your form's minimum pixel requirements before uploading.
Yes. If compression is needed, PixelsToKB converts it to JPG for a smaller result. Transparent parts are filled white.