About this tool
A character counter for anything with a limit: posts, ad copy, meta descriptions, SMS messages, form fields and commit messages. Type or paste text to see the character count with and without spaces, a breakdown into letters, digits, spaces and punctuation, the size in bytes, and how much room is left on common platforms.
Character limits at a glance
| Where | Limit |
|---|---|
| X (Twitter) post | 280 characters (links count as 23) |
| Google search result title | about 60 characters (really ~600 pixels) |
| Meta description | about 155–160 characters before truncation |
| SMS | 160 characters, or 70 if the text contains emoji or non-Latin characters |
| Instagram caption | 2,200 characters |
| LinkedIn post | 3,000 characters |
| YouTube title / description | 100 / 5,000 characters |
| Git commit subject line | 50 characters by convention |
SMS: why one emoji halves your limit
Standard SMS uses the GSM-7 alphabet: 160 characters per message (153 per part when a long message is split). A single character outside that alphabet, such as an emoji, a curly quote or a Hindi letter, switches the whole message to UCS-2, which allows only 70 characters (67 per part). The limits table shows which encoding your text needs and how many messages it will take.
How things are counted
- Characters are counted as you see them. An emoji like 👍, a flag 🇮🇳 or a family 👨👩👧 counts as one, and an accented letter counts once even when it is stored as a letter plus an accent mark. This is what most people and modern platforms mean by a character.
- Words use your browser’s language-aware word segmentation, so “don’t”, “e-mail” and “3.14” are handled sensibly and languages without spaces between words still get a count.
- Lines are separated by line breaks (Windows, Mac and Unix styles all count). A final line break does not add an extra counted line of text, but an empty last line does count.
Characters vs. bytes vs. JavaScript length
Databases and APIs sometimes limit bytes, not characters: in UTF-8, “é” takes 2 bytes and most emoji take 4. JavaScript’s .length counts UTF-16 code units, so 👍 has a length of 2. Both numbers are shown so you can check a VARCHAR or validation rule exactly.
FAQ
How do I count characters with and without spaces?
Paste your text. The first card shows all characters including spaces; “Without spaces” removes spaces, tabs and line breaks from the count.
How many characters can an SMS have?
160 with the standard GSM alphabet, or 70 if the message contains any emoji or non-Latin character. Longer messages are split into parts of 153 or 67 characters.
How long should a meta description be?
Around 150–160 characters. Google truncates longer descriptions in search results (it actually measures pixels, so wide letters use more space).
Do emoji count as one character?
Here, yes: characters are counted as you see them. Some platforms count emoji as two, and SMS treats them as switching to a 70-character limit.
What is the difference between characters and bytes?
A character is one visible symbol; bytes are how it is stored. In UTF-8, English letters take 1 byte, accented letters 2, and most emoji 4.