How to use the Mastodon Post Counter
- Type or paste your post into the post box.
- If you use a content warning, type it in the second box. Its characters are counted with the post.
- If your server uses another limit, enter it in the server limit box. The default is 500.
- Read the bar and the link and mention counts, then shorten the post if it is red.
The counting rules
The Mastodon documentation says the default limit is 500 characters, that a link counts as 23 characters whatever its length, and that a mention counts only the username part. The server code behind it counts grapheme clusters, so an emoji is one character, and it includes the content warning text in the total. A link is only recognised when it starts with http:// or https://, so a bare domain such as example.com is counted letter by letter.
Worked example: "See https://example.com/a/very/long/path" counts "See " as 4 plus 23 for the link, 27 in all. The post "@alice@mastodon.social hi" counts as "@alice hi", which is 9.
Servers can differ
Each server administrator can change the limit, so 500 is a default and not a promise. Check the limit shown in your own composer and enter it in the server limit box. The link and mention rules in this tool follow the default server code and a modified server may differ.
Frequently asked questions
What is the Mastodon character limit?
The default is 500 characters. Server administrators can set a different limit, so check your own server.
How long is a link on Mastodon?
Every link counts as 23 characters, however long the address is. Only addresses that start with http:// or https:// are treated as links.
How is a mention counted?
As the at sign and the username only. The server name after the second at sign is not counted.
Does the content warning count?
Yes. The server adds the content warning text to the post text, and the total must stay within the limit.
Is an emoji one character?
The server counts grapheme clusters, so a single emoji counts as one even when it is built from several code points.
Sources
Last reviewed