Text Cleaner
The text cleaner removes the artefacts that survive a copy and paste: HTML tags, smart quotes and dashes, non-breaking spaces, zero-width characters, stray line breaks and repeated blank lines. The result is plain, predictable text you can safely paste anywhere.
Your result will appear here.
Not sure where to start? Use Load example.
Results update automatically and are calculated on your device. Nothing you type is sent to a server.
Runs in your browser. Processing happens entirely in your browser. Nothing you enter is sent to Delimiter.live.
How to use the Text Cleaner
- Paste the text you copied from a PDF, Word document, email or web page.
- Leave the default options on for a general clean-up, or switch individual steps off.
- Enable "Join hard-wrapped lines" if the source broke sentences across lines, as PDFs usually do.
- Copy the clean text straight into your editor or CMS.
Example
<p>“Hello” — world…</p>
"Hello" - world...
Common use cases
- Pasting into a CMS without dragging along invisible formatting from Word.
- Fixing PDF copy-paste where every line ends with a hard break mid-sentence.
- Removing smart quotes and en dashes before putting text into code, JSON or a CSV file.
- Finding and stripping zero-width characters that break string comparisons or search.
Limitations and things to watch for
- Removing HTML tags keeps the text between them; it does not render the HTML. Block-level tags are replaced with line breaks so paragraphs are preserved.
- Joining hard-wrapped lines uses a heuristic: a line is joined to the next when it does not end in sentence punctuation. Verse, addresses and code blocks should keep that option switched off.