All Text Cleaner Tools
Explore all 28 browser-based text transformation, cleaning, formatting, and analysis tools. 100% free, private, and on-device.
Quick Reference: Text Cleaner provides 28 offline client-side utilities across 24 dedicated tool pages to strip hidden Unicode characters (U+200B, U+FEFF), convert typographic dashes (U+2014 → U+002D) and smart quotes, transform between 11 letter cases, and sort or deduplicate lines.
Cleaning & Stripping
Remove unwanted formatting, characters, and paste artifacts.
- Clean Pasted Text → Strip invisible spaces, fix smart quotes & em dashes in one click.
- Remove Em Dash → Convert AI em dashes (—) and en dashes (–) into hyphens (-).
- Remove Line Breaks → Join hard wraps and broken lines from PDFs into flowing sentences.
- Remove Invisible Characters → Delete zero-width spaces (\u200B) and exotic Unicode whitespace.
- Straighten Smart Quotes → Turn curly quotes (“ ” ‘ ’) into straight ASCII quotes (" ').
- Remove Extra Spaces → Collapse multiple consecutive spaces into single clean spaces.
- Remove Blank Lines → Delete empty lines and whitespace rows from spreadsheets and lists.
- Remove Accents & Diacritics → Strip accents, umlauts, and tildes (é→e, ñ→n) for clean ASCII text.
- Remove Punctuation → Strip all standard punctuation marks, leaving only letters and numbers.
- Remove Emoji from Text → Strip Unicode emojis and pictographs from text for databases & SMS.
- Trim Trailing Whitespace → Remove invisible trailing spaces and tabs from the end of every line.
- Strip HTML Tags → Remove HTML markup, tags, and wrappers to extract plain text.
- Strip Markdown → Convert Markdown headings, bold, italics, and links to plain text.
Case Converters
Switch between standard, editorial, and developer casing conventions.
- All 11 Case Converters → Overview and playground for all 11 case styles.
- Sentence Case Converter → Capitalize sentences safely without breaking decimals ($9.99) or URLs.
- camelCase Converter → Format identifiers for JavaScript, TypeScript, and Swift variables.
- PascalCase Converter → Format class names and types for C#, TypeScript, and Python.
- snake_case Converter → Format variables for Python and SQL database column names.
- CONSTANT_CASE Converter → Format environment variables and global configuration constants.
- kebab-case Converter → Format lowercase hyphenated URL slugs and CSS class names.
Formatting & Analysis
Sort, deduplicate, reverse, and analyze text statistics.
- Reverse Text Online → Flip characters backwards, mirror sentences, and reverse strings.
- Remove Duplicate Lines → Deduplicate lines while strictly preserving original item order.
- Alphabetize List Online → Sort lines A–Z or Z–A with natural numeric sorting.
- Word & Character Counter → Live real-time character, word, and sentence statistics.
What Rules and Unicode Code Points Does Each Text Tool Use?
Every Text Cleaner tool applies deterministic regular expressions and Unicode normalization rules directly in browser memory (0 server round-trips):
| Tool Name | Regex / Unicode Rule | Input Example (Before) | Output Result (After) |
|---|---|---|---|
| Clean Pasted Text | 5-step pipeline: strip U+200B/U+FEFF, straighten quotes, U+2014→-, trim trailing, s/\n{3,}/\n\n/g |
“Hello”—world\u200B (16 chars) |
"Hello"-world (13 chars) |
| Remove Em Dash | s/[\u2012\u2013\u2014\u2015]/-/g (U+2014, U+2013 → U+002D) |
fast—clean–text (15 chars) |
fast-clean-text (15 chars) |
| Straighten Quotes | U+201C/U+201D/U+201E → " (U+0022); U+2018/U+2019/U+201A → ' (U+0027) |
“Smart ‘quotes’” (16 chars) |
"Smart 'quotes'" (16 chars) |
| Remove Invisible Characters | Delete U+200B, U+200C, U+200D, U+2060, U+FEFF, U+00AD; normalize U+00A0 → U+0020 |
ab\u200Bcd\u00A0ef (8 chars) |
abcd ef (7 chars) |
| Remove Line Breaks | s/\r?\n/ /g (replace newline U+000A with space U+0020) |
Line 1\nLine 2 (2 lines) |
Line 1 Line 2 (1 line) |
| Remove Extra Spaces | s/[ \t]{2,}/ /g + line trim |
Too many spaces (20 chars) |
Too many spaces (15 chars) |
| Remove Blank Lines | Filter lines where line.trim().length > 0 |
Row 1\n\n \nRow 2 (4 lines) |
Row 1\nRow 2 (2 lines) |
| Remove Accents | Unicode NFD decomposition + s/[\u0300-\u036f]//g + NFC |
Café résumé (11 chars) |
Cafe resume (11 chars) |
| Strip HTML Tags | s/<[^>]+>//g |
<p><b>Hi</b></p> (16 chars) |
Hi (2 chars) |
| Strip Markdown | Strip #{1,6}, **bold**, *italic*, `code`, [text](url) → text |
## **Bold** [link](url) (23 chars) |
Bold link (9 chars) |
| Sentence Case | Lookahead parser: capitalize after [.!?]\s+ while skipping decimals ($9.99) & URLs (acme.com) |
VISIT ACME.COM FOR $9.99. (25 chars) |
Visit acme.com for $9.99. (25 chars) |
| Developer Case Converters | Word boundary tokenizer → camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case |
user auth token (15 chars) |
userAuthToken / user_auth_token |