Count characters, letters, digits and bytes, and check SMS parts and a limit. Nothing leaves your browser.
The character count of a text is the number of characters a person sees, and this tool counts it that way, so an emoji with a skin tone, a flag or a letter with a separate accent mark each count as 1. Characters includes spaces and line breaks; Without spaces leaves out spaces, tabs and line breaks. Letters counts letters of any alphabet, Digits counts decimal digits, Spaces counts spaces and tabs, and Punctuation counts marks such as a comma or a full stop. Symbols such as $ and + are in none of those four. Lines counts line breaks, so a text that ends with a break has an extra empty line. UTF-8 bytes is the size of the text as stored in a file or sent in a request: 1 byte for plain English letters, 2 for é, 3 for € and 4 for most emoji. For example, the sample text is 72 characters, 58 without spaces, 53 letters, 1 digit, 14 spaces and 4 punctuation marks.
A text message is encoded one of two ways. If every character is in the GSM-7 set, one message holds 160 units, and a longer text is split into parts of 153. If even one character is outside the set, the whole message switches to UCS-2, which holds 70 units, or 67 per part when split. A curly apostrophe is enough to trigger it: 70 characters ending in a curly quote is 1 message, 71 is 2. Some GSM-7 characters are sent as an escape plus the character, so they cost 2 units: the euro sign and the symbols ^ { } \ [ ] ~ | and the form feed. Eighty euro signs fill one message of 160 units and 81 need 2 parts. A single emoji such as the grinning face costs 2 units in UCS-2, but an emoji with a skin tone costs 4, a flag costs 4 and a family sequence 8, so 35 single emoji fill one message and 18 with a skin tone need 2 parts. A character that takes 2 units is never split across two parts, so a part can end one unit early. A line break written as CRLF is 2 units. 161 plain letters are 2 parts. The table shows the encoding, the units and the number of parts. Carriers and apps may handle long messages differently, so treat the parts as the standard rule, not a guarantee.
Type a number in the limit box to see how many characters are left or over. The count uses the same characters as the main total. The tool does not hold a list of other services' limits, because those change; look up the current limit for the service you use and type it in. The second table counts the letters A to Z. With Ignore case on, A and a share a row, so there are 26 rows; with it off there are 52. It is exact, which makes it a quick answer to questions such as how many r there are in strawberry (3). Accented and non-Latin letters are not in this table, so é is not counted as e. The Letters tile above counts all alphabets.
Text up to 1,000,000 characters is handled; longer text shows a message asking you to split it. The count is of Unicode characters, so another program that counts UTF-16 units or bytes may show a larger number for the same text. Characters from the Mathematical Alphanumeric block, such as 𝐇, are letters here but are 2 units in UCS-2. The text is processed in your browser, in this tab. It is not uploaded, saved or put in the page address. Only your choices, such as the limit number, are remembered in this browser.
Both are shown at once. Hello world is 11 characters and 10 without spaces. Tabs and line breaks are left out of the without-spaces number as well as spaces.
3. Paste the word, switch the table to Letter frequency and read the row for R. The table lists every letter from A to Z, including the ones with a count of 0, and ignoring case is on by default.
A GSM-7 message holds 160 units and splits into parts of 153. One character outside the GSM-7 set, such as a curly apostrophe or an emoji, switches it to UCS-2, which holds 70 and splits into parts of 67. The table shows which encoding applies.
The main count is of characters a person sees, so a thumbs-up with a skin tone is 1. An SMS counts units of the encoding. A single emoji such as the grinning face takes 2 UTF-16 units, so 35 of them fill a 70-unit message, but a thumbs-up with a skin tone takes 4, a flag 4 and a family 8, so 18 skin-tone thumbs-ups are 72 units and need 2 parts.
They show how large the text is in a file or a request. A 100-character text of plain English letters is 100 bytes, but 100 letters é are 200 bytes and 100 emoji are 400 bytes. A field limited in bytes needs this number, not the character count.
No. The text is processed in your browser, in this tab, and no server receives it. Your choices, such as the limit number, are saved in this browser, but the text is not. Google Analytics counts visits, results and copy presses, never the text.