Skip to content

Character Counter

Count every character in your text, with and without spaces, and see how many are left against a limit you choose.

Character counter
Type or paste text, optionally set a limit.

For example 280, the usual limit for a standard X post.

Characters
46
234 left
Against your limit
40
Without spaces
7
Words
1
Lines
46
UTF-8 bytes
Characters as you see them (an emoji, even a flag or a family, counts as one)
How characters are counted

Private: Everything runs in this page. Nothing you type is sent anywhere or saved.

On this page
  1. Character count examples
  2. Formula
  3. How the character counter works
  4. What this tool does not do
  5. Frequently asked questions
  6. Related tools

Character count examples

TextCharactersUTF-8 bytes
Hello55
Hello world1111
a b c55
Café45
€10046

Formula

characters = every character as you see it: a letter, digit, symbol, space or line break, and an emoji (also a flag, a skin-tone or a family emoji) counts as one

The count uses Intl.Segmenter, which every current browser has, to group a character with its accents and joiners. A browser without it counts Unicode code points instead, so a combined emoji counts as several; the box named How characters are counted says which method was used.

How the character counter works

  1. Step oneType or paste your text into the box.
  2. Step twoOptional: type a limit in the second box, such as 280.
  3. Step threeRead the character count, and the tile that shows how many characters are left or by how many you are over.

What this tool does not do

  • It counts characters as you see them where the browser has Intl.Segmenter: a letter with a combining accent, an emoji with a skin tone and a flag each count as one.
  • A browser without Intl.Segmenter counts Unicode code points instead: a letter with a separate combining accent then counts as two and a combined emoji as several. The How characters are counted box says which method ran.
  • It does not know the rules of any platform: a limit you type is only compared with the number, nothing more.
  • It does not shorten or cut your text.

Frequently asked questions

Do spaces count as characters?

Yes, in the main count. The tile without spaces leaves out spaces, tabs and line breaks.

How are emoji and accented letters counted?

As you see them: one emoji counts as one character, even a flag, a thumbs-up with a skin tone or a family. The same goes for a letter with a separate accent mark. If your browser cannot group characters, the page says so and counts Unicode code points instead.

Why can the byte count be higher than the character count?

Letters outside plain English, such as the e with an accent or the euro sign, take 2 to 4 bytes in UTF-8, so the byte count can be larger than the character count.

Does it save what I type?

No. The count is made in your browser and the text never leaves the page.