Mastodon image size is fixed for two pictures: avatars are scaled to 400 × 400 and headers to 1500 × 500, each from a file of no more than 2 MB. Pictures in posts are more flexible; the tool offers a common 1920 × 1080.
Because Mastodon scales rather than asks, its documentation says only that uploads are downscaled to those sizes. A picture made at the exact size first leaves nothing to chance.
Quick facts
Avatar, header and post sizes
| Mastodon picture | Size | Shape | File limit | Size from |
|---|---|---|---|---|
| Profile picture | 400 × 400 | 1:1 | 2 MB | Mastodon |
| Header | 1500 × 500 | 3:1 | 2 MB | Mastodon |
| Post image | 1920 × 1080 | 16:9 | 16 MB | Common size |
The avatar and header rows are the sizes Mastodon’s own documentation gives. The post picture is a common size, 16:9, which Mastodon does not set; its documentation gives a file limit of 16 MB for pictures in posts and scales very large ones down.
How to prepare pictures for Mastodon
- 1
Avatar or header
Profile picture makes your avatar; Header makes the wide strip on your profile; Post image suits something you attach to a post or a reply.
- 2
Match the shape first
Move the picture and set the zoom so the right part sits in the frame. Mastodon will still scale it, but at the right shape nothing else changes.
- 3
Upload it to your profile
Save the file and add it when you edit your profile on your Mastodon server, or attach it to a new post.
What Mastodon does on upload
Upload a larger avatar and Mastodon downscales it to 400 × 400; upload a larger header and it becomes 1500 × 500. If your picture is not the same shape, the result is up to the software. Cropping it here first means Mastodon only has to shrink, or not even that, and the face stays where you put it. It also keeps you inside the size rule: Mastodon takes avatars and headers up to 2 MB, and the tool says straight after saving if a file is heavier than that.
Pictures in posts
Mastodon’s documentation says the focal point you set on an attachment decides how its preview thumbnail looks when the preview is not shown at 16:9. Set one on each picture, or crop it to 1920 × 1080 here so the picture already has that shape and the preview has less to guess.
Mastodon recommends a description on every picture. It appears when the image fails to load and is read by screen readers, so write what the picture shows, not just what it is about. A crop helps here too: a picture with one clear subject is easier to describe in a sentence than a busy wide shot.
Designing the header strip
At 1500 × 500 the header is a 3:1 strip. A landscape, a pattern or a single colour with your name works; an upright photo does not, because so little of its height fits. Keep anything important near the middle and check your profile on a phone after saving. If the header is mostly a flat colour or a simple graphic, PNG keeps its edges clean and still stays light; for a photo, JPG is the safer choice under the cap.
Writing the post
Mastodon counts characters its own way, and the Mastodon post counter applies that rule. For a styled display name, try the Mastodon font generator.
Mastodon picture tips
- Small file caps
Avatars and headers have to fit in 2 MB each. Save photos as JPG, and the tool tells you if a file is still over.
- Set a focal point
When you attach a picture to a post, Mastodon lets you choose a focal point, which decides how its preview is cropped when it is not shown at 16:9.
- Describe it
Add a description to each attached picture. Mastodon shows it when the image does not load, and screen readers read it aloud.
- Wide header, narrow band
A 3:1 header is 3 widths of its own height; from an upright photo only a slim slice survives.
FAQ
How large is the Mastodon header image?
1500 × 500. Mastodon scales any header down to that size and accepts WEBP, PNG, GIF or JPG files up to 2 MB.
What size does Mastodon make my avatar?
400 × 400, the size Mastodon scales avatars down to, with the same 2 MB limit as the header.
How big can a picture in a Mastodon post be?
Files up to 16 MB in PNG, JPG, HEIF, WEBP or AVIF. Mastodon’s documentation says very large pictures are scaled down; the 1920 × 1080 common size is comfortably below that point.
Does the resizer upload my avatar to a server?
No server sees it, ours or your Mastodon server, until you upload it yourself. The crop runs in your browser; on our side there is a usage note and no image.
Can my Mastodon avatar be a GIF?
Mastodon accepts GIF files for avatars. This tool saves PNG or JPG, so keep the original GIF if that is what you want to use.
Why choose JPG for a Mastodon header?
Photographs stored as PNG grow heavy, and at 1500 × 500 one can exceed the 2 MB cap. JPG keeps it well under, and the tool tells you after saving if a file is over.
Do I need alt text on Mastodon?
It is optional, but Mastodon recommends it: the description is shown when an image fails to load and read aloud by screen readers.
Why is my Mastodon header blurry?
The band of the picture you kept was narrower than 1500 pixels, so it was stretched to fill the header. Start from a wider picture.
Profile set, posts planned
Schedule Mastodon posts from one calendar together with your other networks, so your followers on the fediverse hear from you on time.
Each network is in the same plan, accounts are unlimited, and there is no charge for the first 30 days.
More free tools
Mastodon Font Generator
Shows your words in 117 styles to paste into posts, replies and your display name on Mastodon.
Mastodon Bold Text Generator
Turns your words into 12 bold styles to paste into posts, replies and your display name on Mastodon.
Mastodon Character Counter
Counts text the way Mastodon counts it, against its 4 limits, starting with the post’s 500.
Photo Resizer
Crops and resizes a picture to each network’s sizes, without uploading it.