Text cleaner
Strip emojis, numbers, punctuation, extra spaces or line breaks from pasted text.
How it works
Removes whatever you do not want from pasted text: emojis, numbers, punctuation, extra whitespace, line breaks, or non-ASCII characters. Several can be applied at once.
Emoji removal is harder than it looks, and most simple implementations get it wrong. Many emoji are sequences rather than single characters — a flag is two regional indicator symbols, and a family emoji can be five code points joined by zero-width joiners. Deleting characters one at a time leaves fragments behind. This uses Unicode property escapes to match whole grapheme clusters.
The invisible-character option is the one people need without knowing it. Text copied from documents and web pages routinely carries zero-width spaces, non-breaking spaces and soft hyphens that look like nothing, break search and sorting, and are almost impossible to find by eye.
This tool runs entirely in your browser. Nothing you enter is sent to a server, logged or stored, and the page keeps working with the network disconnected.
Common questions
- Why does removing emoji leave strange characters?
- Because many emoji are multi-character sequences joined by zero-width joiners. Deleting one character at a time leaves the joiners and fragments behind.
- What are invisible characters and why remove them?
- Zero-width spaces, non-breaking spaces and soft hyphens picked up when copying from documents. They look like nothing but break search, sorting and comparison.
Related pages
- Word and character counter Words, characters, sentences, paragraphs and reading time, counted as you type.
- Typing speed test Measure words per minute and accuracy on a one, two or five minute test.
- Remove duplicate lines Strip repeated lines from a list, keeping the first occurrence of each.
- Sort lines alphabetically Sort a list of lines A–Z, Z–A, by length, or numerically.
- JSON formatter and validator Pretty-print, minify and validate JSON, with the exact position of any error.
- Text compare Compare two blocks of text and see which lines were added, removed or changed.
- Regex tester Test a regular expression against sample text, with matches and capture groups shown.
- Case converter Convert text between upper, lower, title, sentence, camel, snake, kebab and other cases.
- Remove empty lines Delete blank lines from a block of text, optionally collapsing runs to one.
- Find and replace Replace every occurrence of a string in pasted text, with optional regex.
Sources
- Calculated on this page — At One Place