How to Compress Images for Social Media

Updated June 2026 · 4 min read

You export a photo from Lightroom, upload it to Instagram, and it looks... soft. Muddy. The platform re-compressed your already-perfect image and made it worse. Here's the fix: compress to each platform's exact specifications before uploading, so their algorithms barely touch your file.

The Hidden Problem: Platform Re-Compression

Every social platform re-compresses uploads. They have to — they store billions of images and serve them to users on slow connections. If your file exceeds their size or dimension thresholds, their compression kicks in aggressively. But if you deliver an image already optimized to their specs, the re-compression is minimal or skipped entirely. Your image stays sharp.

Optimal Image Specs by Platform (2026)

PlatformMax ResolutionMax File SizeBest FormatQuality Sweet Spot
Instagram (feed)1440×18008 MBJPG85%
Instagram (stories)1080×19208 MBJPG80%
Facebook2048 px wide15 MBJPG85%
Twitter/X1600×9005 MBJPG or PNG85%
LinkedIn1200×6278 MBJPG85%
TikTok (cover)1080×19202 MBJPG75%
Pinterest1000×150010 MBJPG or PNG80%

At the quality levels above, most people can't tell the difference between the compressed version and the original — but the file size drops by 50-80%.

3 Rules for Every Platform

  1. Resize before compressing. Don't upload a 6000×4000 photo and let Instagram scale it. Use the exact dimensions the platform displays at. An 8MP source scaled to 1.2MP at 85% quality looks better than letting the platform do both steps.
  2. JPG is still king for photos. Despite all the WebP and AVIF hype, social platforms universally accept and handle JPG best. PNG is fine for graphics with text, but for photos — JPG at 85%.
  3. SRGB color space only. Exporting in Adobe RGB or ProPhoto RGB? The platform will convert to sRGB — and the conversion is often ugly. Export in sRGB from the start.

Quick Workflow

Resize to the platform's target dimensions → compress with Compress2PNG at 80-85% quality → upload. Two steps, under 30 seconds. Your images will look sharper than 90% of what's in the feed because the platform's compressor isn't fighting your file.

One Exception: Don't Over-Compress PNG Screenshots

If you're sharing a UI screenshot or an infographic with text, use PNG — not JPG. JPG's compression creates ringing artifacts around text that make it hard to read. Compress the PNG losslessly instead. The file will be larger than a JPG equivalent, but the text stays crisp.