Compress a photo to a target size

Keep the original pixel dimensions, or set an exact width and height. Check the actual file size before saving your JPG.

Choose a photo

Your photo is processed in this browser. The photo file stays on your device.

Output settings

Target file size
Units and size limits

Pixel dimensions

OutputJPGTransparent areas become white

Choose a photo to begin.

File size and pixel dimensions

A 100 KB file limit and a 413 × 531 px dimension requirement are separate conditions. PixelFit checks both when you set exact dimensions.

JPG compression can reduce detail while keeping the same dimensions. Review the result at actual pixel size.

Fix upload rejections and photo size issues

Common questions

Does keeping the pixels preserve image quality?

JPG compression can simplify colors and fine detail while preserving width and height. Inspect the result before saving.

Why is the result still too large?

Large or detailed photos may exceed the target even at the lowest quality used by this tool. Increase the target or allow smaller dimensions when your destination permits it. Exact-dimension mode keeps the dimensions you entered.

Can I use this for an official ID or passport photo?

Enter the requirements published by your issuing authority. PixelFit checks bytes and dimensions. Background, face proportions, recency and editing rules need separate review.

What about DPI, HEIC and animated images?

This tool sets pixel dimensions and creates a new JPG. It does not set DPI. HEIC must be converted first. Animated WebP becomes a single still image. Original metadata and color profiles may change.

Photo at actual pixel size

Scroll to inspect the full image.