MiniPx
Blog
🔒 Images never leave your browser

Compress images for social media

Optimal dimensions and file sizes for Instagram, Facebook, Twitter, and LinkedIn. Compress before posting for faster uploads and better quality.

📱
Open Social Media Compressor →

Recommended: JPEG format, Smart preset, 1920px max width

Compress Images for Social Media — Free, Fast & Private

Every social media platform recompresses your images after upload. Instagram, Facebook, Twitter, and LinkedIn all apply their own compression — and if you upload an already-large file, the double compression makes your images look noticeably worse. The solution: compress images to the platform's ideal dimensions and file size before uploading.

MiniPx lets you compress and resize images for any social media platform in your browser. No upload to external servers, no signup, no watermarks. Compress a single post image or batch process an entire content calendar's worth of graphics.

The general rule: upload images at exactly the platform's recommended dimensions (or 2x for high-DPI), compressed to 200-500KB in JPEG format. This gives the platform's compressor less work to do, resulting in a sharper final image. Uploading a 10MB photo does not make it look better — it actually makes it look worse because the platform compresses it more aggressively.

Social media image dimensions guide

PlatformPost typeDimensionsMax file size
InstagramFeed post1080 x 1080px30MB
InstagramStory / Reel1080 x 1920px30MB
FacebookFeed post1200 x 630px30MB
FacebookCover photo820 x 312px100KB ideal
Twitter / XIn-stream image1600 x 900px5MB
Twitter / XHeader1500 x 500px5MB
LinkedInPost image1200 x 627px5MB
LinkedInBanner1584 x 396px8MB

For Instagram specifically, check out our dedicated Instagram image resizer. For LinkedIn, see our LinkedIn image optimizer.

Why compress before uploading?

Social platforms recompress every image you upload. If you upload a 15MB photo, Instagram compresses it down to ~200KB — and the aggressive compression introduces visible artifacts, especially around text and sharp edges. If you upload a pre-compressed 300KB image at the right dimensions, the platform applies minimal additional compression and your image stays sharper. This is why professional social media managers always pre-optimize their images.

How it works

  1. Open MiniPx: Go to minipx.com in any browser. No download or signup.
  2. Add your images: Drag in your social media graphics. Batch process entire content calendars.
  3. Set platform dimensions: Use resize settings to match your target platform (see dimensions table above).
  4. Compress and download: Smart preset, JPEG format. Download individually or as a ZIP.

Frequently asked questions

What image size is best for Instagram?
Feed posts: 1080x1080px (square), 1080x1350px (portrait). Stories and Reels: 1080x1920px. Upload as JPEG compressed to 200-400KB for the sharpest results after Instagram recompresses.
What image size is best for Facebook?
Feed posts: 1200x630px. Cover photo: 820x312px. Event cover: 1920x1005px. Upload as JPEG. Facebook compresses all uploads, so pre-compressing gives you sharper results.
Does compressing images reduce social media quality?
No — it improves it. Social platforms recompress every upload. Pre-compressed images at the right dimensions undergo less additional compression, resulting in sharper final images with fewer artifacts.
JPEG or PNG for social media?
JPEG for photographs and most social content. PNG only for graphics with text overlays where you need maximum sharpness. Most platforms do not accept WebP uploads and will convert them.
Can I batch compress for social media?
Yes. Add all your content calendar images to MiniPx, set the right dimensions and format, and compress everything at once. Download as a ZIP.
What about Twitter/X image compression?
Twitter compresses images to under 5MB. For the best quality, upload JPEG images at 1600x900px compressed to 200-400KB. Twitter handles PNG images poorly for photographs — use JPEG.