Social Media Image Resizer

Media Client-side image resize crop social media instagram facebook twitter story canvas drag

This tool runs entirely client-side, in your browser: your data is never sent anywhere.

What it does

Instantly resizes and crops an image to match the exact dimensions required by popular social media platforms — Instagram posts and stories, Facebook covers, Twitter/X posts, LinkedIn banners, YouTube thumbnails, and more. Everything happens in your browser using the HTML5 Canvas API: your image is never uploaded anywhere.

Unlike a simple auto-crop, this tool shows an interactive preview where you can drag the image to reposition it and use a zoom slider to fine-tune exactly which part of the picture ends up in the final crop, before exporting.

Try it

How it works

  1. You pick an image file — it's loaded locally into an <img> element using URL.createObjectURL(); the file never leaves your device.
  2. When Fit mode = Cover, an interactive editor appears: a preview frame at the target format's aspect ratio, with your image drawn inside it, scaled just large enough to always fully cover the frame.
  1. When you click Convert, a <canvas> is created at the exact target pixel dimensions, and the same pan/zoom transform you set up in the editor is reproduced at full resolution — so what you see in the editor is exactly what you get, at the target size.
  2. Contain and Stretch modes don't need manual positioning (the whole image is always kept), so the editor is hidden for those modes.
  3. The canvas is exported with canvas.toBlob() in your chosen format (PNG, JPEG, or WebP) and quality, and offered as a downloadable file via an object URL.

Supported formats

PlatformFormatDimensions
InstagramSquare post1080×1080
InstagramPortrait post1080×1350
InstagramLandscape post1080×566
InstagramStory / Reel1080×1920
FacebookShared link1200×630
FacebookCover photo820×312
Twitter / XPost1600×900
Twitter / XHeader1500×500
LinkedInPost1200×627
LinkedInBanner1584×396
YouTubeThumbnail1280×720
YouTubeChannel art2560×1440
TikTokVideo cover1080×1920
PinterestPin1000×1500

Notes