Images

How to Compress an Image to 50KB (or 20KB, 100KB)

Application portals, exam registrations and government forms often demand a photo or signature under a strict size — 50KB, 20KB, sometimes 100KB. Dragging a quality slider to the bottom rarely gets you there, and when it does, the photo looks smeared. The reliable method is two steps in a specific order: reduce the pixel dimensions first, then fine-tune the quality.

Read the form’s real requirements

Before touching the image, write down everything the form specifies. Most state a maximum file size, but many also state pixel dimensions, a minimum size, an accepted format or an aspect ratio. A file under 50KB that is the wrong shape or the wrong format will be rejected just the same, and you will have degraded the photo for nothing.

If the form gives exact pixel dimensions — a passport-style photo at a fixed width and height, for example — use exactly those. They are the strongest hint you will get, because the portal was built around displaying images at that size, and an image prepared to those dimensions usually lands under the size limit with little or no quality reduction.

Note whether the limit says KB or MB, and treat a stated maximum as a ceiling rather than a target. A file of 49.8KB is technically compliant, but some portals measure size slightly differently from your device. Aiming a little below the limit — 45KB for a 50KB cap — avoids a rejection over a rounding difference.

Resize first — it is the biggest lever

File size is driven mostly by pixel count. A modern phone photo is around 4000 pixels wide; a form will typically display it a few hundred pixels wide. All those extra pixels cost kilobytes and contribute nothing on the portal’s screen. Removing them is the single most effective step, and it costs no visible quality at the size the image is actually shown.

Open Resize Image, choose exact pixels, keep the aspect ratio locked, and set the long side to a sensible value for your target. Keeping the ratio locked matters: stretching a portrait photo into a different shape is a common cause of rejection on forms that check faces or signatures.

If the form specifies both width and height and your photo has a different shape, crop to the right shape first with Crop Image, then resize. Cropping removes the background you do not need; resizing then gets the remaining picture to the exact dimensions without distortion.

Then lower the quality until it fits

With the image at the right dimensions, open Compress Image. The quality slider runs from 10 to 100, and the tool shows the size before and after, so you can see where you stand without downloading and checking each attempt. Start at the default and step down in small increments.

Stop at the highest quality that meets the limit, not the lowest. The difference between quality 70 and quality 40 is often only a few kilobytes on an already-resized image, but the visual difference is obvious — blocky skin tones, smudged text, halos around edges. If you find yourself below about 40 and still over the limit, go back and resize smaller instead.

Everything runs in your browser, so the photo is never uploaded. That matters more than usual here: images for forms are frequently ID photos, signatures or scans of certificates — exactly the kind of file you should not hand to an unknown server just to make it smaller.

Pick the format the form accepts

JPG is the right choice for photographs and is what almost every form expects. It compresses photos efficiently and is universally accepted. If the form says JPG or JPEG, use JPG; if it lists several formats, JPG is still the safe default for a photo.

WebP produces smaller files at the same quality, but many older portals reject it outright. Only use WebP if the form explicitly lists it. PNG is the wrong choice for photos under a size limit — it is lossless, so a PNG photo is often many times larger than the equivalent JPG, and lowering its quality does very little.

Signatures are the exception worth knowing. A signature is a few dark strokes on a plain background, so it compresses extremely well in any format. If the form asks for a signature image under 20KB, a tightly cropped signature on white, resized to a modest width, will usually fit comfortably as a JPG or even a PNG.

Hitting 20KB, 50KB and 100KB

These are rough starting points for an ordinary photo saved as JPG at moderate quality. Every image is different — a plain background compresses far better than a detailed one — so treat them as where to begin, then check the actual size and adjust.

Target sizeStart the long side aroundNotes
Under 20KB350–450 pxTypical for signatures and thumbnail ID photos
Under 50KB600–700 pxThe most common form limit for photos
Under 100KB900–1,000 pxRoom for a clear, detailed photo
Under 200KB1,200–1,400 pxComfortable for most document photos

If you overshoot, reduce the dimensions by about ten percent rather than dropping the quality sharply. If you land well under the limit, you have room to raise the quality or the size and get a cleaner result. A few quick iterations are normal; the before-and-after figure tells you which way to move.

Check the image before you upload

Open the final file and look at it at the size the form will display it. A face should be clearly recognisable, text on a certificate should be legible, and a signature should have clean edges. A file that meets the limit but is unreadable will be rejected by a human reviewer even if the portal accepts it.

Check the file size on your device, not just in the tool, and confirm the extension is what the form expects. Keep the original photo — you will want it if the form rejects the image for a different reason, or if another portal asks for a different size next month.

If the form actually wants a PDF rather than an image, the process is different because a PDF holds pages rather than one picture. The guide to getting a PDF under 100KB covers that case, including rebuilding a scanned PDF from smaller images.

Open Compress ImageQuality slider with a live before-and-after size — nothing uploaded.

Open Compress Image →

Frequently asked questions

Why is my photo still over 50KB at a low quality setting?

The image still has too many pixels. Quality alone cannot overcome a 4000-pixel-wide phone photo. Resize it to a smaller width first, then adjust the quality.

Will compressing to 50KB make my photo blurry?

Not if you resize to a sensible size first. A 50KB image at the dimensions a form displays usually looks clean; blur comes from pushing quality very low on an oversized image.

Can I get a PDF under 50KB the same way?

PDFs need a different approach because they hold pages rather than a single picture. Compress the PDF itself, or rebuild it from smaller images if it is a scan.

P
The PDFNest Team

We build free PDF tools that process files in your browser. Our guides explain practical workflows and the limits of each tool.

Related guides