All tools › Text, Fonts & Symbols › Text Utilities
Count characters, letters, spaces and bytes, and see how many are left of the limit you type.
Count characters, bytes and what is left of a limit
This character counter tells you how long a piece of text is and how it breaks down: letters, digits, spaces, punctuation, lines, UTF-8 bytes and UTF-16 units. Type a limit and it shows how many characters you have left or how far over you are.
It helps with anything that has a length cap: a bio, a title, a form field, a text message, a database column. The text is counted in your browser and is not uploaded.
How to use the character counter
- Type or paste into Your text. The counts update as you type.
- Enter the Character limit you have to meet. The 280 that loads is only an example limit; replace it with the limit given by the site, app or form you are writing for. Leave the box empty if you have no limit.
- Choose what to Count against the limit: characters, characters without spaces, UTF-8 bytes or UTF-16 units.
How the characters are counted
characters = letters + digits + spaces and tabs + line breaks + punctuation and symbols
One character here is one Unicode code point. The groups are:
- Letters: A to Z in both cases, accented letters and letters of other alphabets.
- Digits: 0 to 9.
- Spaces and tabs: every blank character except line breaks. Line breaks are counted through Lines, which is the number of line breaks plus 1.
- Punctuation and symbols: everything else, including emoji.
- Characters without spaces leaves out spaces, tabs and line breaks.
The two technical rows measure storage size rather than what you see:
| Code point | UTF-8 bytes | UTF-16 units |
|---|---|---|
| U+0000 to U+007F (plain English letters, digits, basic punctuation) | 1 | 1 |
| U+0080 to U+07FF (most accented Latin letters, Greek, Cyrillic, Hebrew, Arabic) | 2 | 1 |
| U+0800 to U+FFFF (the euro sign, most Chinese, Japanese and Korean characters) | 3 | 1 |
| U+10000 and above (most emoji) | 4 | 2 |
Worked example
Type two lines. Line one: Café menu: latte €4.50, tea €3! Line two: Open 7 days. Set the limit to 40 and count characters.
| Row | Value |
|---|---|
| Character count | 44 characters |
| Against the limit | Over by 4 (limit 40 characters) |
| Characters without spaces | 36 |
| Letters | 24 |
| Digits | 5 |
| Spaces and tabs | 7 |
| Punctuation and symbols | 7 |
| Lines | 2 |
| UTF-8 bytes | 49 |
| UTF-16 units | 44 |
The groups add up: 24 + 5 + 7 + 7 = 43, plus 1 line break makes 44. The byte count is 5 higher than the character count because the accented e takes 2 bytes and each of the two euro signs takes 3. Switch the limit to UTF-8 bytes and the first row changes to “Over by 9 (limit 40 UTF-8 bytes)”.
A single smiley-face emoji on its own gives 1 character, 4 UTF-8 bytes and 2 UTF-16 units.
Which count should you use?
Use characters when a person reads the limit, such as “up to 100 characters”. Use UTF-8 bytes when a system stores the text and the limit is given in bytes, as some database fields and file formats do. Use UTF-16 units when a form counts the way JavaScript’s length property does: plain text matches the character count, but each emoji counts as 2.
The letter frequency table under the result counts A to Z with capital and small letters together and shows each letter’s share. It is handy for word games and simple cipher puzzles. Accented letters are counted as letters but are not listed in that table.
Limits of this counter
- Every site decides for itself how to count. Some count a link as a fixed length, count emoji as 2, or count bytes. This tool does not know those rules, so no platform limits are built in. Type the limit and pick the closest counting method.
- What looks like one symbol can be several code points. A letter followed by a combining accent, a flag, or an emoji with a skin tone or a family group is built from more than one, and each part is counted.
- Line breaks pasted from Windows programs are treated as one character each, not two.
- The text can be up to 100,000 UTF-16 units long.
Frequently asked questions
Do spaces count as characters?
Yes, in the main count. The row “Characters without spaces” gives the total with spaces, tabs and line breaks left out.
Why does my emoji count as 2 or more?
Most emoji sit above U+FFFF, so they take 2 UTF-16 units, and some are made of several code points joined together. The main count shows code points.
Why is the byte count larger than the character count?
Any character outside basic English text needs 2 to 4 bytes in UTF-8. Text with only plain letters, digits and basic punctuation has the same number of bytes as characters.
Can I count without a limit?
Yes. Clear the limit box and the first row reads “No limit typed” while every other count still works.
Related calculators
- Word Counter – words, sentences, paragraphs and reading time for the same text.
- Case Converter – change capital and small letters without retyping.
- Slug Generator – turn a title into a short URL slug with a length cap.
- Invisible Character (blank text) – blank characters that still count toward a length.

