Who asks for 50 KB
Application and examination portals, job boards that store a candidate photograph, and older content systems with a per-file cap. It is the most common limit for a passport-style photograph after 100 KB.
What fits in 50 KB
A 600 × 800 portrait at reasonable quality, or a 1000 × 700 landscape image if the content is not too detailed. Enough for an ID photograph to look properly sharp.
What it costs you
Noticeably less than at 20 KB. Fine texture goes — individual hairs, fabric weave, foliage — but faces stay recognisable and edges stay clean. For a document scan, text remains readable at this size provided the scan was not enormous to begin with.
How this hits the number
Compression quality and file size do not move together in a straight line, so there is no setting that reliably produces 50 KB. This encodes your image repeatedly at different quality levels, narrowing in on the highest one whose output still fits, and returns that file. It never hands back something over the limit, because a file over the limit is the one thing you cannot use.
All of it runs in this browser tab using the canvas API. Your image is read from disk into the page, worked on, and written back out. Nothing is uploaded, which you can confirm yourself — open your browser's network tab and watch it stay empty while the tool runs.
Common questions
What size photo fits in 50 KB?
For a typical portrait, around 600 × 800 pixels at good quality. A photograph with a plain background will fit more pixels than one with a detailed scene, because JPEG spends its bytes on detail. If your form specifies pixel dimensions as well as a file size, match the dimensions first.
Should I use JPEG or PNG for a 50 KB limit?
JPEG, unless the form demands PNG. PNG is lossless, so it cannot be tuned down to hit a byte target the way JPEG can — a photograph saved as PNG at 50 KB would have to be tiny. PNG is the right choice only for a signature, a logo or a screenshot of text, where flat areas compress well and sharp edges matter.
Can I compress a scanned signature to 50 KB?
Easily, and it will look better than a photograph does. A signature is mostly white with thin dark strokes, which is the easiest thing a compressor can be given. If the form allows PNG for signatures, prefer it — the strokes stay crisp instead of gaining the soft halo JPEG puts around high-contrast edges.