How to Use the Repeated Character Compressor
Text like "hahahahahaha" or "soooooo good" with the same character repeated many times can bloat data storage or make analysis unnecessarily noisy. This tool scans your text for runs of the same character in a row and rewrites them in compact notation, like "a x9" instead of "aaaaaaaaa".
By default it only compresses runs of 3 or more, because compressing even 2-character runs — like the oo in "book" — would make ordinary text harder to read. You can freely adjust the minimum run length in the input field, which makes this useful for cleaning up chat logs, exaggerated laughter, or repeated punctuation across many different use cases.
The result shows the original length, the compressed length, and the reduction percentage side by side, so you can immediately see how much shorter the text became.
Frequently Asked Questions
Compressing even a 2-character run, like the oo in book, would make normal text hard to read. That's why the default only compresses runs of 3 or more, and you can adjust the minimum run length yourself if needed.
This tool only compresses the notation for display; it doesn't include a separate decompression feature. Read the a x4 notation to see the actual repeat count and manually expand it back if you need the original characters.