Files never leave your device

Compress any photo to an exact KB size, without uploading it

For visa, passport, job and exam forms that reject a file for being a few KB too big. Pick your limit, drop your photo, download a file that passes. It all runs on your device.

or drop it anywhere in this box

JPG, PNG, WebP, HEIC, GIF, BMP, SVG, AVIF · everything runs on your device, nothing is uploaded

Custom target, 2–10240 KB

Match the portal's rule

Everything runs in your browser using the HTML5 Canvas — your photo is never uploaded to any server.

About 2.0 MB, saved once on this device. Then it works with no internet.

What do you need to do?

Photo requirements by document

The exact numbers each portal checks, read from the official source. Each card opens the full spec and a one-tap preset.

All photo requirements · Job and exam forms

All tools

How your files stay private

  1. Your browser opens the file. It is read from your device, not sent anywhere.
  2. The tool runs on your device. Compression, resizing and PDF editing use your phone or computer's own processor.
  3. You save the result. It goes straight back to your device. There is no server copy to delete.

Check it yourself in a minute

How we check form specs

Every verified preset is read from the official portal or notice, not copied from other websites, and spec pages show when they were last updated. When the numbers that circulate online are out of date, we say so: SSC's 2026 exams capture the photo live, so the old "3.5×4.5 cm, 20–50 KB" advice no longer applies; Pakistan's DGIP portal enforces 20 KB despite its "up to 5 MB" help page; and Azerbaijan's e-Visa asks for a passport-page scan, not a portrait.

Spotted a spec that changed? Tell us.

Popular guides

Frequently asked questions

Is PixKB really free?

Yes. No signup, no watermark, no daily limit. The tools run on your own device, so there's nothing for us to charge for. The site will carry ads to cover its costs.

Is my photo uploaded anywhere?

No. The file is opened and processed by your browser on your device, and the result is saved straight back to it. You can check: open a tool, turn on airplane mode, and compressing still works. Our privacy page shows how to confirm it in your browser's network tab.

How exact is "exact KB"?

Under a limit, PixKB returns the highest-quality file that fits. Portals count KB in two ways (1,000 or 1,024 bytes), so PixKB aims for the stricter one: a 50 KB maximum means at most 50,000 bytes, and a minimum means at least 51,200 bytes. The file passes either way.

My form needs a minimum size, not a maximum. Can PixKB do that?

Yes. Choose "At least target" in the Exact KB tool, or use Increase image size in KB. Small files are padded with invisible data that upload checks accept, without changing how the picture looks.

How do I know the form presets are correct?

Each preset is read from the official source (for example travel.state.gov, fpsc.gov.pk or the Passport Seva portal), and each spec page shows when it was last checked. When figures that circulate online are wrong, the page says so and explains why.

Does it work on my phone?

Yes. PixKB is built for phones first, because that's where most people meet upload errors. iPhone HEIC photos are converted automatically.

What's the difference between pixels, KB and cm?

Pixels are the image's dimensions, KB is the file's size on disk, and cm or inches are the printed size at a given DPI. A form can limit any of them. Our pixels-to-KB and cm-to-pixels guides explain how they relate.

Can I do several photos at once?

Yes. Drop several images into the tool and they're processed together; the results download as one ZIP file.