How to Batch Resize Images for Social Media Quickly
Every social platform has different image dimension requirements. The 2026 guide to resizing for Instagram, X, LinkedIn, and more — without losing quality.
Upload the wrong image size to a social platform and you'll see it cropped, zoomed, or blurred by the platform's auto-processing. Getting dimensions right the first time avoids quality loss and ensures your images display exactly as designed.
2026 Social Media Image Size Reference
- ●Instagram Feed (Square): 1080×1080px
- ●Instagram Feed (Portrait): 1080×1350px — fills more screen real estate
- ●Instagram Stories / Reels: 1080×1920px
- ●X / Twitter Post: 1600×900px (displayed at 1200×675)
- ●LinkedIn Post: 1200×627px
- ●LinkedIn Profile Banner: 1584×396px
- ●Facebook Post: 1200×630px
- ●YouTube Thumbnail: 1280×720px
- ●Pinterest Pin: 1000×1500px
The Right Workflow: Resize Once, Compress Once
Quality is lost when you upscale a small image, when you recompress an already-compressed JPEG multiple times, or when you scale down and compress at a low quality. The correct workflow: start from your highest-quality source → resize to target dimensions → compress once at the end.
Always keep the original source file. Never use a social media download as your master — every platform recompresses images on upload, and you lose quality each generation.
Batch Resizing with ImageMagick
# Resize all JPEGs to Instagram square (crop from centre)
mogrify -resize 1080x1080^ -gravity center -extent 1080x1080 *.jpg
# Resize to fit within dimensions (letterbox, no crop)
mogrify -resize 1080x1080 -gravity center \
-background white -extent 1080x1080 *.jpg
# Batch convert for multiple platforms
for size in "1080x1080" "1080x1350" "1600x900"; do
mkdir -p output/$size
convert input.jpg -resize "\${size}^" -gravity center \
-extent $size "output/$size/image.jpg"
doneFile Size Targets After Resizing
- ●Instagram: target 100–300KB — the platform recompresses on upload but a reasonable source file helps
- ●X / Twitter: platform compresses to JPEG ~85; save at high quality and let it handle the rest
- ●LinkedIn: under 1MB is plenty for the 1200×627px format
Use our image resizer to set exact pixel dimensions, then run through the image compressor to hit your target file size.
Ready to try it?
All tools run entirely in your browser — no uploads, no account required.
Resize Image