Compress a Photo or Signature to 20 KB for a PAN Card Application
PAN card and KYC portals reject uploads that miss their stated size, and the limit is checked before anything else. This tool guarantees a JPG at or under 20 KB so the form's size check passes on the first try.
Each portal publishes its own limit and changes it without notice — set the number your form shows and let the tool hit it exactly.
Compress to a target size
Government portals typically want a JPG — that is what you get here.
Other target sizes for the same job
Using 20 KB somewhere else
Good to know
Why a target size beats a quality slider. A quality slider asks you to guess, check the file size, then guess again. Forms and portals care about one number — the maximum size — so this tool works backwards from that number and stops at the highest quality that still fits.
What happens to the file. Your browser decodes the image, re-encodes it at decreasing quality until it fits, and hands you a download. Transparent PNGs are flattened onto white by default because most upload forms reject transparency.
Frequently asked questions
What size should a PAN card photo be?
Check the portal's current instructions, because the number changes between forms and revisions. Whatever it says — 20 KB or another figure — enter it here and the tool guarantees the output stays at or under it.
My signature scan is 20 KB but the portal still rejects it. Why?
Size is only one check. Portals also validate the format (usually JPG or JPEG), the pixel dimensions, and sometimes that the file is not a PNG renamed to .jpg. This tool outputs a real JPG; if the portal's error mentions dimensions, crop or resize first.
Is this safe for ID documents?
Yes — more so than an online converter. The file is processed entirely inside your browser and is never sent to any server. There is no upload, no storage, no account.
Will a 20 KB photo still be readable?
For a passport-style headshot at form size, yes. Documents with small print (address proofs, statements) suffer more, so keep those at 200 KB or above where the portal allows it.
Quality is found by binary search (8 passes), then the image is proportionally downscaled only if quality alone cannot reach the target. No server, no re-upload, no quality slider guessing.