Remove duplicate characters
Collapse consecutive duplicate characters to a single occurrence.
Remove duplicate characters
This tool removes consecutive duplicate characters from your text, instantly cleaning up repeated letters and symbols. Paste text like "aabbcc" and get "abc". It is useful for tidying up garbled data, cleaning copy-paste errors where characters got doubled, or simplifying text with repeated punctuation like "hello!!!" becomes "hello!". It's also helpful for fixing OCR errors where a scanner has doubled letters, or cleaning up data exported from databases with unintended duplicate characters.
The case-sensitive option (enabled by default) treats uppercase and lowercase letters as distinct characters. When enabled, "AAbb" stays "AAbb" because A and a are different. Disable case sensitivity to collapse "AAbb" to "Ab"—the tool then merges case-insensitive duplicates while preserving the first occurrence's case, so "AAAaaa" becomes "A" and "aAAaa" becomes "a". This is useful when cleaning text from mixed-case sources where you want to remove duplicates regardless of capitalization.
Newlines and spaces are handled the same way as other characters: consecutive line breaks collapse to one, fixing multiple blank lines between paragraphs while keeping structure intact. Multiple spaces like "hello world" become "hello world". All characters—letters, spaces, punctuation, symbols, even tabs—are treated uniformly. The tool processes text up to 10 MB instantly.
All processing happens entirely in your browser, locally and privately. Your text never leaves your device, and there are no uploads or server logs. The live tally shows exactly how many characters were removed and how many remain in the cleaned output.