Resize a photo to the exact KB and pixels a form asks for
Type the numbers from the form, such as under 50 KB at 600 × 600 px or 20 to 50 KB at 35 × 45 mm, and download a JPG, PNG, WebP or PDF that fits. It runs in your browser, so the photo never leaves your device.
Target
JPG · under 50 KB (at most 50,000 bytes) · original pixel size · white background
PixelFit aims at 50,000 bytes or less, so the file passes whether the form counts 1 KB as 1,000 or 1,024 bytes.
Fit, background and padding white background
Saving presets is part of Pro.
The result appears here: the exact byte count, pixel size and quality, the size before and after, a preview and a download button.
The batch kit (one ZIP for up to 500 photos, several photos merged into one PDF) is part of Pro.
- No upload
- No sign-up
- Free batches of 25
What a KB limit does to a real photo
We saved one head-and-shoulders portrait at 15 pixel sizes and 10 JPEG quality settings and recorded every file size. These are measured bytes, not estimates; the list shows the largest measured size under each limit at quality 80.
- ≤ 20 KB 240 × 300 px fits at quality 80: 16,035 bytes
- ≤ 50 KB 480 × 600 px fits at quality 80: 44,599 bytes
- ≤ 100 KB 801 × 1,000 px fits at quality 80: 98,652 bytes
- ≤ 200 KB 961 × 1,200 px fits at quality 80: 131,773 bytes
Sample: head-and-shoulders portrait, 2,687 × 3,356 px, by Pete Souza (Official White House photo), public domain, from commons.wikimedia.org. Encoded with sharp 0.35.5 / libvips 8.18.7, measured 2026-10-31. Your photo will differ: busy detail needs more bytes than a plain background.
| Pixels | Q60 Quality 60 | Q80 Quality 80 | Q90 Quality 90 |
|---|---|---|---|
| 200 × 250 | 8.6 KB | 12.2 KB | 17.1 KB |
| 400 × 500 | 22.8 KB | 33.1 KB | 47.6 KB |
| 641 × 800 | 45.9 KB | 67.8 KB | 99.9 KB |
| 801 × 1,000 | 64.0 KB | 96.3 KB | 145 KB |
| 1,281 × 1,600 | 130 KB | 210 KB | 333 KB |
| 1,601 × 2,000 | 187 KB | 311 KB | 511 KB |
Start from the number on your form
Each page opens the tool with the target already set, and explains what that limit means for pixels and quality.
File size limits
- 10 KB ≈ 221 × 165 px photo at quality 75
- 20 KB ≈ 317 × 237 px photo at quality 75
- 30 KB ≈ 394 × 295 px photo at quality 75
- 50 KB ≈ 510 × 382 px photo at quality 75
- 100 KB ≈ 717 × 537 px photo at quality 75
- 200 KB ≈ 1,015 × 761 px photo at quality 75
- 500 KB ≈ 1,603 × 1,202 px photo at quality 75
- 20–50 KB 20,480–50,000 bytes
Photo specs for forms and portals
- SSC: signature size Signature 10 KB–20 KB · India
- UPSC: photo and signature size Photo 20 KB–300 KB, signature 20 KB–300 KB · India
- IBPS PO: photo and signature size Photo 20 KB–50 KB, signature 10 KB–20 KB · India
- PAN card (Protean): photo and signature size Photo at most 20 KB, signature at most 10 KB · India
- India e-Visa: photo size Photo 10 KB–1 MB · India
- UK passport: photo size Photo 50 KB–10 MB · United Kingdom
- Canada passport: photo size Photo 200 KB–5 MB · Canada
- Japan eVISA: photo size Photo at most 2 MB · Japan
Exact pixel and print sizes
Built for upload forms, not for photo editing
File size, pixels, privacy and volume: what matters when a form sets the rules, and nothing else in the way.
-
An exact file size
Type a maximum, or a minimum and a maximum, in KB. PixelFit tries quality settings until the file lands inside the range. It reads the maximum as 1,000-byte kilobytes and the minimum as 1,024-byte ones, so the file passes either way a form counts.
-
Exact pixels or print size
Enter pixels, or millimetres, centimetres or inches with a DPI. With a width and a height set, PixelFit crops to fill by default, so the file has exactly those pixels without being stretched. Pad with a background colour to keep the whole photo at that size, or pick fit inside to keep it whole within the frame, smaller on one side.
-
Your photo stays with you
Opening, resizing and compressing all happen in your browser with its built-in canvas. Nothing is sent to a server, which is what ID photos, signatures and scans deserve.
-
Free batches of 25
Drop up to 25 images at once, apply one target to all of them and download each file on its own. No account, no watermark and no daily quota.
From photo to upload-ready file in three steps
- 1
Add your photo
Drop it on the panel, paste it or pick it from your phone. JPG, PNG, WebP, GIF, BMP, AVIF and SVG open in current browsers; HEIC opens where the browser can read it, such as Safari.
- 2
Type the numbers from the form
Set the KB limit and the pixel or print size, or start from a page for your exam, visa or portal with the values already filled in.
- 3
Check it and download
See the old and new size in KB, the pixels and the quality used, then save a file named after the size it came out at, such as photo-600x600-50kb.jpg.
Facts you can check
-
Nothing is uploaded
Your files are read and processed by your own browser. The site has no upload server to send them to.
-
Numbers you can check
Every result shows the final byte count, the pixel size and the quality used, so you can confirm it meets the form before you submit.
-
Specs with sources
Form and portal pages link the official notice they come from and the date it was checked. Requirements change, so verify with the official notice.
-
Clear pricing
Single photos and batches of 25 are free. Pro is $12 one-time for bigger batches, ZIP files and saved presets.
Free for everyday uploads. Pro for bulk work.
Single photos and batches of 25 cost nothing. Pro is $12 one-time for batches of up to 500 in one ZIP, saved presets, multi-photo PDFs under a size and HEIC batches.
Free
$0no account
Every target and format, for single photos and batches of 25.
- Exact KB targets, including min and max ranges
- Exact pixels, or mm, cm and inches with DPI
- JPG, PNG, WebP and PDF output
- Batches of up to 25 with a download per file
Pro: batches and presets
$12one-time
For people who prepare photos in bulk. One payment, and Pro stays unlocked in the browser you buy it in.
- Batches of up to 500 images in one ZIP
- Saved presets for the forms you use
- Several photos merged into one PDF under a size
- HEIC batches where the browser opens HEIC
- Runs on your device, like the free tool
Frequently asked questions
Short answers about KB limits, privacy, quality and Pro.
How do I compress a photo to 50 KB?
Type 50 in the maximum KB box, choose JPG and drop your photo. PixelFit tries quality settings until the file is just under 50 KB and shows the final size in bytes. If the lowest sensible quality is still too big and you have not locked the pixels, it reduces the pixel size step by step and tells you what it changed.
Why does a form reject a file that says 50 KB?
Some forms count 1 KB as 1,024 bytes and others as 1,000 bytes, so a file shown as 50 KB on your computer can be 51,000 bytes to the form. PixelFit aims under the smaller number, 50,000 bytes for a 50 KB limit and 1,000,000 bytes for a 1 MB limit (typed as 1024 KB), so the file passes either check. The result shows the exact byte count.
Can I set a minimum as well, such as 20 to 50 KB?
Yes. Enter both numbers. If the photo comes out below the minimum, PixelFit raises the quality first. For small, plain images that still fall short, you can choose to pad the JPEG with an invisible comment block: it adds bytes without changing a single pixel, and the tool says when it did.
Are my photos uploaded anywhere?
No. The image is opened, resized and compressed inside your browser, and the file never leaves your device, which matters for faces, signatures and documents. The site counts anonymous page views, whether the tool produced a result and clicks on the Pro offer, without cookies; the privacy policy lists exactly what is recorded.
Is PixelFit free?
Yes. Single images, every KB and pixel target, all four output formats and batches of up to 25 images with a download per file are free, with no account and no watermark. Pro is an optional upgrade at $12 one-time for batches of up to 500 images in one ZIP, saved presets, multi-photo PDFs under a size and HEIC batches.
Does it work on my phone?
Yes, in current browsers on Android and iPhone. An iPhone usually hands the browser a JPEG when you pick a photo from the library, so HEIC rarely gets in the way there. On other devices a HEIC file opens only where the browser can decode it, and PixelFit says so plainly when it cannot.
Will a smaller KB size make my photo blurry?
Only as much as the limit forces. PixelFit keeps the highest quality that fits and shrinks in several halving steps so edges stay clean. A tight limit on a large pixel size, such as 10 KB at 1200 px wide, will show blocky artefacts; at the same KB, a smaller pixel size usually looks sharper.
Browse by what the form asks for
- Compress an image to any KB or MB size 50 pages Compress a photo to 5 KB, 20 KB, 50 KB, 100 KB, 1 MB or a min–max range in your browser. Each page shows measured pixel sizes that fit the limit.
- Photo and signature sizes for online forms 61 pages Official photo and signature upload sizes for exams, job portals, visas and passports: pixels, KB range, format and background, each with its source.
- Resize an image to an exact pixel or print size 150 pages Exact target sizes from 16×16 favicons to 8K, ID photos in mm and prints at 300 DPI, each with ratio, crop loss, print size and measured file size.
- Change image format: HEIC, WebP, PNG, SVG to JPG or PDF 32 pages 32 image format changes that run in your browser: JPG, JFIF, PNG, WebP, HEIC, AVIF and more to JPG, PNG, WebP or PDF. No upload.
- JPG to PDF under a file size (20 KB to 10 MB) 21 pages Turn a JPG into a PDF under 100 KB, 200 KB, 500 KB, 1 MB or more, free in your browser. Each page shows how many scanned pages and photos fit.