OnlineAITool
Platform Specs

X (Twitter) Header — 1500 × 500

Your profile photo overlaps the lower left of the header, and the header is cropped vertically on mobile.

Target: under 2 MB
Dimensions: 1500 × 500 px
Choose your photograph or drag it here output 1500 × 500 px · under 2 MB · JPG, PNG, WebP or HEIC in · JPEG out · paste from the clipboard works too

How to use this tool

  1. Choose your photograph, or drag it onto the box above. It is cropped to fill 1500 × 500 px from the centre — never stretched, so faces keep their proportions.
  2. There is nothing to set. This page is already fixed at 1500 × 500 px, under 2.00 MB, JPEG.
  3. It crops to exactly 1500 × 500 px without stretching anything, then adjusts quality until the file fits.
  4. Check the output dimensions read exactly 1500 × 500 px, then download. If the size limit could not be met at those fixed dimensions, the panel says so rather than quietly shrinking the image.

Social platforms crop the same image differently across desktop, mobile and app surfaces. Getting the dimensions right is the easy half; keeping important content out of the crop zones is the half people miss.

X (Twitter) Header — 1500 × 500 — the specification

Source: help.x.com Last verified: 2026-08-30 Not fully verified — confirm against the current official notification before you upload.
Dimensions1500 × 500 pixels
Aspect ratio3:1
Maximum file size2 MB
FormatsJPG, PNG, GIF

X (Twitter) Header — 1500 × 500: why uploads get rejected

Getting under the limit is the easy half. The 1500 × 500 pixel box has to be right as well, and several other things are checked before a human sees the file:

  • Content in the lower left is hidden behind the avatar.
  • The file exceeds 2 MB.

How it works

Hitting a size limit exactly is a search problem, not a setting. There is no quality value that means “2.00 MB” — how many bytes a given quality produces depends entirely on the picture. So this tool encodes, measures the real file, and adjusts.

Here the dimensions are fixed at 1500 × 500 px by the specification, so scaling is not available as a lever. Everything has to come from the quality setting, and the tool reports honestly when the two requirements cannot both be met.

Where the first attempt already fits — as it did on the reference file below, at 204.4 KB — the search stops immediately rather than compressing further for no reason.

The crop, the resize and every encode happen on your own device through the browser’s canvas API. A photograph for an official form is not a file worth handing to someone else’s server, and this page never receives it.

A measured run of this exact preset

Not an estimate: this page’s own code, run against a 12.2 MP photograph and an A4 scan at 200 dpi, with every encode recorded. The files and the method are published here.

InputResultChangeOutcome
12.2 MP photograph
3024 × 4032 px · 2.94 MB
204.4 KB
1500 × 500 px
93% smallerUnder the 2.00 MB limit
A4 scan at 200 dpi
1654 × 2339 px · 996.0 KB
254.2 KB
1500 × 500 px
74% smallerUnder the 2.00 MB limit

Step by step

The dimensions here are fixed by the specification (1500 × 500 px), so the image cannot be scaled to help. The file size has to come from quality alone.

The first attempt, at quality 0.96, produced 204.4 KB — already inside the 2.00 MB allowance, so no search was needed. One encode and it was done.

Final file: 204.4 KB, using 10.0% of the allowance, with 1.80 MB to spare.

Who needs X (Twitter) Header — 1500 × 500

Anyone preparing images for this placement who wants the exact dimensions rather than an approximation that gets cropped or scaled by the platform.

X (Twitter) Header — 1500 × 500 — frequently asked questions

What are the correct dimensions?

1500 × 500 pixels. This tool outputs exactly that.

Why does my image get cropped?

Platforms display the same upload at different ratios depending on the surface — desktop, mobile web, and app all differ. Keep essential content away from the edges.

Does the platform re-compress my image?

Almost always. Starting from a correctly sized, good-quality file gives the best final result, because it avoids a resize stacked on top of a re-encode.

Why does the output have a white background?

Transparency cannot survive as JPEG, so transparent areas are filled rather than turned black. White is what forms and ID photos expect. If you need transparency kept, use a PNG tool instead.

Which file types can I upload?

JPG, PNG, WebP, GIF, BMP and HEIC from an iPhone all go in. The output here is JPEG. Conversion happens as part of the process, so there is no need to convert first.

Does this work on a phone?

Yes, including photos straight from your camera roll. The work happens on the device, so a very large image is slower on a phone than on a laptop, but nothing is uploaded either way.

Related tools

From other categories

Your photo is not sent to us. Identity documents are exactly the kind of file worth keeping off other people's servers, and this page never receives yours — how that works.

Disclaimer. The X (Twitter) Header specification above is taken from help.x.com and was last checked on 2026-08-30. Requirements change between cycles — confirm against the official notification before you submit. Full disclaimer.