Resize image to 31KB

Compress any photo to 31 KB or less. Free, private, and processed entirely in your browser.

Choose Image(s) or Drag & Drop Here

Supported: JPG • PNG • WebP • AVIF • HEIC • BMP
  • Runs in your browser
  • No upload
  • Free, no signup

31 KB is a hard limit for many upload fields. This preset aims at 31744 bytes or less and keeps as much detail as that budget allows.

At this size the budget is tight. A typical photo can hold only about 212 thousand pixels, roughly 530 × 400, so expect a small picture. That is fine for a signature, a thumbnail or a form photo, but not for a large print.

Target file size31 KB (31744 bytes)
DimensionsAuto: reduced only as needed
Best formatsJPG, WebP, AVIF (PNG is lossless)
Typical pixel budget≈ 0.21 MP (530 × 400 at 4:3)

What fits in 31 KB

File size depends on both pixel count and how much detail the picture holds. The estimates below use rules of thumb for photos saved as JPG at web quality (roughly 0.08 to 0.3 bytes per pixel); your own result will vary with the image.

A typical 12-megapixel phone photo is around 3.5 MB, so reaching 31 KB means roughly a 116× reduction. Most of that comes from reducing the pixel count, not only from lowering quality.

Kind of imageRoughly fits in 31 KB
Smooth image (sky, studio backdrop, flat graphics)730 × 550 px (0.4 MP)
Typical photo530 × 400 px (0.21 MP)
Detailed photo (foliage, text, crowds)380 × 280 px (0.11 MP)

How to stay under 31 KB with the best quality

  • Start from the original. Compressing a copy that was already compressed stacks artifacts on top of each other.
  • Crop first. Removing empty background means the same 31 KB is spent on the part of the picture that matters.
  • Use JPG or WebP for photographs. Keep PNG for flat-color graphics; a photographic PNG is usually many times larger than the same picture as a JPG.
  • Do not rename the file extension to change format. Choose the output format in the tool so the file is actually re-encoded.
  • Expect visible softness on detailed images. If a form lists both a size limit and minimum pixel dimensions, check them against the table above before you start.

About this size limit

Here 1 KB is 1,024 bytes, so 31 KB is 31744 bytes. Some systems count 1 KB as 1,000 bytes, which makes their limit about 2.3% smaller. If a portal is strict, choose a target a little below its stated limit; an extra margin costs very little quality.

How to resize an image to 31KB

  1. Add your image. Select a photo or drag it onto the box above. JPG, PNG, WebP, AVIF, HEIC and BMP files are accepted, and the file stays on your device.
  2. Check the 31 KB target. The editor opens with the target file size already set to 31 KB and the dimensions left on Auto, so the tool only reduces quality and size as far as it must.
  3. Pick an output format. JPG or WebP usually give the smallest result for photos. PNG is lossless, so it cannot be squeezed by lowering quality.
  4. Download and verify. Download the result and check its size in your file manager. If it is still above 31 KB, lower the pixel dimensions slightly or crop out unneeded areas and run it again.

Related presets

More in this category: Resize Image to a Target File Size. For several photos at once, use the bulk image resizer.

Frequently asked questions

How do I resize an image to 31KB without it looking blurry?▼
Upload the photo, keep the 31 KB target, and let the tool choose the settings. It lowers quality in steps and only reduces the pixel size if quality alone cannot reach 31 KB. The sharpest result comes from starting with the original file and cropping away areas you do not need before resizing.
How many pixels can a 31 KB image have?▼
For a typical photo at web JPEG quality, about 0.21 megapixels (around 530 × 400 pixels at 4:3). A flat, smooth image can have more; a very detailed one fewer. The table above gives the range.
What if the result is still larger than 31 KB?▼
Run the output through the preset again after reducing the dimensions, for example by cropping or by lowering the width. Converting PNG to JPG or WebP also helps greatly. Lastly, choose a target slightly below the limit the form states, as some systems count a kilobyte as 1,000 bytes.
Which format gives the smallest 31 KB file?▼
For photographs, WebP and AVIF are usually smallest at equal quality, followed by JPG. PNG is the largest for photos because it is lossless. If the upload form lists accepted formats, stick to JPG unless WebP is allowed.
Is my image uploaded anywhere?▼
No. ResizeAny decodes, resizes and re-encodes your picture inside your browser tab, so a photo you prepare for a 31 KB limit never leaves your device. You can confirm this in your browser's developer tools: the Network tab shows no upload request while you work.
Can I resize several images to 31 KB at once?▼
To prepare several photos with the same settings, use the bulk image resizer, which handles up to 10 images per batch and gives you a ZIP file.

Looking for a different size or format?

Explore over 1,500+ curated presets for social media, print, and strict file sizes.

Back to Presets Directory