Count visible characters, characters without whitespace and UTF-8 bytes. Remove duplicate lines, empty lines and repeated spaces. Your text stays on your device.
Free · No sign-up · Processed on your device
Preparing the tool…
Cleaned text
Copying this result does not change your original text above.
WRITING NOTE
Check your text length and layout before submitting
01 / COUNTING
Characters and bytes are different
The Korean character ga is one character but takes 3 bytes in UTF-8. The English letter A is one character and 1 byte. An emoji may contain several code points while appearing as one symbol. This tool shows visible grapheme clusters and UTF-8 bytes separately.
02 / COMPARING
Clean up only what you need
Empty lines may separate paragraphs, and repeated lines may be intentional. Empty or duplicate lines are removed only when you select those options. Cleaned text appears separately so you can compare it with the original.
03 / FINAL CHECK
Check the destination form too
Application forms and forums may count characters differently, including how they handle spaces, line breaks and emoji. After pasting your cleaned text, check the destination counter and preview before submitting.
Frequently asked questions
What is excluded from the whitespace-free count?
Grapheme clusters recognized as whitespace, including spaces, tabs and line breaks, are excluded. Punctuation, numbers and emoji remain. The word count splits on whitespace; it does not identify grammatical words or morphemes.
How are combined letters and family emoji counted?
The browser groups code points into grapheme clusters, which approximate the characters a reader sees. Combining accents and multi-part emoji may form one cluster. Browser versions and destination forms can use different rules.
How are line breaks and bytes handled?
CRLF and CR line breaks are normalized to LF before analysis and in cleaned output. One LF line break is 1 byte in UTF-8. Saving the text in another application with different line endings can change its final file size.
Which duplicate line is kept?
Selected whitespace cleanup is applied first. Then only the first occurrence of each exactly matching line is kept. Matching is case-sensitive and retained lines stay in order. Whitespace cleanup can make previously different lines identical.
Is my text saved or transmitted?
The tool has no function that sends your text to a server or saves it. Your original and results exist only in the open page memory. Save any result you need before closing or refreshing the page.
Why is there an input limit?
The limit protects device memory and responsiveness. The input allows 100,000 UTF-16 code units, so text with many emoji may reach the limit before the visible character count reaches 100,000. Split longer documents into smaller sections.