UltKit

Compress Image to 400 KB

400 KB is a budget for a photo that still has to look good large: a full-width banner, a blog header or a zoomable product shot. It is also a safe target for forms that stop at 500 KB.

Compress Image

or drop JPG, JPEG, JFIF … files here ·

Max 95 MB per file· Up to 20 files· Deleted after 30 minutes

Compress to

Files are processed on our servers and deleted after 30 minutes.

How to use this tool

  1. 1

    Upload the photos

    Drop in camera JPGs, HEIC files from an iPhone, PNG exports or WebP images. Up to 20 at a time, each up to 95 MB.

  2. 2

    Check 400 KB and pick a format

    Target size is 400 KB; Output format keeps the original format unless you change it. Choose WebP or AVIF for a website that serves them, JPG for anything else.

  3. 3

    Press Compress

    Press Compress and download. Each result shows its final size, which is at or below 400 KB.

Answer

How do I compress a photo to 400 KB without making it small?

Upload it and press Compress. At 400 KB most photos keep around 1920 px or more on the long side, because the tool lowers quality before it touches the dimensions. Switching Output format to WebP or AVIF keeps even more pixels.

Where a 400 KB image makes sense

Most KB targets come from forms. This one mostly comes from the web. A banner across the top of a page, the featured image of a blog post or the main photo on a product page has to look sharp on a wide laptop screen, yet it is usually the element that decides how fast the page appears. Google's Core Web Vitals treat a Largest Contentful Paint under 2.5 seconds as good, and on a mobile connection a 400 KB hero image gets there far more easily than a 3 MB one.

Upload limits also play a part. Application forms, HR systems and listing sites often stop at 500 KB per image, and a 400 KB file passes them with a comfortable margin. Shopify recommends 2048 × 2048 px for square product images; a photo at that size usually fits in 400 KB as WebP with little visible loss.

A phone photo before and after 400 KB

Straight from a 12 MP phone camera

3–5 MB

4032 × 3024 px, high JPG quality, location and camera data inside

Around 90% smaller

Compressed on this page

≤ 400 KB

Typically about 2000 px wide, quality near 80, metadata removed

The figures are typical, not measured on your file, but the mechanics are fixed. The tool searches for the highest quality that fits under 400 KB; if even the Lowest quality allowed (40 by default) is too big, it reduces the width and height step by step. Camera metadata goes first, because Strip metadata is on by default, and Auto orient makes sure the photo still stands upright after the orientation tag is removed.

If you already know the display width, give it to the tool. Choose Set longest side under Resize first and enter 1920 or 2560, and the whole 400 KB goes into those pixels. For narrower layouts, compress image to 300 KB is a closer fit.

Compress image to 400 KB: settings worth changing

What to set for web photos

  • WebP or AVIF output for sites that serve them
  • JPG output for email, forms and print services
  • Progressive JPG on, so large photos render in passes
  • Keep color profile on for product colors
  • Set longest side to your layout width
  • Chroma subsampling on Auto for photos

400 KB image questions

What resolution can a 400 KB photo keep?

A typical landscape or product photo at 1920 × 1280 px fits in 400 KB as a JPG of good quality, and as WebP or AVIF it usually fits at larger sizes still. Detailed scenes such as foliage or crowds need more bytes per pixel, so the tool may settle a little lower.

Is 400 KB too big for a website image?

For a full-width hero image it is a reasonable ceiling, because it is usually the largest element on the page. For thumbnails, avatars or images in a sidebar it is far more than needed; compress image to 100 KB suits those.

Should I compress before uploading to WordPress?

Yes. WordPress makes several smaller copies of every upload, and since version 5.3 it scales images larger than 2560 px on either side down to that size. Uploading a 400 KB file at the size you need saves storage and gives you control over the quality instead of the default of 82.

Which format is smallest at the same quality: JPG, WebP or AVIF?

AVIF usually wins, WebP comes second and JPG last, and the gap is largest on smooth gradients like skies. JPG is still the format every app, email client and form accepts. The AVIF, HEIC and WebP explainer compares them in detail.

Can I compress several product photos to 400 KB each at once?

Yes. Each file in a batch of up to 20 is compressed to its own 400 KB target, so a small product photo is not squeezed further just because a large one was in the same batch.