Free Character Counter

Count characters, words, lines, and bytes as you type, with live limit meters for X, SMS, meta tags, LinkedIn, and Instagram.

Counts are calculated in your browser. Your text is never uploaded or stored.

0
Characters
0
Chars (no spaces)
0
Words
0
Sentences
0
Lines
0
Bytes (UTF-8)

Characters are counted as you see them on screen (grapheme clusters). Code points: 0 · UTF-16 units: 0 · Spaces & line breaks: 0

Platform Limit Meters

Each meter counts your text the way that platform does, as closely as a browser can. Limits marked "approx." vary by device, account type, or rendering width, so treat them as guides rather than hard rules.

X / Twitter post 0 / 280
280 left
Approx. Weighted like X: links count as 23, emoji and CJK characters as 2. Standard (non-premium) limit.
SMS text message 0 segments
GSM-7 encoding · 160 characters per single message
Single SMS: 160 GSM-7 or 70 UCS-2 characters. Multi-part messages hold 153 or 67 per segment.
Meta title (approx.) 0 / 60
60 left
Search results cut titles by pixel width (roughly 600px), so wide letters run out sooner.
Meta description (approx.) 0 / 160
160 left
Around 150–160 characters shows on desktop; mobile snippets are often shorter.
LinkedIn post 0 / 3,000
3,000 left
Approx. Only the first few lines appear in the feed before "see more".
Instagram caption 0 / 2,200
2,200 left
Approx. The feed shows roughly the first line or two before truncating.
Advertisement

How to Use This Character Counter

Paste or type into the box above and every figure updates as you go. The six cards at the top give you the totals most people need: characters with spaces, characters without spaces, words, sentences, lines, and the size of the text in UTF-8 bytes. The line just below the cards shows two lower-level measurements, code points and UTF-16 units, which explain most of the disagreements you will see between different counting tools.

The Platform Limit Meters section checks the same text against six common limits at once. Each bar fills green while you have room, turns yellow once you pass 90% of the limit, and turns red when you go over, with the overage spelled out in words so you are not relying on color alone. "Copy Stats" puts a one-line summary on your clipboard, which is handy when you need to report a count to an editor or client. Nothing you type leaves the page; the counting is plain JavaScript running on your own device.

What Counts as a Character? It Depends Who Is Counting

"Character" sounds like an obvious unit, but software measures text in at least four different ways, and they only agree for plain English letters. The number this tool shows as Characters is the count of grapheme clusters: the units a reader perceives as single symbols. The letter é, the flag of Japan, and a thumbs-up emoji with a skin-tone modifier are each one grapheme, even though some of them are built from several pieces underneath.

Those pieces are code points, the numbered entries in the Unicode standard. A skin-toned thumbs-up is two code points (the hand plus the tone modifier), and a family emoji can be five or more, glued together with invisible joiners. Below code points are UTF-16 code units, which is what JavaScript's length property, Java strings, and many older systems count. Any code point above U+FFFF, which includes nearly all emoji, takes two units. Finally there are bytes, the storage size on disk or over the network. In UTF-8, the encoding used by most of the web, English letters take one byte, accented Latin letters two, most Chinese, Japanese, and Korean characters three, and emoji four.

So the string "café 👍🏽" is 6 characters to a human, 7 code points, 9 UTF-16 units, and 14 bytes in UTF-8. When a form rejects text that looks short enough, the form is almost always counting one of the lower-level units.

How SMS Segments Work: GSM-7 vs UCS-2

Text messages are the clearest example of encoding changing the limit. A single SMS carries 140 bytes of payload. Phones normally use the GSM-7 alphabet, which packs each character into 7 bits, and that is where the famous 160-character limit comes from. GSM-7 covers basic Latin letters, digits, common punctuation, and a handful of accented and Greek letters. A few symbols, including [ ] { } ~ ^ | \ €, live in an extension table and cost two slots each.

Use one character that GSM-7 cannot represent and the entire message switches to UCS-2, a 16-bit encoding. The single-message limit drops to 70 characters. Emoji make this worse because each one takes two UCS-2 units. Messages longer than one segment are sent as several parts, each carrying a short header that tells the receiving phone how to reassemble them. The header eats into the payload, so multi-part messages hold 153 GSM-7 characters or 67 UCS-2 units per segment.

The SMS meter above detects the encoding, counts segments the same way, and lists any characters that forced UCS-2. The usual culprits are invisible: curly quotes and apostrophes pasted from a word processor, an en dash, or a non-breaking space. Replacing a ’ with a plain ' can cut the segment count of a long message in half. That matters if you pay per segment for marketing texts or two-factor codes. Carriers and messaging gateways sometimes handle edge cases differently, so treat the meter as a close estimate.

Advertisement

Social Platform Limits and How Each One Counts

X does not count raw characters. It uses a weighted count: most Latin, Greek, and Cyrillic characters cost one point, while Chinese, Japanese, and Korean characters and every emoji cost two, against a budget of 280. Any link costs 23 points no matter how long it is, because X wraps it in its own shortener. The X meter here applies those rules, which is why pasting a long URL barely moves the bar. Paid accounts can publish much longer posts, but replies and previews still favor brevity, and the 280 budget remains the standard for free accounts.

LinkedIn allows about 3,000 characters in a regular post, and Instagram allows about 2,200 in a caption. Both hide most of that behind a "see more" link in the feed, so the real constraint is usually how compelling your opening line is, not the ceiling. Platforms adjust these numbers from time to time, which is why those meters are labeled approximate. If you are close to a hard limit, paste the final text into the platform's own composer before you publish.

Meta Titles and Descriptions: Pixels, Not Characters

Search engines do not publish a character limit for title tags or meta descriptions. Results are trimmed to fit a pixel width, so a title full of narrow letters like "i" and "l" fits more characters than one full of "W" and "M". Roughly 50–60 characters for a title and 150–160 for a description display in full on a desktop results page most of the time; mobile layouts vary. The meters here use 60 and 160 as practical targets.

Two habits matter more than hitting an exact number. Put the words that tell a searcher they found the right page at the start, so truncation removes only the least important part. And write each page's description for that page; search engines frequently replace generic or duplicated descriptions with a snippet pulled from the body text.

Why Byte Counts Matter

Bytes are the unit that storage and network systems care about. Some databases define column sizes in bytes rather than characters, so a field that holds 255 English letters may reject 255 characters of Japanese. MySQL's older utf8 character set stores at most three bytes per character and cannot hold emoji at all; utf8mb4 is needed for full Unicode. APIs often cap payload sizes in bytes, and push notification services and HTTP headers have byte limits too. If you are filling a field with a documented byte limit, the UTF-8 card is the number to watch. When text has to travel inside a URL, each non-ASCII byte becomes a three-character escape, which our guide to URL encoding explains in detail.

Common Counting Pitfalls

Line breaks are characters. Every press of Enter adds one, and some systems, notably Windows text files and many email standards, store a line break as two characters (carriage return plus line feed). A 10-line message can therefore be 9 characters longer on one system than another. Browsers normalize line breaks in text boxes to a single character, which is how this tool counts them.

Invisible characters cause the most confusing mismatches. Zero-width spaces, byte-order marks, and soft hyphens can hitch a ride when you copy from web pages, PDFs, or chat apps. They add to the count without showing on screen. If a count looks one or two higher than you expect, retype the suspicious spot or paste into a plain-text editor first. Trailing spaces at the end of a line are another quiet source of extra characters.

Finally, "characters without spaces" excludes every kind of whitespace, including tabs and line breaks. It is useful for translation quotes and certain academic rules, but almost no publishing platform measures limits that way. If you also need word-based targets for an essay or article, the Word Counter adds reading time and keyword density.

Frequently Asked Questions

Do spaces count as characters?

Yes, on almost every platform that enforces a limit. X, SMS, LinkedIn, Instagram, and search engines all count spaces, line breaks, and punctuation toward the total. The "without spaces" figure is mainly useful for translation quotes, some academic requirements, and typesetting estimates.

Why does an emoji count as two characters?

Most emoji sit outside the Basic Multilingual Plane, so they are stored as two UTF-16 code units. Systems that count code units, including JavaScript's length property and SMS encoding, see two units. X deliberately weights each emoji as two characters. Some emoji are built from several code points joined together, so a single family or flag emoji can count as four, seven, or more units in older systems.

Why did my text message split into several messages?

A single SMS holds 160 characters in the GSM-7 alphabet or 70 characters in UCS-2. Longer messages are split into segments of 153 or 67 characters because each part carries a small header used to reassemble it. One character outside GSM-7, such as a curly quote or an emoji, switches the whole message to UCS-2 and can more than double the number of segments.

How long should a meta description be?

Search engines truncate descriptions by pixel width rather than a fixed character count, so there is no exact limit. Around 150 to 160 characters usually displays in full on desktop, and mobile results often show less. Put the most important information first, and remember that Google may replace your description with text from the page.

Is my text sent to a server?

No. Every count on this page is calculated by JavaScript running in your browser. The text you paste is not uploaded, logged, or stored, and the tool keeps working if you disconnect from the internet after the page loads.

Advertisement

Related Articles

Expert guides and educational resources to help you master the math.

Related Tools

More free text utilities to help with your writing.