TTKTheTextKit

Character Counter

Paste or type your text to see the total number of characters and the number without spaces, plus a breakdown of code points, UTF-16 units, UTF-8 bytes, letters and digits. Characters are counted as a reader sees them, so an emoji or an accented letter counts once. It is useful for posts, bios, meta descriptions and any field with a character limit. Everything is counted in your browser.

0characters
0without spaces
Code pointsUnicode characters; an emoji with a skin tone is 2 or more
0
UTF-16 unitsWhat JavaScript length counts; many emoji are 2 or more
0
UTF-8 bytesSize in a UTF-8 file or web page
0
LettersLetters in any alphabet
0
DigitsDigits in any script
0

Related Tools

[6 suggestions]

Guides for the Character Counter

About the Character Counter

A character is not one thing. This tool shows the count a reader would make and the counts a computer makes, because they differ whenever text has emoji, accents written as separate marks, or letters outside English. The main figure counts what Unicode calls grapheme clusters, the units a person sees as one character: a letter with its accent, an emoji with a skin tone, a flag, or a family emoji all count once, and a Windows line break counts as one. The without-spaces figure leaves out every space, tab, line break, no-break space and zero-width space. Below them are the machine counts. Code points are Unicode characters, so a family emoji is five. UTF-16 units are what JavaScript calls length, and the same family emoji is eight. UTF-8 bytes are the size in a UTF-8 file or web page, and the family emoji is 18, while a plain English letter is one and a Chinese character is three. Letters and digits are counted by Unicode category, so they include every alphabet and numeral system. Platforms set their own rules for what counts toward a limit, so for X and Google Ads use the Character Limit Checker. Everything runs in your browser and your text is never uploaded.

Does it count spaces as characters?▾

The first figure counts every character, including spaces, tabs and line breaks. The without-spaces figure leaves out all spaces, tabs, line breaks, no-break spaces and zero-width spaces.

How is an emoji counted?▾

As one character, even when it is made of several code points, such as a skin-tone thumbs-up or a family. The code point, UTF-16 and byte counts below it show how large the same emoji is to a computer.

What is the difference between characters, code points and bytes?▾

A character is what a reader sees. A code point is one Unicode value, and one character can use several. A byte is a unit of storage: in UTF-8 an English letter is one byte, an accented letter two, a Chinese character three and an emoji four or more.

How are line breaks counted?▾

Each line break counts as one character, and a Windows line break written as a carriage return plus a line feed also counts as one. They are left out of the without-spaces figure.

Can I use it for platform limits?▾

It is a good first check. Platforms count in their own ways: some count a link as a fixed length or count some characters twice. The Character Limit Checker applies the rules of X and Google Ads.