Text Toolkit
Count Unicode characters and UTF-8 bytes, remove duplicate lines and tidy whitespace.
Characters
Without whitespace
UTF-8 bytes
Words
Lines
How to use
Paste or type your text.
Read character, word, line and byte counts as you type.
Choose a cleanup action, undo it if needed, then copy or download.
FAQ
Why does a form show a different length?
This tool counts visible grapheme clusters and UTF-8 bytes. Some forms count UTF-16 code units or use another encoding. Check the form’s rule.
Is anything uploaded?
Tool inputs and generated results are processed on your device. Advertising may make its own network requests; see the privacy policy.
How can I keep my result?
Use the download or copy controls before closing the tab. Shared links contain the information they encode and should not contain secrets.