Skip to content

Character Counter

Count characters with and without spaces, code points, UTF-16 units and UTF-8 bytes for any text.

Runs in your browserText → Text
Loading tool…

Example

Input
Héllo 👋
Output
Characters: 7
Characters (no spaces): 6
Unicode code points: 7
UTF-16 code units (JavaScript length): 8
UTF-8 bytes: 11
Letters: 5
Digits: 0
Whitespace: 1
Punctuation & symbols: 1
Lines: 1

How to use the Character Counter

  1. Paste or type your Text into the input area, or open a file from your device.
  2. Adjust the options above the editor if the tool offers any.
  3. Review the Text result, then copy it or download it as a file.

Privacy and limitations

  • Your data is processed on your device and is not uploaded to any server.

Frequently asked questions

Why do the counts differ?

An emoji is one visible character but can be several code points, two UTF-16 units and four UTF-8 bytes. Databases and APIs often limit bytes or UTF-16 units rather than visible characters.

Browse all string utilities →