Paste your text below to automatically remove or replace potentially problematic invisible or non-standard characters. Whitespace handling is adjusted for Markdown tables and lists.
This tool automatically cleans text pasted into the input box using several steps:
Removes control characters (except Tab, LF, CR), zero-width characters (ZWSP, ZWJ, ZWNJ, BOM), and Mongolian Vowel Separator.
Replaces non-breaking spaces (NBSP, NNBSP) with standard spaces.
Optionally replaces typographical characters (dashes, quotes, ellipsis) with standard equivalents based on the toggle setting.
Replaces tabs with a single space.
Collapses consecutive spaces into a single standard space, except on lines identified as Markdown tables (containing `|`), nested lists (starting with ` ` + `*`/`+`/`-`), or within code blocks (between triple backticks ```).
Removes trailing spaces from lines, except for Markdown table/list lines and code blocks.
Trims leading/trailing whitespace from the final result.
Privacy Note
All processing happens directly in your browser. The text you paste is not sent to any server.