Split a draft into weighted posts for X
Admin ·
Breaking a long draft by the length shown in a text editor can leave too much or too little room for a link, an emoji or a post number. Twitter Thread Splitter measures each post with twitter-text, then shows the final text and its weighted length for review.
Split the community garden draft into two posts
Select Load example and leave the limit at 280 with Add post numbers selected. Select Split into posts. The two posts weigh 194 and 221 including their numbers. The first ends after the schedule link and the second begins with the paragraph for families.
The link stays together and weighs 23 characters. The family emoji in the next post stays together and weighs two. Compare the post totals with the published character-count rules.
X Developer Documentation — Counting CharactersTwitter Text Libraries
Choose a smaller budget and test the post numbers
Change Weighted limit per post to 120 and split again. Each post fits the new limit, including its number. To compare an unnumbered draft, clear Add post numbers and split again. Recheck the breaks because the splitter now has more room for source text.
The splitter considers paragraph, line and sentence boundaries, then spaces and word boundaries. When a long word must be divided, the break occurs between grapheme clusters. Whitespace at a post break is trimmed and whitespace inside a post is retained.
Save the draft before sharing it
Use Copy post 1 to paste the first post into your editor. Copy all posts inserts a blank line between posts. For an export that keeps the boundaries explicit, download thread-draft.json. Each entry contains the post text and its weightedLength. The weightedLimit field records the selected budget.
Common questions
Why can the visible text be longer than the selected limit?
A recognized URL counts as 23 weighted characters regardless of its visible length. The original URL stays in the draft.
Does the splitter handle right-to-left text?
Yes. The splitter keeps the logical order of the text and uses the browser’s word and grapheme segmentation. Each displayed post uses the text’s own direction.
Where can I see the individual post boundaries after download?
Use the posts array in thread-draft.json. Every entry holds exactly one post and its count.