Resize image for PAN card photo

Compress any photo to 20 KB or less. Free, private, and processed entirely in your browser.

Choose Image(s) or Drag & Drop Here

Supports JPG, PNG, WebP, AVIF, BMP, SVG, and HEIC.

  • Runs in your browser
  • No upload
  • Free, no signup

Use this page when something refuses an image larger than 20 KB. The preset sets the target to 20 KB (20480 bytes) and lets the tool choose the quality and, if needed, the size.

At this size the budget is tight. A typical photo can hold only about 137 thousand pixels, roughly 430 × 320, so expect a small picture. That is fine for a signature, a thumbnail or a form photo, but not for a large print.

Target file size20 KB (20480 bytes)
DimensionsAuto: reduced only as needed
Best formatsJPG, WebP, AVIF (PNG is lossless)
Typical pixel budget≈ 0.14 MP (430 × 320 at 4:3)

Related guide: Image Size for Printing: DPI, Pixels and Inches Explained

What fits in 20 KB

File size depends on both pixel count and how much detail the picture holds. The estimates below use rules of thumb for photos saved as JPG at web quality (roughly 0.08 to 0.3 bytes per pixel); your own result will vary with the image.

A typical 12-megapixel phone photo is around 3.5 MB, so reaching 20 KB means roughly a 179× reduction. Most of that comes from reducing the pixel count, not only from lowering quality.

Kind of imageRoughly fits in 20 KB
Smooth image (sky, studio backdrop, flat graphics)580 × 440 px (0.26 MP)
Typical photo430 × 320 px (0.14 MP)
Detailed photo (foliage, text, crowds)300 × 230 px (0.07 MP)

How to stay under 20 KB with the best quality

  • Crop first. Removing empty background means the same 20 KB is spent on the part of the picture that matters.
  • Expect visible softness on detailed images. If a form lists both a size limit and minimum pixel dimensions, check them against the table above before you start.

Related presets

Same target, other wording

More in this category: Resize Image to a Target File Size. For several photos at once, use the bulk image resizer.

Frequently asked questions

How many pixels can a 20 KB image have?▼
For a typical photo at web JPEG quality, about 0.14 megapixels (around 430 × 320 pixels at 4:3). A flat, smooth image can have more; a very detailed one fewer. The table above gives the range.

Looking for a different size or format?

Explore over 1,500+ curated presets for social media, print, and strict file sizes.

Back to Presets Directory

Send feedback

How do you like ResizeAny?
What is it about?

With your message we send the page address, screen size and browser, to help fix problems. Your images are never sent. Privacy