- 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 size | 512 KB (524,288 bytes) |
|---|---|
| Dimensions | Auto: reduced only as needed |
| Best formats | JPG, WebP, AVIF (PNG is lossless) |
| Typical pixel budget | ≈ 3.5 MP (2160 × 1620 at 4:3) |
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 image | Roughly fits in 512 KB |
|---|---|
| Smooth image (sky, studio backdrop, flat graphics) | 2960 × 2220 px (6.55 MP) |
| Typical photo | 2160 × 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
- Start from the original. Compressing a copy that was already compressed stacks artifacts on top of each other.
- Reduce dimensions before quality if you have a choice. Fewer pixels at good quality looks better than many pixels at poor quality.
- 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.
- Check the result at 100% zoom, looking at faces and text, before you submit it.
About this size limit
Here 1 KB is 1,024 bytes, so 512 KB is 524,288 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 0.5MB
- 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.
- Check the 512 KB target. The editor opens with the target file size already set to 512 KB and the dimensions left on Auto, so the tool only reduces quality and size as far as it must.
- 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.
- Download and verify. Download the result and check its size in your file manager. If it is still above 512 KB, lower the pixel dimensions slightly or crop out unneeded areas and run it again.
Related presets
Same target, other wording
Nearby file-size limits
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 0.5MB without it looking blurry?▼
How many pixels can a 512 KB image have?▼
What if the result is still larger than 512 KB?▼
Which format gives the smallest 512 KB file?▼
Do I need an account, and does it add a watermark?▼
Can I resize several images to 512 KB at once?▼
Looking for a different size or format?
Explore over 1,500+ curated presets for social media, print, and strict file sizes.