Text splitter
Transformed in your browser · nothing is uploaded
Splits long text into chunks of at most the length you set, cutting at a space so words stay whole. The chunks come back separated by a blank line. The default of 280 is one post on X; 160 is one SMS, and 2,200 an Instagram caption.
How to use the text splitter
The SMS limit is the one that catches people, because it is about encoding rather than about characters. A single message holds 160 characters while the text stays inside the GSM alphabet; one character outside it. An emoji, a curly apostrophe, an em dash; switches the whole message to 16-bit encoding and the limit drops to 70. A message that fitted comfortably becomes three, at three times the cost. Running the text through the cleaner first, which flattens curly quotes and dashes back to their ASCII equivalents, often brings it back under one segment. A message long enough to be split carries a joining header in every part, so each part holds slightly less than a single message would.
The splitting itself measures the way a browser measures a string, so an emoji counts as two rather than one. Platform counters do not always agree: X counts a link as a fixed length however long it really is, and weights some scripts differently, so treat a chunk size as a ceiling with a little headroom rather than an exact match. The break point is a space: a single word longer than the chunk, which in practice means a URL, gets cut mid-word, because the alternative is an oversized chunk that will be rejected. Chunks are trimmed, so a line break that lands on a boundary is lost.
Questions
Only when one word is longer than the whole chunk, such as a URL. Everything else breaks at a space.
One character outside the GSM alphabet. An emoji or a curly apostrophe; switches the message to 16-bit encoding, where a single message holds 70 characters.
280 for a post on X, 160 for one SMS, 2,200 for an Instagram caption, 3,000 for a LinkedIn post.
No. They are separated by a blank line, so add 1/5, 2/5 yourself if the order matters to a reader.
Not here; an emoji counts as two, which is how a browser measures a string. Leave a little headroom.
Inside, yes. At the edges they are trimmed, so a chunk never opens or closes with a blank line.
No practical one. The splitting happens in this tab.