Text & writing

Character & word counter

Count characters, words and UTF-8 bytes.

Your result
Characters with spaces
0
Without whitespace
0
Words
0
UTF-8 bytes
0
Your input stays in your browser

Content updated:

Why are character counts and byte counts different?

Characters are counted as visible grapheme clusters; bytes measure the UTF-8 encoding of the input. Hello world has 11 characters and 11 bytes, while こんにちは has 5 characters and 15 bytes. The no-whitespace count removes spaces, tabs and line breaks.

Counting rules and examples
Input exampleWith / without whitespaceUTF-8 bytes
Hello world11 / 1011
안녕 world8 / 712
こんにちは5 / 515
A, one line break, B3 / 23
😀1 / 14

Bytes include whitespace in the full input. A destination counting UTF-16 units or using another encoding may show a different total. This tool does not read PDF files or extract text from images; copy and paste the text first.

Share a short message or link with the QR code generator.

How to use

  1. Type or paste text into the box.
  2. Read characters with and without whitespace, words and UTF-8 bytes.
  3. Compare with the counting rules of your destination.

How it works

Characters are counted as grapheme clusters. Whitespace removal includes spaces, tabs and newlines. Word counts use your browser’s language-aware segmentation.

Common questions

How are emoji counted?

An emoji sequence displayed as one grapheme, such as a family emoji, counts as one character.

Why does another site give a different result?

It may count UTF-16 code units or bytes instead of visible characters. Check the destination’s rules.

Is my text stored?

No text is sent to a server or saved. Input is limited to 100,000 UTF-16 code units for browser performance.

Can I count text from a PDF?

PDF upload is not supported. Copy the text from the PDF and paste it here. Scanned pages need text recognition first. Extra spaces and line breaks introduced during copying affect the result.

Can I restore text after clearing or reloading?

The tool does not save your text. Keep a separate copy before resetting or leaving the page.