Skip to content
hateitall

Character Counter

Know exactly how many characters you have for a title, a meta description, a post or a database field, emoji included.

Processed locallyIn: Text, TXT fileOut: Character count, Byte count

Loading tool…

How to use character counter

  1. Type or paste your text, or open a text file.

  2. Read the character count, the count without spaces and the byte size.

  3. Pick a limit (page title, meta description, 280, 500, 2,200) or type your own to see what is left.

  4. Check the breakdown into letters, digits, punctuation, emoji and whitespace.

What this tool does

  • Counts grapheme clusters, so a flag, a thumbs up with a skin tone or an accented letter is one character.
  • Also shows code points (Python's len), UTF-16 units (JavaScript's .length) and UTF-8 bytes (file size).
  • Counts without spaces, tabs or line breaks, and counts spaces alone.
  • Breaks the text into letters, CJK characters, digits, punctuation, emoji and whitespace.

How the result is verified

Type a single emoji such as a thumbs up with a skin tone: characters shows 1, code points 2, UTF-16 units 4 and UTF-8 bytes 8. Those four numbers disagreeing is the point, and you can compare them with len() in Python or .length in JavaScript.

Frequently asked questions

Why does my emoji count as 1 here but 2 elsewhere?

Many counters use JavaScript's .length, which counts UTF-16 code units, and most emoji take two of those (some take seven or more). This tool counts what a reader sees as one character, and it shows the UTF-16 count too so you can match either kind of limit.

What does "without spaces" leave out?

Every whitespace character: spaces, tabs, line breaks and no-break spaces. The breakdown also shows how many ordinary spaces there are on their own.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Live word count with a limit bar, unique words and reading time

Text · TXT file→ Word countLight on device

Every count, readability, word frequency and longest words in one view

Text · TXT file→ StatisticsLight on device

Lines, blank lines, unique lines and the longest line

Text · TXT · CSV +→ Line countLight on device

Collapse runs of spaces and tabs into one space

Text · TXT→ TextLight on device