Compress JPEG to 512 KB
512 KB is exactly half a megabyte, a limit many portals use. This page converts to JPEG and finds the best quality under 512 KB. Everything runs in your browser — nothing is uploaded. Need different dimensions instead? Resize or convert.
Why compress to 512 KB?
A 512 KB target is usually set for blog images, large web graphics and attachments. A JPG photo of around 1780×1330 pixels fits, with very good quality.
About 1780×1330 px fits
At medium quality a detailed JPG photo of roughly 1780×1330 pixels lands under 512 KB; at high quality about 1240×930.
Typical use
512 KB limits are common for blog images, large web graphics and attachments.
7× smaller than a phone photo
A 12 MP phone photo is around 3–4 MB, so it must shrink about 7×. The tool lowers quality first and resizes only if needed.
Quality to expect
At 512 KB, quality is very good. There is room for a sharp, full-screen photo.
Scans and documents
A scanned A4 page of about 2150×3040 pixels usually fits, because text pages compress far better than photos.
Exact limit, checked
512 KB is measured as 524,288 bytes (1 KB = 1,024 bytes), the way most upload forms count it, so the file is never just over.
512 KB at a glance
| Limit in bytes | 524,288 bytes |
|---|---|
| Photo at high quality | about 1240×930 px |
| Photo at medium quality | about 1780×1330 px |
| Photo at low quality | about 2410×1810 px |
| Scanned A4 document | about 2150×3040 px |
| Reduction from a 12 MP phone photo | about 7× |
| Output format | JPG |
| Typical use | Blog images, large web graphics and attachments |
Compress an image to 512 KB in 3 steps
- Add your image — JPG, PNG, WebP or a phone photo.
- The target is already set to 512 KB. Leave “Remove EXIF metadata” ticked to save extra bytes.
- Click Compress and download a JPG under 512 KB.
New to image compression? Read the full compression guide.
Why 512 and not 500?
Computers count in powers of two: 512 KB is half of 1024 KB, i.e. half a megabyte. Some forms say 512 KB; others say 500 KB. Use the number the form gives — a 510 KB file passes one and fails the other.
Output is always JPEG, the format most such forms require. PNG screenshots and WebP images are converted automatically.
Batch. Drop several files in; each is compressed separately to under 512 KB.
Keep your format instead: resize image to 512 KB. Slightly lower: 500 KB.
Other file-size targets
Nearby limits — each one opens the compressor already set to it:
Compress by format
Guides and presets for each format:
Compress under a file size
Keeps your image’s format — pick the limit you need:
JPEG under a file size
Frequently asked questions
Is 512 KB the same as 0.5 MB?
Yes, when 1 MB is counted as 1024 KB, which is how most upload forms count. This tool uses the same convention.
How many pixels fit in 512 KB?
For a detailed JPG photo, about 1780×1330 at medium quality or 2410×1810 at low quality. Simple graphics and scans can be much larger.
What quality will a 512 KB photo have?
Very good. There is room for a sharp, full-screen photo. The tool keeps the dimensions where it can and lowers compression quality first, so faces and text stay readable.
Is 512 KB the same as 512,000 bytes?
Not quite. Most forms count 1 KB as 1,024 bytes, so 512 KB is 524,288 bytes. The tool uses the same count, so a file it marks as under 512 KB is accepted.
Should I use JPG or WebP for 512 KB?
JPG is accepted everywhere and is the safe choice for forms. WebP holds about 30% more detail at the same size, ideal for websites that support it.
Why is my file still over 512 KB?
Very large or detailed images may not reach 512 KB by quality alone. Resize it first (for example to 1780 pixels wide) with the resizer, then compress again.
Are my images uploaded anywhere?
No. They are read and compressed by your own browser and never leave your device. You can disconnect from the internet once the page has loaded and it will still work.