Character Counter — Check Text Against SMS, Post and Meta Limits

Paste your text to count its characters with and without spaces, check it against a common limit such as an SMS or a meta description, and see how many bytes it takes up.

Live demo · real result from this tool
Characters113
Without spaces
92
Words
21
Lines
3
Letters
89
Digits
0
Spaces
19
Unique characters
20
UTF-16 code units
113
UTF-8 bytes
113
Remaining
47

Processed on your device — nothing is uploaded.

How to use the character counter

  1. Type or paste your text into Your text.
  2. Pick a limit from Check against a limit: title tag (60), meta description (155), SMS (160), X / Twitter post (280), Instagram caption (2,200), LinkedIn post (3,000), no limit, or Custom….
  3. If you chose Custom, enter your number in Custom limit.
  4. Read Remaining, or Over the limit by if you have gone past it, along with the other counts.

What it does and when to use it

Short-form writing lives or dies by character limits. A meta description that runs long gets cut off in search results. An SMS that is one character too long can be billed as two messages. A form field might quietly drop whatever you type past its limit. This tool tells you exactly where you stand, so you can edit before you paste.

Besides the headline count, you get words, lines, letters, digits, spaces and unique characters. The unique character count ignores case and whitespace, which makes it a quick way to spot a stray symbol in a string you are debugging. For longer writing, where words matter more than characters, the Word Counter Pro adds sentences, paragraphs and reading time.

How it works

The tool reports three different ways of measuring the same text, because different systems use different ones:

  • Characters counts what a reader sees. The tool uses the browser’s built-in text segmenter, so “é” or “👍🏽” counts as one character.
  • UTF-16 code units is what JavaScript’s length returns, and what many web forms and character counters report. Most emoji count as two units here.
  • UTF-8 bytes is how much storage or bandwidth the text takes. Plain English letters are one byte each, accented letters are two, and emoji are usually four.

The limit check compares the Characters figure with the limit you picked. Everything runs in your browser.

Worked examples

A short greeting. “Hello, world!” is 13 characters, 12 without spaces. Against the SMS preset of 160, the tool shows Remaining: 147.

A title tag that runs long. “Free tools that run in your browser. Your files never leave your device.” is 72 characters. Checked against the title tag preset of 60, the tool shows Over the limit by: 12, so a dozen characters need to go.

An emoji with a skin tone. “Thanks 👍🏽” is 8 characters as you see them. But it is 11 UTF-16 code units and 15 UTF-8 bytes, because the thumbs-up and its skin-tone modifier are stored as two separate symbols of two code units each. A form that counts code units would see 11, not 8.

Limits and tips

  • X / Twitter counts every link as 23 characters, whatever its real length. This tool counts the characters you typed, so a post with long links has more room than it seems.
  • A line here is a line break you typed. A long paragraph that wraps on screen still counts as one line.
  • If a count looks too high, there may be hidden characters such as zero-width spaces from a copy and paste. The Invisible Character Remover finds and removes them.
  • To see which letters appear most, use Letter Frequency. To clean up a list before counting, try Remove Duplicate Lines.

Frequently asked questions

Do spaces count as characters?
On most platforms, yes. SMS, social posts and meta descriptions count every space. Some publishers and translators quote prices or limits per character without spaces, which is why both figures are shown.
Why does an emoji count as one character here but more somewhere else?
The main Characters figure counts what you see, so an emoji counts as one. Many websites count UTF-16 code units instead, and most emoji take two of those. An emoji with a skin-tone modifier takes four. The tool shows the code unit count too, so you can match whichever rule a platform uses.
What does the SMS limit of 160 really mean?
A single text message holds 160 characters only when every character is in the basic GSM-7 alphabet. One character outside it, such as an emoji or a curly quote, switches the whole message to a different encoding with a limit of 70. Treat the 160 preset as the best case.
Are the title tag and meta description limits exact?
No. Search engines cut titles and descriptions by their width on screen, not by a character count, so 60 and 155 are rules of thumb. Put the important words early so the meaning survives if the text is cut.
Is my text stored or uploaded?
No. Counting happens in your browser tab and nothing is sent to a server, so drafts and client copy are safe to paste.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close