Is 20KB enough for a passport-style photo?
For upload fields, yes: it will be clear at thumbnail and form-preview size. It is not a print-quality size.
Pick a JPG, PNG or WEBP image and get a copy that is 20KB or smaller. Everything happens in your browser; nothing is uploaded.
or drop files here
20KB is one of the most common caps on exam, job and government-style upload forms, and on signature and ID thumbnail fields.
At 20KB a head-and-shoulders photo stays recognisable at roughly 200 to 300 pixels wide. A signature scanned on white paper fits with plenty of room.
Do not photograph a printed photo. Use the original digital file, crop to the face and shoulders, and then compress; a clean crop keeps more detail inside the byte budget.
For upload fields, yes: it will be clear at thumbnail and form-preview size. It is not a print-quality size.
It re-encodes the image as a JPEG and searches for the highest quality that fits under 20KB. If quality alone is not enough, it also reduces the pixel dimensions a little at a time until the file fits. The result never exceeds your limit.
A JPG that is already under the limit is returned unchanged, so you are never made to lose quality for nothing. Other formats are converted to JPG at high quality.
No. The image is decoded, resized and re-encoded inside your browser tab, so the file never leaves your device. You can confirm this yourself: open your browser DevTools, switch to the Network tab and run the tool. You will not see your image in any request.