A little context.
Counts Unicode code points rather than UTF-16 units. Some combined emoji consist of multiple code points. Whitespace-free count excludes all Unicode whitespace.
Understanding a platform character limit
Use the total count for a field that includes spaces, and the whitespace-free count only when a brief explicitly excludes them. A line break counts as a code point too, so count the final text with its actual formatting.
Interpreting the result and avoiding mistakes
This tool counts Unicode code points. A family emoji or accented letter made from separate combining marks can contain multiple code points while appearing as one symbol. Some platforms count bytes, UTF-16 units or URLs differently; confirm the final text in the destination.
A reproducible workspace example
These are the starting values in the form above. The result below is calculated from these values when the page is built, using the same processing engine as the tool.
- Text
Hello, world!
Calculated output
13 characters 12 without whitespace
Quick reference
Hello = 5 charactersHow to use this tool
- Enter text in the workspace above.
- Select Run tool to process your input. Invalid values produce a message next to the form.
- Copy the result or download it as a file. Reset example restores the original input.