Resize an image to 400 KB

Drop a photo and it is compressed to at most 400 KB (409,600 bytes) automatically: the tool searches for the highest quality that fits, then reduces the pixel size only if it must.

Original: no image yet
Choose an image to start

Resized preview

Private by design: your image is opened, edited and saved by your own browser with the Canvas API. It is never uploaded to a server, and the page keeps working offline once loaded.

How to make an image 400 KB

  1. Choose or drop the image. JPG output is preselected because it compresses photos best.
  2. The size limit is already set to 400. The tool tries quality values by binary search (7 steps) and keeps the best one under 400 KB.
  3. If even very low quality is too big, it reduces width and height and searches again; the note under the result tells you what changed.
  4. Download. Check the result size shown above the preview.

How many pixels fit in 400 KB?

A JPEG’s size is roughly pixels × bits per pixel ÷ 8. Bits per pixel depend on detail and quality, so these are rough planning numbers, not guarantees:

Image typeTypical ratePixels that fit4:3 sizeSquare
simple graphic / document scan, quality 700.6 bits/pixel5.46 MP2,698 × 2,0232,336 × 2,336
average photo, quality 701.2 bits/pixel2.73 MP1,908 × 1,4311,652 × 1,652
average photo, quality 852 bits/pixel1.64 MP1,478 × 1,1081,280 × 1,280
detailed photo, quality 903.2 bits/pixel1.02 MP1,168 × 8761,011 × 1,011

400 KB is a typical limit for web pages, blog images and listings where fast loading matters. Most photos reach this size at around 1000–2000 px wide with good quality.

KB vs kB

This tool counts 1 KB as 1024 bytes, which is how most upload forms and operating systems measure. If a form uses 1 kB = 1000 bytes, 400 KB means 400,000 bytes, so the file here will also pass.

Smaller: 300 KB. Larger: 500 KB.

Frequently asked questions

How do I reduce a photo to 400 KB without losing quality?
Remove pixels you do not need first: crop to the subject and resize to the display size. The fewer pixels, the higher the quality that fits in 400 KB.
Why can a PNG not be compressed to 400 KB?
PNG is lossless and has no quality setting. Choose JPG or WebP, or reduce the dimensions.
Will the 400 KB file still be accepted as JPG?
Yes. It is a standard baseline JPEG produced by your browser.