Text Cleaner
Strip BOMs, zero-width characters, and stray whitespace from a payload.
Your data never leaves your browser
This tool runs entirely on your computer. What you paste or drop is never uploaded, never stored and never seen by us — close the tab and it's gone. How we know
Sign up to run — no credit card required.
Press Run to see the output. Sign up takes ten seconds — no credit card required.
Worked example
line one
line twoline one
line twoThis example is one of Text Cleaner's test cases — if the tool stopped producing this output, the build would fail.
Questions
- What does it actually remove?
- A UTF-8 BOM, zero-width spaces and joiners, non-breaking spaces, trailing whitespace, and CRLF line endings — normalised to LF.
- Why would I need this?
- When a payload 'looks identical' to a working one but won't parse. Invisible characters show up in no diff and no editor, and they're a classic cause of an integration failing on data that looks perfect.