Quick Answer
Paste your text into the box to see its character count with and without spaces. Enter a limit, such as 160 for a single SMS text message, and the tool shows how many characters you have left or how far over you are. Spaces, punctuation and line breaks all count as characters in the main count.
Embed this calculator
Adjust the size if needed, then copy the code below into your page or blog. The calculator will load in an iframe and stay updated automatically.
Table of Contents
- Character Counter
- Quick Answer
- Related Calculators
- How This Character Counter Works
- How to Use the Character Counter
- How Characters Are Counted
- Key Terms
- Worked Example
- Real-Life Examples
- Characters With Spaces vs Without Spaces
- UTF-8 Bytes per Character
- Why Counts Can Differ Between Apps
- Common Mistakes to Avoid
- Frequently Asked Questions
- References & Sources
How This Character Counter Works
Type or paste text into the box and the counts update with every key you press. Add a character limit to see how much room is left. This is handy for text messages, social media posts, ad copy, page titles, form fields and bios.
What it counts:
- Characters: letters, numbers, spaces, punctuation, symbols and line breaks.
- Characters without spaces: the same count with spaces, tabs and line breaks removed.
- Letters, digits, spaces and words: each counted on its own.
- UTF-8 size: how many bytes the text takes, for databases and forms that limit bytes.
The counting happens in your browser. Your text is not uploaded or saved.
How to Use the Character Counter
- Type or paste your text into the box.
- Enter a character limit if you have one, or leave 0.
- Read the characters with and without spaces.
- Check Characters left or Over the limit by.
- Edit your text until it fits, then copy it back to where you need it.
How Characters Are Counted
- Characters: user-perceived characters, following the Unicode text segmentation rules. An é or a flag emoji counts as 1, even though it can be stored as several code points.
- Characters left: limit − characters. A negative result is shown as Over the limit by.
- Limit used: characters ÷ limit × 100.
- UTF-8 size: plain English letters take 1 byte each, most accented letters 2 bytes, and most emoji 4 bytes.
- UTF-16 code units: the length a JavaScript program sees, where most emoji count as 2.
Key Terms
- Character: one letter, number, space, symbol or emoji as you see it.
- Code point: a number the Unicode Standard gives to a character.
- UTF-8: the most common way to store text as bytes, using 1 to 4 bytes per code point.
- Character limit: the most characters a field, post or message allows.
Worked Example
Text: See you at 6! with a limit of 20 characters.
- Characters: S, e, e, space, y, o, u, space, a, t, space, 6, ! = 13
- Without spaces: 13 − 3 spaces = 10
- Characters left: 20 − 13 = 7
- Limit used: 13 ÷ 20 × 100 = 65%
Real-Life Examples
- Text messages: a 172-character message is 12 characters over a 160-character limit.
- Page titles: a 58-character title uses 97% of a 60-character target.
- Bios and profiles: a 150-character bio limit with 128 characters used leaves 22.
- Form fields: an answer of 1,240 characters is 240 over a 1,000-character box.
Characters With Spaces vs Without Spaces
- With spaces: what most limits mean, including most web forms and text boxes.
- Without spaces: used by some translators, schools and publishers to price or measure text.
- Words instead: for essays and articles, a word limit is more common. Use the Word Counter for those.
UTF-8 Bytes per Character
Values follow the UTF-8 encoding rules (RFC 3629).
| Character | Example | Characters | UTF-8 bytes |
|---|---|---|---|
| English letter | A | 1 | 1 |
| Digit | 7 | 1 | 1 |
| Space | (space) | 1 | 1 |
| Accented letter | é | 1 | 2 |
| Euro sign | € | 1 | 3 |
| Emoji | 😀 | 1 | 4 |
Why Counts Can Differ Between Apps
- Emoji and accents: some apps count the stored code units, so one emoji can count as 2 or more.
- Line breaks: some forms count a line break as 2 characters.
- Links: some social apps shorten links and count them as a fixed length.
- Text messages: an SMS using only basic characters fits more letters than one that includes emoji or some accented letters, because a different encoding is used.
When it matters, check the rules of the app or form you are writing for.
Common Mistakes to Avoid
- Forgetting that spaces count. Most limits include spaces and punctuation.
- Pasting extra text. Copying from a web page can bring hidden spaces or line breaks.
- Assuming every app counts the same. Emoji and line breaks are counted in different ways.
- Cutting words in half. Trim whole words or rewrite the sentence instead.
- Leaving no margin. If an app counts differently, a text that is exactly at the limit may be cut off.
Frequently Asked Questions
Yes, in the main count. The tool also shows a count without spaces.
A single SMS holds up to 160 characters when it uses only the basic character set. Emoji and some accented letters lower this, so check with your phone.
Here it does, as you see it. Some apps count most emoji as 2 because of how they are stored.
Yes. Each line break counts as one character in the main count.
Some databases, forms and systems limit text by bytes, not characters. Plain English letters take 1 byte each.
No. Everything is counted in your browser and nothing is sent to us.
Yes. Enter a limit and the tool shows how many characters are left or how far over you are.
Paste your text and read the Characters without spaces line.
Sites treat emoji, line breaks and accented letters differently. This tool counts characters as a reader sees them.
References & Sources
| Source | Used For | Link |
|---|---|---|
| Unicode Standard Annex #29, Unicode Text Segmentation | Rules for user-perceived characters. | https://www.unicode.org/reports/tr29/ |
| IETF RFC 3629, UTF-8 | Bytes per character in UTF-8. | https://www.rfc-editor.org/rfc/rfc3629 |
| MDN Web Docs, Intl.Segmenter | The browser feature used to count characters. | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter |