How to use the Text Cleaner for Posts and Captions
- Paste your text into the first box.
- Tick the clean-up steps you want. The defaults fix spacing and invisible characters and leave quotes and emoji alone.
- Check the cleaned text in the second box, and the number of characters removed.
- Press Copy cleaned text.
What each step does
Trim removes spaces at the start and end of every line. Repeated spaces and tabs become a single space. Three or more line breaks in a row become one blank line. Join lines turns a paragraph that was broken into short lines back into a single line, and keeps the blank line between paragraphs. Non-breaking spaces are always turned into normal spaces and Windows line endings into plain line breaks.
Worked example: " Hello world " followed by three blank lines and " next line " becomes "Hello world", one blank line and "next line", which is 12 characters shorter.
Invisible characters and emoji
Zero-width spaces, joiners, the byte order mark and soft hyphens take no visible space but are real characters, and they can break searches, links and character counts. The removal step takes out the characters in that short list. Removing a zero-width joiner can change how some scripts and emoji sequences are shaped, so turn the option off for text in languages that rely on it. Emoji removal deletes pictographs, flags and keycap marks, and some symbols such as the copyright sign are included.
Frequently asked questions
Why is there a character I cannot see?
It may be a zero-width space or similar, often added when text is copied from a web page or a chat. The removal option takes it out.
Will it change my words?
No. It only changes spacing, line breaks, the listed invisible characters, and optionally quotes and emoji.
Why join lines?
Text copied from a PDF or an email often has a line break at the end of every visual line. Joining restores whole paragraphs.
Is my text kept?
No. It is processed in your browser and not sent or stored.