Character Counter & Text Formatter
Count characters and more instantly. Remove duplicate lines, sort, and strip whitespace in one click.
About the Character Counter & Text Formatter
A handy tool for checking the length of your writing or prepping lists. As you type, it instantly tallies characters, words, lines, and bytes.
How each count is defined
- Characters: counts by code point, so emoji also count as one character.
- Characters (no spaces): the count with spaces, tabs, and line breaks removed.
- Words: the number of whitespace-separated chunks (best for English text).
- Bytes: the size when encoded as UTF-8 (Japanese characters are typically 3 bytes each).
Formatting features
Remove duplicate lines, delete blank lines, trim leading and trailing whitespace, sort lines ascending or descending, and switch case. Use “Send to input” to keep processing the result.
FAQ
How are characters counted?
Counting is by code point, so emoji count as one character too. The count excluding whitespace is also shown.
Can I see the byte count?
Yes. It shows the UTF-8 byte count (Japanese characters are roughly 3 bytes each).
Can I remove duplicate lines?
Yes. Use “Remove duplicate lines.” You can also sort, delete blank lines, and trim whitespace.
Is my data uploaded?
No. Everything is processed in your browser.
