CompressImg

Resize Image for Twitter / X

Select your format, upload your photo — resized instantly to exact Twitter dimensions

Drop image here or click to upload

JPG, PNG, WebP, HEIC — max 20MB

⚡ Resized instantly·🔒 Files never leave your device·✓ Free, no sign-up

Official Twitter / X Image Size Requirements

Twitter (now rebranded as X) displays images across the feed, profile, and link previews at different dimensions. Uploading at the correct pixel dimensions prevents Twitter from resampling your image and adding compression artifacts. Here are the exact specifications for every Twitter image type:

Image typeDimensionsRatioNotes
Post Image (single)1200×675px16:9Displays full-width in feed
Post Image (2 images)1200×675px each16:9Twitter crops to 1:1 in preview
Header / Banner1500×500px3:1Cropped differently on mobile
Profile Picture400×400px1:1Cropped to circle by Twitter
Twitter Card (link)1200×628px1.91:1og:image for link previews
In-stream Photo (max)5120×4096pxAnyMax upload size, shown cropped in feed

Twitter accepts JPG, PNG, GIF, and WebP. Maximum file size is 5MB for photos and 15MB for GIFs. Images wider than 1280px are downscaled by Twitter.

How to Resize an Image for Twitter — 3 Steps

  1. 1

    Select your Twitter image type

    Choose the format at the top — Post Image (1200×675), Header (1500×500), Profile Picture (400×400), or Twitter Card (1200×628). Post Image is the best default for tweet photos — it displays at full width in the feed.

  2. 2

    Upload your image

    Click the upload area or drag and drop your JPG, PNG, WebP, or HEIC file. HEIC photos from iPhone are automatically converted to JPEG. Processing starts immediately.

  3. 3

    Download and post to Twitter / X

    Download the resized image and attach it to your tweet, or upload it as your profile picture or header. The dimensions match what Twitter expects — no further cropping occurs.

Twitter Post Image Ratios — Which Displays Best

Twitter supports multiple aspect ratios for post images, but they display differently in the feed. The ratio you choose affects how much vertical space your tweet takes up — and therefore how much attention it receives.

1200×675px — 16:9

Optimal

Displays at full width. Maximum visual real estate in the feed. Best for photos, screenshots, and graphics.

1200×1200px — 1:1

Good

Square format. Slightly more compact than 16:9 but works well for product shots and illustrations.

1080×1350px — 4:5

Cropped

Twitter crops portrait images to 16:9 in the feed preview. The full image is visible after clicking.

Twitter Header — Safe Zone Guide

The Twitter header (1500×500px) is your profile's most visible branding asset. It displays differently on desktop and mobile, and your profile picture circle overlaps the bottom-left corner. Understanding these overlaps prevents important content from being obscured.

  • Bottom-left is covered by profile picture. Your profile circle overlaps the bottom-left roughly 200×200px. Keep logos and text away from the bottom-left corner.
  • Mobile crops the sides. On mobile, Twitter shows a taller crop of the header, cutting the left and right edges. Keep important content horizontally centered.
  • Safe zone: center 1260×420px. Content within this area is visible on both desktop and mobile, clear of the profile picture overlap.

Does Twitter Compress Images?

Yes. Twitter converts all uploaded images to JPEG or WebP depending on the viewer's browser, applying its own compression. The compression is noticeable on images with fine text or gradients. To minimize quality loss:

  • Upload PNG for graphics with text. Twitter serves PNG images to browsers that support it, preserving sharp text better than JPEG. For photos, JPEG is fine.
  • Keep file size under 5MB. Twitter rejects images over 5MB. A 1200×675 JPEG at quality 90 is typically 150–350KB — well within the limit.
  • Upload at 1200×675px for post images. Twitter resamples images outside the expected ratio, adding a second compression pass. Exact dimensions skip the resampling step.

Twitter Card Images for Link Previews

When you share a URL on Twitter, the platform fetches the page's Open Graph (og:image) tag and displays it as a Twitter Card. Twitter Cards appear at 1200×628px in a summary_large_image card format. If your website's og:image is not set or is the wrong size, Twitter falls back to a small square thumbnail — significantly reducing click-through rates.

Use this tool to resize your og:image to 1200×628px before setting it on your website. This ensures your shared links show the full-width Twitter Card format instead of the small fallback.

iPhone HEIC Photos — Twitter Ready

Twitter does not accept HEIC files. When you try to upload a HEIC photo directly to Twitter from a desktop browser, the upload either fails silently or shows a format error. This tool accepts HEIC files and converts them to JPEG before resizing — no extra step needed.

Tips for High-Performing Twitter Images

  • Always attach an image to important tweets. Tweets with images get 150% more retweets than text-only tweets. Even a simple branded graphic outperforms a plain text post.
  • Use 16:9 for maximum feed height. A 1200×675px image takes up the most vertical space in the Twitter feed, giving your tweet more scroll-stopping power than a square or portrait image.
  • Add alt text to all images. Twitter allows alt text on uploaded images. Alt text improves accessibility and may influence how Twitter's algorithm understands your content.
  • Use PNG for screenshots and slide-style graphics. Twitter compresses JPEGs heavily for text-heavy images. Uploading as PNG preserves sharp text in graphics and screenshots.

Privacy — Your Photos Never Leave Your Device

All resizing happens 100% in your browser using the HTML5 Canvas API. Your images are never uploaded to a server, never stored, and never analyzed. There is no cloud account, no retention policy, and no third-party access of any kind.

Frequently Asked Questions