Compress a Photo for Social Media
Every network re-encodes what you upload, so the file you hand it acts as a ceiling rather than a final result. The practical question is which control removes the most bytes with the least visible damage. On the 12-megapixel fixture used below, cutting the canvas to 1080x1080 produced a smaller file than dropping the quality preset to 30% at full size - and the order of the two steps decides what survives.
Try the free tool now
100% in your browser — no upload, no account, no watermark.
Open Compress a Photo for Social Media - Resize First, Then CompressTwo levers, one of them underused
Compress Image changes the encoder quality and leaves the dimensions alone, apart from a 4096-pixel cap. Resize Image changes the pixel count and keeps a fixed quality. Both reduce bytes, and they are not interchangeable: quality removes detail everywhere, while dimensions remove whole pixels that a feed will never display at their original size.
A 4000x3000 photo shown in a column a few hundred pixels wide is downsampled by the platform anyway. Compressing it at full resolution optimises an image whose extra pixels are discarded upstream, and it spends quality on detail nobody sees.
The run that changes the order of the steps
| Route on the same photo | Canvas | Format | Bytes |
|---|---|---|---|
| Original file | 4000x3000 | JPEG | 1,360,339 B |
| Compress Image, 50% preset | 4000x3000 | JPEG | 1,143,058 B |
| Compress Image, 30% preset | 4000x3000 | JPEG | 773,048 B |
| Compress Image, 30% preset | 4000x3000 | WebP | 446,612 B |
| Resize Image, square preset | 1080x1080 | JPEG | 347,048 B |
| Resize Image, square preset | 1080x1080 | WebP | 267,298 B |
The 1080x1080 JPEG is less than half the 30% preset file and about a third of the 50% preset file, while the square canvas is the one that actually matches a feed tile. Doing it the other way round also ends near this size, because the final resize dominates - but the intermediate file has already lost detail for nothing, and that loss survives the second encode.
What the presets cost at full resolution
Two presets and a format switch on the same 1,360,339-byte original:
| Setting | Bytes | Saved | Where it hurts |
|---|---|---|---|
| 50% preset, JPEG | 1,143,058 B | 16.0% | Fine texture in skin and sky |
| 30% preset, JPEG | 773,048 B | 43.2% | Edges, small text, foliage |
| 30% preset, WebP | 446,612 B | 67.2% | Same artefacts, fewer of them |
WebP at the 30% preset beats JPEG at the same preset by 326,436 bytes. Where the destination accepts WebP, the format switch does more than a further drop in quality would, and it does it without touching the canvas.
Where Compress to Size stops
Compress to Size takes a target in kilobytes and searches quality downward until the file fits. On the same photo:
| Target | Result | Quality used | Outcome |
|---|---|---|---|
| 500 KB | 492,520 B | 15% | fits |
| 300 KB | 284,706 B | 6% | fits |
| 100 KB | 249,910 B | 5% | does not fit |
The third row is the failure case worth remembering. Quality 5 is the bottom of the search range, and even there the file is 249,910 bytes. A 100 KB target is unreachable for this image without changing its dimensions, so the resize is the missing step rather than a different setting.
Reading a quality of 15 percent
The number sounds catastrophic and, at full resolution, it is: 15% was chosen only because nothing higher fitted under 500 KB. On a 1080x1080 canvas the same scene keeps far more detail per byte, so a moderate quality on a small canvas reads better than a low quality on a large one. A 347,048-byte square and a 492,520-byte full-size file are not equal in appearance just because the byte counts are close.
The practical check is to view the export at the size it will be displayed, not at 100% on a desktop monitor. Blockiness that is obvious across 4000 pixels can be invisible in a tile a few hundred pixels wide.
Order of operations that holds up
- Pick the canvas first - 1080x1080 for a square tile, 1080x1350 for a portrait post, the placement's own width where it is known.
- Resize the original to that canvas with the aspect lock on, so nothing stretches.
- Compress the resized file only if it still sits above the budget you set.
- Export WebP where the destination accepts it and keep JPEG as the fallback.
- Keep the original and never recompress an existing export.
Network requirements differ and change, so this page quotes no per-platform pixel or byte limit: none was verified for it. The tool limits are concrete - 20 MB per upload in Compress Image, presets at 90, 70, 50 and 30 percent, 50 MB and targets from 5 to 20,000 KB in Compress to Size, and 20 free operations per day.
About this guide
- Written by
- The ImageTools Pro team
- Last reviewed
- October 2026
- How we test
- Steps run in a real browser on real PNG, JPEG and WebP files
We revise this page whenever browser APIs, format support or recommended settings change. Corrections are welcome — tell us from the contact page.
Tools we recommend
Frequently Asked Questions
Is it better to resize or to compress first?
Resize first when the canvas is larger than the destination. On the 12-megapixel fixture, 1080x1080 at the resize tool's fixed quality gave 347,048 bytes, less than the 30% preset at full size with 773,048.
Why did a 500 KB target use quality 15?
The search starts high and steps down until the encoded file fits. For this photo, 15% was the first setting under 500 KB, and the result was 492,520 bytes.
Can a photo be compressed to 100 KB?
Not this one. At the minimum quality of 5 the output was 249,910 bytes, so the target cannot be reached without reducing the pixel dimensions.
Does compressing for social media remove metadata?
Yes. The canvas re-encode drops EXIF, including the camera model and any GPS position.
How many images can I process per day?
Twenty free operations per browser per day, counted for each tool run.