Skip to content
ShapelessAI← All specs

mastodonUnicode code pointsVerified by Tal Weiss

Mastodon character limit and media specs

A Mastodon post holds up to 500 characters, with 4 images or 1 video. Every number below is the one our publishing engine enforces before a Mastodon post goes out, with the source it came from and the date we last read it.

Text[text]

Mastodon text limits
Max length500 Unicode code points
CountingCounted in Unicode code points: one plain character is one, and a link costs its full length.

Media

Mastodon media constraints by kind
ConstraintImages[image]Video[video]
Per post41
Formats.png, .jpg, .jpeg, .gif, .webp.mp4, .mov, .webm
Max sizenot publishednot published
Max length--
We publish ityesyes

We publish text, images and video here; PDF documents we do not deliver to Mastodon yet. One post carries images or a video, never both. A PDF deck degrades here into up to 4 slide images.

Mentions

Mastodon mention syntax
Syntax@user@instance

Full @user@instance links natively.

The guidance our own agent carries for Mastodon, verbatim.

How our publisher handles it

The notes our publishing engine carries for Mastodon, verbatim - what our adapter does, not only what the platform allows.

  • 500 is the mastodon.social default - self-hosted instances may differ.
  • Every link counts as 23 characters, however long the URL.
  • Up to 4 images OR one video, never both: Mastodon refuses a post that mixes video with anything else.
  • Images up to 16 MB and 33.2 megapixels, video up to 99 MB, 8.3 megapixels and 120 fps on mastodon.social; other instances set their own, and we hold each post to its own instance's published limits.

Questions

How long can a Mastodon post be?
500 characters. Counted in Unicode code points: one plain character is one, and a link costs its full length.
How many images can one Mastodon post have?
Up to 4: .png, .jpg, .jpeg, .gif, .webp.
What video does Mastodon accept?
1 video per post: .mp4, .mov, .webm.
How do you tag an account on Mastodon?
Write @user@instance. Full @user@instance links natively.

Sources, verified 2026-11-24

Each citation names where the number came from. Anything we could not confirm in an official document is marked, because a number nobody will stand behind should look different from one that is.

  1. [text]docs.joinmastodon.org entities/Instance (updated 2026-10-19) + mastodon.social /api/v2/instance: statuses.max_characters 500, characters_reserved_per_url 23docs.joinmastodon.orgverified 2026-11-08
  2. [image]same: statuses.max_media_attachments 4; media_attachments image_size_limit 16,777,216 bytes, image_matrix_limit 33,177,600 px; JPEG, PNG, GIF, WebP; upload POST /api/v2/media, 202 then poll (methods/media, updated 2026-05-01)verified 2026-11-08
  3. [video]mastodon.social /api/v2/instance: video_size_limit 103,809,024 bytes, video_matrix_limit 8,294,400 px, video_frame_rate_limit 120; supported_mime_types video/mp4, video/quicktime, video/webm; docs.joinmastodon.org user/posting (updated 2026-07-08): one video per post; github.com/mastodon/mastodon post_status_service.rb validate_media!: images_and_video refuses video mixed with other mediadocs.joinmastodon.orgverified 2026-11-24