Text Cleaner
Merges extra spaces, fixes spacing around punctuation, removes blank lines and invisible characters, and normalizes Vietnamese Unicode in one pass.
Loading tool...
Runs in your browser. Nothing is sent anywhere.
When to use it
Text copied from Word, PDF, web pages or Zalo often has extra spaces, blank lines, invisible characters and Vietnamese letters mixed between two encodings. Clean it once before you publish it or put it into a system.
How to use
- Paste your text into the left box.
- Turn on the cleaning steps you need.
- Click Copy or Download.
Frequently asked questions
Is my text sent to a server?
No. The tool runs entirely in JavaScript in your browser, and the text you paste never leaves your device.
Related tools
Remove Extra SpacesMerges repeated spaces into one, removes spaces before commas and periods, and adds a space after commas, semicolons, colons, exclamation and question marks.Remove Invisible CharactersRemoves zero-width characters, BOM and soft hyphens, and turns non-breaking spaces into regular spaces.Normalize Vietnamese UnicodeConverts Vietnamese text in decomposed form (separate accent marks, common when copying from macOS or PDF) to precomposed form so search and sorting work correctly.
More Text tools
Remove Duplicate LinesRemoves repeated lines and keeps the first one, with an option to ignore case and whitespace.Markdown Diff CheckerCompares two Markdown versions as plain text, line by line, highlighting added lines, removed lines and changed words.Sort Lines AlphabeticallySorts lines in Vietnamese alphabetical order, in natural order (item 2 before item 10), by number or by length.Markdown FormatterMakes Markdown clean and consistent: a space after #, one bullet style, blank lines around headings, and no trailing whitespace.Reverse Line OrderFlips the order of the lines so the last line comes first, handy for reversing a list or a log.Markdown Link ExtractorLists links, images, reference links and bare URLs in a Markdown file, with line numbers.
See all text tools