Your images are processed in your browser — Cloud HD (Pro, opt-in) is the only exception

Compress image to 400KB

For the upload box that says “under 400 KB”, and for a whole photo you want small enough to send but large enough to keep its detail.

The tool below is set to 400KB as a JPEG. Drop a photo in; it reports the size it reached and tells you if it had to reduce the pixel dimensions.

Free, no signupWorks offlineNo upload, ever
📸
Drop an image to startTap to choose an image
PNG, JPG, WebP, AVIF, HEIC, BMP, SVG, GIF, TIFF
Target size · 400 KB
Pro tools Pro
Platform
Pro
Presets limit your photo’s longest side and keep its shape — nothing is cropped, so the result matches the named size only when your photo already has that shape.
ProUnlocks one-click platform presets for Instagram, LinkedIn, X, YouTube, WhatsApp, and more.See Pro plans
Responsive set
Pro
Also export as
Pro
Your Format choice is always saved. These add more copies of the same image — one per format, at each width you tick above and only at those widths — bundled in a single ZIP. Tick no width and the extra formats come at your original size.
With Pro, 1 image → up to 17 files · A width larger than your original is never upscaled, so those collapse into one file.
ProPro unlocks responsive image sets and multi-format export, packaged in a single ZIP.See Pro plans
Rename pattern
Pro
Saved presets
Pro
ProPro unlocks saved presets — bundle your responsive set, format, watermark, codec and rename template into one named profile you apply with a single click.See Pro plans
Free foreverOffline-readyImages never uploaded
Why MiniPx

Built for people who care how images travel.

100%On-device
This compressor never uploads.
Every byte processed in your browser. No copy, no trace. Cloud HD — the Pro-only option on 7 AI tools — is the one exception on the site.
50–90%Smaller
Honest compression.
Multi-pass encoding that respects your image. No silent quality cliffs.
5Files per batch
No quota. No credits. No watermark.
Five files a batch on the free tier, unlimited batches — Pro lifts the cap. Your device is the only real ceiling for compression, because your device does the work; only Pro Cloud HD runs are metered.
8Formats
Native to every modern format.
PNG · JPG · WebP · AVIF · BMP · SVG · GIF · TIFF
MiniPx
Settings
Mode
Format
Compression
Custom quality
65%
TinyMax
Max width
Privacy
EXIF data always removed
Every output drops GPS location, device info & timestamps
More tools
Everything stays on your device.
Runs in
Your browser, on your device
Upload
None — nothing is uploaded
Signup
Not needed
Watermark
None added by MiniPx
Limits
No quota. Batch tools take 5 files at a time on Free; Pro lifts the cap
Output
A file saved straight from your browser

Compress Image to 400KB — Free, Fast & Private

Let us be straight about this number first. None of the exam, visa or passport specifications we track sets 400 KB as its limit. 400 KB is a general-purpose size: the cap a website, an email form, a club membership page or an internal HR system writes as “images under 400 KB”, and a sensible size for a full photograph you want to keep detailed while still sending it easily. If you came here with a government form, check its own figure — the section further down shows where 400 KB is too much and where it is fine.

What fits in 400 KB — measured on this page

We dropped five real files on the compressor above and kept what it handed back. 5 of 5 came out under 400 KB.

Measured results for 400 KB
FileBeforeAfter, on this pageUnder 400 KB?
12 MP phone photo4032 × 3024 px · 3.73 MB4032 × 3024 px · 363.2 KBYes
Portrait / headshot3264 × 4653 px · 2.25 MB3264 × 4653 px · 299.3 KBYes
Scanned handwritten page3349 × 4281 px · 2.17 MB3349 × 4281 px · 299.7 KBYes
Scanned signature2041 × 617 px · 109.1 KB2041 × 617 px · 102.1 KBYes
Screenshot (PNG)1280 × 800 px · 88.1 KB1280 × 800 px · 108.8 KB — larger than the original (PNG made into JPG)Yes

Measured 2026-10-06 in Chromium 145.0.7632.6 with this page’s own settings. The photos are public-domain and CC0 files from Wikimedia Commons; the screenshot is our own. Sizes read as the tool shows them (1 KB = 1,024 bytes); the target itself is 400,000 bytes, which is under 400 KB on either reading.

What 400,000 bytes stretches across

A file-size target is really a budget per pixel. An uncompressed colour pixel takes 24 bits — one byte each for red, green and blue — so the useful question is how many bits each pixel gets once the whole picture has to fit in 400,000 bytes. The arithmetic for four common photo sizes:

PhotoPixels400,000 × 8 ÷ pixels
12 MP, 4000 × 300012,000,0000.27 bits per pixel
8 MP, 3264 × 24487,990,2720.40 bits per pixel
2 MP (Full HD), 1920 × 10802,073,6001.54 bits per pixel
1.2 MP, 1280 × 9601,228,8002.60 bits per pixel

Read the right-hand column against the 24 bits of a raw pixel. At 12 megapixels the budget is about 1/90 of the raw size; at Full HD it is about 1/16. The same 400 KB is therefore a hard squeeze for a photo straight off a modern phone and a comfortable allowance for one already sized for a screen. Every halving of width and height divides the pixel count by four and multiplies the per-pixel budget by four — which is why the pixel size you hand the compressor matters as much as the target. The measured table above shows how real photographs fared on this page.

How the compressor gets under 400KB

The tool tries the easy lever first. It keeps your photo at full pixel size and lowers JPEG quality, searching for the highest quality that fits under 400,000 bytes. Only when even its lowest quality still misses does it reduce the pixel dimensions, and when that happens it tells you and shows the new width and height. So it does not promise to keep full resolution — with a high-megapixel photo and this target, sometimes it cannot.

If you know where the picture is going, you can make that choice yourself. A photo for a web page or an email rarely needs more pixels than the screen it is viewed on; resize it to the width you need first, then compress here. With fewer pixels the per-pixel budget in the table rises, and the compressor can spend it on quality instead of having to throw pixels away.

Where 400KB is too much, and where it fits

Because 400 KB sits between two common form ceilings, it helps to know which side you are on. It is over UPSC’s band for the photograph and signature, 20–300 KB, so a 400 KB file is refused there — use the 300KB page or the UPSC tool instead. It is inside GATE’s photograph band, 5–600 KB, but GATE also caps the photo at 530 × 690 pixels, and at that size you would rarely need anything like 400 KB — the GATE photo tool checks both rules together.

For a form that genuinely says “maximum 400 KB”, read the rest of its instructions before you upload. A file-size line usually comes with a format line (JPEG only, for instance) and sometimes a pixel range, and the compressor cannot know either. It will tell you what your file measures; it cannot tell you a form will accept it.

Picking 400KB when nobody set a limit

Often there is no rule at all — you just want a photo small enough to email, attach to a chat or put on a page without making anyone wait. Then the target is yours to choose, and the arithmetic above is the honest guide. Decide the pixel size the picture will be seen at, divide 400,000 bytes by it, and you know the budget each pixel gets. If the answer is generous, 400 KB is a comfortable choice; if you are trying to hold a whole twelve-megapixel frame, a smaller pixel size or a larger target will serve the picture better than squeezing.

The neighbouring sizes are there for the same reason. The 500KB page gives a quarter more room for the same pixels; the 300KB page trades a quarter of the bytes for a smaller file. Neither is better in general — the right one is whichever matches the limit you have, or the screen the photo is going to.

Small things that trip a 400KB upload

The kilobyte question. This page counts 1 KB as 1,000 bytes, so it aims under 400,000 bytes. A system that counts 1,024 bytes to the kilobyte allows 409,600 bytes for the same number. Staying under 400,000 satisfies both, which is why the target is set where it is.

The file that looks bigger on your phone. Some file managers show sizes in binary units and some in decimal, and a few round to one decimal place. Trust the byte count the tool shows when it finishes, not a rounded figure in a gallery app.

Transparency. JPEG has no alpha channel, so a PNG logo or screenshot with a transparent background will come out with a solid one. If the transparency matters, this is the wrong format for it.

An iPhone photo that will not upload at all. HEIC is the default on iPhones, and many forms reject it outright whatever its size. This tool reads HEIC and writes a real JPEG, so the conversion happens on the way to 400 KB.

All of it runs in your browser. The photo is never uploaded to a server while it is being compressed.

How it works

  1. Confirm 400KB is your limit: Check the form or site you are uploading to. No exam or visa we track sets exactly 400KB; UPSC, for one, caps uploads lower.
  2. Resize first if you know the display size: For a web page or email, resizing to the width you need first leaves more bytes per pixel for quality.
  3. Drop the photo in: The tool is set to JPEG and a 400KB target. It lowers quality at full size first and reduces the pixel size only if it must — and says so.
  4. Download the JPEG: Check the byte count it shows, then save and upload.

Frequently asked questions

Photo ko 400 KB me kaise kare?
Use the compressor at the top of this page: it is already set to a 400 KB target. Drop your photo in, let it compress, and check the size shown next to the result before you download. If it is still too big, lower the quality or the width and run it again.
Which forms require an image under 400KB?
None of the exam, visa or passport specifications we track sets 400KB exactly. It is a general-purpose cap used by websites and email or HR forms. UPSC, for instance, sets 20–300 KB, so 400KB is too large there.
Will my photo lose resolution at 400KB?
Only if it has to. The tool lowers JPEG quality at full size first and shrinks the pixel dimensions only when the lowest quality still misses 400KB. It tells you when it resizes and shows the new size.
How much detail can 400KB hold?
It depends on the pixel count. By arithmetic, 400,000 bytes over a 12-megapixel photo is 0.27 bits per pixel; over a 1920 × 1080 image it is 1.54 — against 24 bits for an uncompressed pixel. The measured table on this page shows real results.
Does a 400KB file fit a 0.4MB limit?
Yes, in decimal units 0.4MB is 400,000 bytes, the same target this page uses. A system counting 1,024 bytes per KB allows a little more, so a file under 400,000 bytes fits either reading.
Can I keep a transparent background?
Not with this page. It writes JPEG, and JPEG has no transparency, so transparent areas become solid.
Is the photo uploaded?
No. Compression happens in your browser and the file never leaves your device.

All Image Tools

AI Tools

Compress for Platform

Solutions by use case