Text Cleaner
Combine six editable presets and Unicode, duplicate-word, line, markup and formatting rules while retaining the original.
1. Local input and settings
Inputs stay in memory: no uploads, URLs, storage or requests. Each field32KiB; full output1MiB. Worker:10s startup/1s processing. Editing cancels work and clears old exports. Use synthetic examples for learning.
Model, bounds and sources
Each input32KiB/5,000 lines; Markdown/HTML5 nodes5,000/depth30. Code, inline code, HTML and reference/link destinations are protected from character cleanup; explicit TAB/trailing-space options also affect code. Explicit Markdown stripping/unwrap removes syntax and retains code contents. TAB width1–16 (default4); NBSP normalization is independent. Order: special spaces/TAB, per-line trim, space collapse, blank lines, then line-break keep/space/remove. Protected code keeps line breaks; fullwidth only U+FF01–FF5E/U+3000. NFC/NFD mutually exclusive. Emoji uses grapheme properties; invisible removal may change language/emoji. Formatting heuristics do not detect AI authorship. Diff previews first8,192 UTF16 units/200 lines only; full output1MiB. Mixed EOL with structural editing needs explicit LF/CRLF.
Source controls and references inspected2026-10-19.
2. Complete result
Review settings, then process locally.
How to use this tool
Enter local input, choose the explicit rules or algorithm, then run and export the complete result.
When not to use it
Each input32KiB/5,000 lines; Markdown/HTML5 nodes5,000/depth30. Code, inline code, HTML and reference/link destinations are protected from character cleanup; explicit TAB/trailing-space options also affect code. Explicit Markdown stripping/unwrap removes syntax and retains code contents. TAB width1–16 (default4); NBSP normalization is independent. Order: special spaces/TAB, per-line trim, space collapse, blank lines, then line-break keep/space/remove. Protected code keeps line breaks; fullwidth only U+FF01–FF5E/U+3000. NFC/NFD mutually exclusive. Emoji uses grapheme properties; invisible removal may change language/emoji. Formatting heuristics do not detect AI authorship. Diff previews first8,192 UTF16 units/200 lines only; full output1MiB. Mixed EOL with structural editing needs explicit LF/CRLF.