Home › All tools › Clean up text
Clean up text
Tidy pasted text: remove extra spaces, blank lines, line breaks and invisible characters.
पेस्ट किए टेक्स्ट से फालतू स्पेस और खाली लाइनें हटाएँ।
How to use it
- Paste the text.
- Tick what you want cleaned.
- Copy the tidy version.
About this tool
Text copied out of a PDF, a website or a chat brings invisible passengers: non-breaking spaces, zero-width joiners, soft hyphens and line breaks in the middle of sentences. They look like nothing and they break search, sorting and word counts.
Joining lines into a paragraph is the fix for PDF text, where every visual line ends in a hard break. The option keeps real paragraph breaks — a blank line between blocks — and removes only the breaks inside a block.
Tips
- Run this before a word count if the text came out of a PDF; the count changes more than you expect.
- Curly quotes look better in print and break plain-text forms and code. Convert them when pasting into a system that is fussy.
- The invisible-character option also removes the byte-order mark that can appear at the start of a pasted file.
Questions people ask
What is a zero-width character?
A character that takes no space but is really there. It comes from web pages and messaging apps and makes two identical-looking strings fail to match.
Will it damage my Hindi text?
No. Devanagari needs the zero-width joiner in a few conjuncts, and those are preserved.
Does it change the meaning of my text?
No, only its spacing and invisible characters, unless you tick the numbering option.