Keep a copy before you clean
Text copied from a webpage, chat, or document can bring bold markers, extra blank lines, unusual spaces, and markup with it. Start by keeping the original. Some formatting carries meaning, such as a list’s order or a heading that separates two topics.
Choose the smallest cleanup that solves the problem. If the text only has double spaces, there is no reason to flatten every line into one paragraph. For a plain-text destination, removing markup may be appropriate, but the resulting structure still deserves a quick review.
Separate Markdown from the words it contains
Markdown uses characters such as #, *, backticks, and brackets to describe formatting. A plain-text conversion can remove those markers while keeping the readable text. Links need special attention: a destination URL may matter as much as the linked label.
Tables, nested lists, block quotes, and fenced code are more complicated. After conversion, confirm that the reading order still works. A table flattened into a sequence of cells may require labels so the reader can connect a value to the right column.
## Next steps Please review the **draft** before Friday.
Next steps Please review the draft before Friday.
The formatting markers are removed while the heading and paragraph remain separate.
Treat HTML as markup, not something to run
HTML may contain visible text alongside tags, scripts, styles, and embedded content. A text cleaner should extract readable content without executing that markup. It is a text utility, not a general-purpose security sanitizer for code you intend to render in a website.
Check special characters after conversion. An encoded ampersand should read like an ampersand, while a less-than sign in ordinary prose should remain readable. Remove scripts and styles as content rather than exposing their code as part of the cleaned article.
Handle invisible characters with care
A copied byte-order mark or a zero-width space can produce odd search, selection, or layout behavior. Removing common copy-and-paste artifacts is useful. Removing every invisible Unicode character is much more aggressive.
Some invisible characters are part of how writing systems and emoji work. A zero-width joiner can connect emoji into a single visible symbol. Broad normalization can also change technical strings or compatibility characters. Preserve the original and inspect any cleanup of names, code, or multilingual text.
Check the destination
After cleaning, paste the result into its final editor and check paragraphs, lists, links, quotes, and punctuation. The destination may apply its own automatic formatting or count characters differently.
Cleaning does not establish authorship, remove a statistical AI watermark, or guarantee a detector result. Its job is simpler: make the text easier to transfer, read, and edit.
Put it into practice.
Open the text cleaner →