Twitter Post Formatter

Free forever, no sign-up, no watermark

Paste a draft, clean up its spacing and line breaks, and copy back a tweet that reads well in the timeline. Free, works for posts on X of any length up to 280 characters.

Formatting Options

Your formatted text will appear here...

Tips for X Post Formatting

  • Twitter/X posts have a 280 character limit.
  • Clean formatting makes tweets more readable.
  • Use line breaks to separate key points.
  • Keep tweets concise, short tweets often perform better.
  • Hashtags count toward the character limit.

How to format a tweet people actually read

  1. Put the hook in line one. It is the only line everyone sees in the timeline.
  2. One idea per line. Line breaks are free readability; use them between points.
  3. Cut filler until you are under 280 with room for a hashtag or a link.
  4. Paste your draft above, format it, and copy the clean version back to X.

Most unreadable tweets are not badly written, they are badly spaced: a paragraph blob pasted from a notes app, invisible characters from a word processor, double spaces after sentences. The formatter strips that out so what you paste into X is exactly what your readers see.

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

  1. Put the hook in line one. It is the line everyone sees, so it should make sense on its own.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

Frequently asked questions

How do I add line breaks in a post on X?

Press Return in the X composer, or write your draft with line breaks and paste it through the formatter. Line breaks survive the paste. Each one counts as one character toward the 280 limit, or two if Preserve Line Breaks is on.

Why does my post look different after pasting it?

Drafts from documents and notes apps often carry indented lines, doubled spaces, and uneven gaps between paragraphs. The formatter trims every line, collapses repeated spaces, and limits gaps to one blank line, so the post looks the way you meant.

Should I keep Preserve Line Breaks on for X?

Usually not. X keeps the line breaks you type, and the invisible character the option adds after each break counts toward your limit. Turn it off unless your blank lines are being removed.

Does the counter count the way X does?

Yes. It applies the X rules to the formatted post: emoji and many non-Latin characters count as two, every link as 23, and the invisible characters from Preserve Line Breaks as one each. If the X composer ever disagrees, trust the composer.

Do short posts perform better?

There is no fixed rule, but the timeline rewards posts that can be read at a glance. A tight post with white space is easier to take in than a dense paragraph. If the idea needs more room, a thread is often the better format.

Can I make text bold or italic in a post?

Not with the X composer alone. Some tools convert words to styled Unicode letters that you can paste in. The formatter does not do that, and styled letters should be used sparingly because screen readers may not read them well.

Is my draft stored?

No. All formatting happens in your browser. Press Clear or close the page and the text is gone.

The same tool for other networks