Resize image to 512KB

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

Choose Image(s) or Drag & Drop Here

Supports JPG, PNG, WebP, AVIF, BMP, SVG, and HEIC.

  • Runs in your browser
  • No upload
  • Free, no signup

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

That is generous: a typical photo can keep around 3.5 megapixels (about 2160 × 1620 pixels) within the limit. Many phone photos already come close, so the tool mainly trims excess quality.

Target file size512 KB (524,288 bytes)
DimensionsAuto: reduced only as needed
Best formatsJPG, WebP, AVIF (PNG is lossless)
Typical pixel budget≈ 3.5 MP (2160 × 1620 at 4:3)

Related guide: How to Reduce an Image to 20KB, 50KB or 100KB for Forms

What fits in 512 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 512 KB means roughly a 7× reduction. Most of that comes from reducing the pixel count, not only from lowering quality.

Kind of imageRoughly fits in 512 KB
Smooth image (sky, studio backdrop, flat graphics)2960 × 2220 px (6.55 MP)
Typical photo2160 × 1620 px (3.5 MP)
Detailed photo (foliage, text, crowds)1530 × 1140 px (1.75 MP)

How to stay under 512 KB with the best quality

  • Reduce dimensions before quality if you have a choice. Fewer pixels at good quality looks better than many pixels at poor quality.
  • Check the result at 100% zoom, looking at faces and text, before you submit it.

Related presets

Same target, other wording

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 many pixels can a 512 KB image have?▼
For a typical photo at web JPEG quality, about 3.5 megapixels (around 2160 × 1620 pixels at 4:3). A flat, smooth image can have more; a very detailed one fewer. The table above gives the range.

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

Send feedback

How do you like ResizeAny?
What is it about?

With your message we send the page address, screen size and browser, to help fix problems. Your images are never sent. Privacy