The Twitter post formatter tidies a draft so it reads cleanly in the X timeline. On X, every character is precious and every line is visible at a glance, so small spacing problems stand out: a leading space before the first word, two spaces after a period, a gap of four blank lines where you meant one. The formatter removes those in one pass and gives you text that is ready to paste.
This guide explains what the formatter does, how X counts characters, and which options make sense on a network with a tight limit. It also covers how to structure a short post, when a thread is the better choice, and the mistakes that most often cost people characters they did not need to spend.
Why spacing matters on X
A post on X is short enough to be read in a single look. That makes layout part of the message. A post with a hook on the first line, a blank line, and then the detail is easier to take in than the same words run together. Line breaks are the only formatting X gives you, and they are worth using deliberately.
Most messy posts are not badly written, they are badly spaced. A draft pasted from a notes app or a document often brings indented lines, doubled spaces, and uneven gaps. Each of those costs characters and makes the post look unfinished. Cleaning them up is the quickest improvement you can make before posting.
What the Twitter post formatter does
The formatter works in your browser and updates the result as you type. It changes only whitespace, plus an optional hashtag step. Your words, emoji, mentions, and links are left alone.
Before any option runs, the tool clears out characters you cannot see. Zero-width spaces, word joiners and byte order marks are removed, Windows line endings become ordinary line breaks, and non-breaking spaces and the other odd spaces word processors insert become normal spaces. That means text you formatted before, here or in another tool, can go through again without picking up a second set of invisible characters.
Trim Lines
Removes spaces and tabs at the start and end of every line, which are easy to miss and still count as characters.
Fix Double Spaces
Turns any run of spaces into a single space, so you stop paying for spaces nobody can see.
Clean Extra Whitespace
Cuts three or more line breaks in a row down to two, leaving one blank line between blocks.
Preserve Line Breaks
Adds an invisible zero-width space after each line break. Useful on networks that collapse blank lines, but on X it costs characters, as explained below.
Separate Hashtags
Off by default. Moves every line made up only of hashtags to one line at the end of the post, after a blank line.
How to use the Twitter post formatter
- Put the hook in line one. It is the line everyone sees, so it should make sense on its own.
- Paste your draft into the Your Text box. The counter shows characters and words next to the 280 character limit, measuring the formatted post the way X counts it.
- Turn off Preserve Line Breaks unless your blank lines are disappearing. X keeps line breaks you type, and the invisible characters count toward your limit.
- Read the result on the right and cut filler until you are under 280 with room for a link or a tag if you need one.
- Press Copy to Clipboard, paste into the X composer, and check the composer's own counter before you post.
How X counts the 280 characters
X does not count every character the same way. Plain Latin letters, numbers, and common punctuation count as one each. Emoji count as two. Many characters from other scripts, such as Chinese, Japanese, and Korean, also count as two. Any link counts as 23 characters, however long or short the actual address is, because X shortens every link to a fixed length.
The counter in this formatter applies those rules to the formatted post: links count as 23, emoji and characters from scripts such as Chinese or Japanese count as two, and every invisible character is included. It should match what X shows, though the X composer still has the final word.
One more detail matters here. The zero-width space added by Preserve Line Breaks is a real character and X counts it. With the option on, every line break effectively costs two characters instead of one. On a 280 character post with several short lines, that adds up, which is why switching it off is usually the right choice for X.
Use cases for clean posts on X
Announcements
A product update or news item needs the key fact in the first line and the link last. Clean spacing keeps both visible without wasted characters.
Short lists
Three quick points, each on its own line, are easier to read than a sentence with commas. The formatter keeps the lines tidy and evenly spaced.
Drafts written elsewhere
Posts drafted in a notes app or a shared document often carry indents and double spaces. Formatting them before pasting can free up characters you need.
Each post in a thread
If you are writing a thread, format each part separately so every post starts flush and fits its own limit.
Best practices for formatting posts on X
Hook first, detail second
The opening line should carry the post. Use a blank line after it so it stands out in the timeline.
One idea per line
Line breaks cost a single character and make a post scannable. Use them between points rather than packing everything into one sentence.
Keep hashtags few
Every tag uses characters and pulls attention away from the message. One relevant tag, or none, is often enough.
Know when to thread
If an idea genuinely needs more room, a thread of clear posts reads better than one post cut to the bone.
Check the composer count
X has the final word on length. Glance at its counter after pasting, especially when your post contains emoji or links.
Mistakes that waste characters
Leaving Preserve Line Breaks on
On X the invisible characters count, so a post with many lines can tip over 280. Turn the option off unless you need it.
Counting a link by its length
A long address and a short one both count as 23 characters on X. Do not shorten links by hand to save space.
Words on a tag line
Separate Hashtags only moves lines made entirely of hashtags, so a line like #1 rule of pricing stays where it is. A tag line with a word of text on it stays in the body too.
Copying the draft instead of the output
The left box holds your draft and the right box holds the formatted post. Press Copy to Clipboard so you take the cleaned version, not the draft.
Styled text and accessibility
X has no built-in bold or italic. Some people use special Unicode letters that look styled, and there are tools that convert text that way. The formatter does not do this: it keeps your text as ordinary characters. If you do use styled letters, keep them to a word or two, because screen readers often read them poorly or skip them, and search may not match them.
For accessible posts, write multi-word hashtags with capital letters at the start of each word, keep emoji to the end of a sentence rather than the middle, and add image descriptions in the X composer.
From formatted draft to published post
Formatting is the last step after editing. You can paste the result straight into X, or schedule it in FoPost together with longer versions of the same message for networks that allow more room. The formatter itself is free, needs no account, and keeps nothing you type.