Account

What new tool do you want?

Text & Writing

Character Counter

Count characters with and without spaces and see what's left against limits for X posts, SMS, titles and meta descriptions.

How to use

  1. 1Paste your text.
  2. 2Pick a limit to check against — the remaining count updates as you edit.

How it's calculated

Characters are counted as the user-visible symbols you typed (emoji count as one). Bytes are the UTF-8 size.

Frequently asked questions

What is the character limit on X (Twitter)?

280 characters for a standard post. Links count as 23 characters each regardless of their length.

How long should a meta description be?

Around 150–160 characters. Search engines cut longer ones off, based on pixel width rather than a fixed count.

Why is the byte count different from characters?

Letters outside basic English, and emoji, take 2–4 bytes each in UTF-8, so bytes can exceed characters.

One emoji, several bytes

The counter uses the spread operator to iterate text, which correctly treats a single emoji like 👋 as one character rather than splitting it into the two UTF-16 code units JavaScript's raw .length would count — so the character count matches what a person actually sees. Bytes tell a different story: that same wave emoji costs 4 bytes once encoded in UTF-8, versus 1 byte for a plain ASCII letter. This is why the byte counter exists separately — some platforms and legacy systems still measure storage or transmission limits in bytes, not visible characters.

Picking the right limit to check against

The preset list — 280 for X, 160 for SMS and meta descriptions, 60 for SEO titles, 150 for an Instagram bio, 2,200 for a caption, 3,000 for LinkedIn — covers the limits people hit most often, but none of them tell the whole story. X, for instance, counts any link as exactly 23 characters through its t.co shortener regardless of the link's real length, something a plain character count can't reflect. Treat these presets as a first check, not the platform's final word on what will fit.

Worked example: Character Counter

Typing 'héllo 👋' returns 7 characters (h-é-l-l-o-space-👋, each counted once), 6 characters without the space, and 11 bytes — the accented é costs 2 bytes and the emoji costs 4, against 5 plain ASCII characters at 1 byte each (5 + 2 + 4 = 11). Against the default 280-character X limit, that leaves 273 characters remaining.

Lines and words are tracked too, not just raw characters

Alongside the character and byte counts, the tool also reports word count and a raw line count (a plain split on line breaks). That catches a mismatch character counts alone can hide: a text box that looks short on screen because it wraps across dozens of visual lines still reports as however many actual line breaks it contains, which could be just 1 if it's a single unbroken paragraph. Checking line count separately matters for anything pasted into a system — a CSV field, a config value — where an unexpected line break can break parsing even when the character count is well within limits.

Why limits are checked, not enforced

Picking a limit from the dropdown doesn't truncate or block further typing — it only updates the 'remaining' figure, which can go negative once you're over. That's intentional: this is a drafting aid for ad copy, meta descriptions or social posts, not an input mask, so you can keep writing past a limit, see by exactly how much you've exceeded it, and trim afterward instead of having a composer silently cut you off mid-sentence the way some native platform editors do.

Related tools

More: Text & Writing