"Character limit" means something different on every network. X weighs characters, Threads counts emoji by bytes, Bluesky counts graphemes and caps bytes, and TikTok counts UTF-16 units. If your code uses text.length for all of them, some posts will fail. This page lists each limit with the network's own source, checked on 4 December 2026.
The limits at a glance
| Network | Text limit | Unit and extras |
|---|---|---|
| X | 280 weighted characters | Every URL counts as 23 characters (t.co). Emoji and CJK characters count as 2. |
| 3,000 characters | The Posts API states no separate number for commentary. | |
| No limit published by Meta | The Pages API docs state no maximum for message. | |
| 2,200 characters | Max 30 hashtags. Max 20 @ tags. Needs an image or video. | |
| Threads | 500 characters | Emoji count as their UTF-8 byte length. Max 5 unique links. One topic tag per post. |
| Bluesky | 300 graphemes | Max 3,000 bytes (UTF-8). Links count in full in the text. |
| TikTok | 2,200 UTF-16 units (video title) | Photo posts: title 90, description 4,000. Needs a video or photos. |
| YouTube | Title 100, description 5,000 | No < or > characters. Needs a video. |
Why the units differ
A JavaScript string is a list of UTF-16 code units. One visible character can be one unit (a), two units (most emoji), or many units joined together (a family emoji is several emoji glued with zero-width joiners). Networks pick different ways to count:
- Code points: each Unicode scalar counts once. A simple way to approximate "characters".
- Graphemes: what a reader sees as one character. Bluesky uses this. In JavaScript, use
Intl.Segmenterwithgranularity: "grapheme". - UTF-16 units: what
string.lengthreturns. TikTok's docs call these runes. - UTF-8 bytes: the size of the text on the wire. Bluesky caps it, and Threads uses it for emoji.
- Weighted: X gives each character a weight of 1 or 2 and replaces links with a fixed length.
X: 280, weighted
X allows 280 characters, but not every character costs the same. Per the X counting characters documentation, every URL is wrapped by t.co and counts as 23 characters however long it is. Chinese, Japanese and Korean characters weigh 2, which allows 140 of them. Emoji also weigh 2, and zero-width joiners inside an emoji sequence add nothing.
In practice: a post with two links has 234 weighted characters left for text. A post in Japanese fits roughly half as many characters as one in English.
Threads: 500, emoji by bytes
The Threads API posts documentation limits text posts to 500 characters and counts each emoji as its number of UTF-8 bytes. A simple smiley is 4 bytes, so it uses 4 of the 500. A family emoji made of three people and two joiners is 18 bytes.
Threads also limits each post to 5 unique links. All unique URLs in the text count, plus the link attachment if it differs from them. Posts over the limit fail when the media container is created. Only one topic tag is allowed per post.
Bluesky: 300 graphemes and 3,000 bytes
Bluesky posts are records of type app.bsky.feed.post. The post lexicon sets maxGraphemes: 300 and maxLength: 3000 (bytes) on the text field. Both apply. Text in scripts that use 3 bytes per character still fits, since 300 graphemes of 3 bytes is 900 bytes, but long emoji sequences can reach the byte cap first.
Links count in full because the text is stored as written. To save space, your code can shorten the visible link text and attach the real URL as a link facet, which is what makes it clickable anyway.
LinkedIn: 3,000 characters
LinkedIn's help center states that the character limit for a post is 3,000 characters. The legacy UGC Post API documents the same 3,000. The current Posts API, which replaces it, puts the text in commentary and does not state a separate number; it returns a field length error if the text is too long.
Facebook Pages: no published limit
The Pages API posts documentation does not state a maximum for the message parameter. You will see a specific number repeated on many websites, but Meta does not publish it in its developer docs, so this site does not treat it as a rule. Long posts are shown folded, so put the point in the first lines.
Instagram: 2,200, 30 hashtags, 20 tags
The IG User Media reference limits the caption to 2,200 characters, 30 hashtags and 20 @ tags. Captions are set on the post (or the carousel container), not on individual carousel items. The API publishes images, videos, reels, stories and carousels; there is no text-only post.
TikTok: 2,200 UTF-16 units for video
The Direct Post reference limits post_info.title for videos to 2,200 UTF-16 runes. For photo posts the Photo Post reference allows a title of 90 and a description of 4,000, in the same units. Most emoji are 2 units each.
YouTube: title 100, description 5,000
The Videos resource sets snippet.title to 100 characters and snippet.description to 5,000 characters. Both may contain any valid UTF-8 except < and >, which is the rule that most often surprises people pasting HTML or arrows into a description. Tags have their own 500 character total.
Check a real post against these rules
The free cross-post checker applies every limit on this page.
Counting in code
A minimal set of counters in TypeScript, using only built-in APIs:
const seg = new Intl.Segmenter("en", { granularity: "grapheme" });
const graphemes = (s: string) => [...seg.segment(s)].length; // Bluesky
const utf8Bytes = (s: string) => new TextEncoder().encode(s).length; // Bluesky cap
const utf16Units = (s: string) => s.length; // TikTok
const codePoints = (s: string) => [...s].length; // simple "characters"X needs its weighting rules, and Threads needs emoji detection plus byte length. The cross-post checker runs all of these in your browser if you want to compare results before writing your own.