RevealTheme logo

Twitter / X Character Counter

Count characters against the standard 280-character Twitter/X limit as you type. Links written with an http:// or https:// prefix are counted as 23 characters, mirroring t.co shortening.

0/280 characters

How to use this tool

  1. 1

    Type or paste your draft into the text box.

  2. 2

    Read the live counter below it, shown as used/280.

  3. 3

    If you go over, the box turns red and shows how many characters you are over by.

  4. 4

    Trim your text until the counter is at or under 280, then copy it into Twitter/X.

How does Twitter/X count characters?

Twitter/X limits a standard post to 280 characters, but it does not count raw keystrokes. Any URL is collapsed to a fixed 23 characters because the platform rewrites links through its t.co shortener, so a long link costs the same as a short one. The official count also normalizes text (Unicode NFC) and weights code points: Latin letters, digits, and punctuation weigh 1, while CJK, Arabic, and most other non-Latin characters weigh 2, and a whole emoji counts as 2. This tool is a close but simplified approximation. It detects links only when they include an explicit http:// or https:// prefix and replaces them with 23 characters; bare domains like example.com are counted literally. For everything else it uses the string's UTF-16 code-unit length. That means simple emoji happen to count as 2, but multi-part emoji (skin tones, flags, family sequences) are over-counted, and non-Latin scripts are under-counted versus the real limit. For exact, standards-grade counts, Twitter publishes the open-source twitter-text library that implements the full weighting algorithm.

Common use cases

  • Checking a single tweet fits in 280 before posting, without opening the compose box.

  • Drafting a tweet in a notes app or spreadsheet and validating the length offline.

  • Confirming a post stays under the limit after pasting in a long t.co-style link.

  • Writing thread segments and trimming each one to a clean 280-character chunk.

  • Teaching or demoing how t.co link shortening affects the character budget.

  • Quickly seeing the exact overflow count so you know how much to cut from copy.

Frequently asked questions

Why is my link counted as 23 characters?
Twitter/X routes every link through its t.co shortener, so any URL costs a fixed 23 characters no matter its real length. This tool reproduces that, but only for links that start with http:// or https://.
Are bare domains like example.com counted as 23?
No. This tool only recognizes a link when it has an explicit http:// or https:// prefix. A bare domain such as example.com is counted literally, character by character. Real Twitter/X would still shorten it, so add the scheme to get an accurate count here.
Does it handle emoji and non-Latin text correctly?
Only approximately. It counts UTF-16 code units, so simple emoji land at 2 by coincidence, but multi-part emoji (skin tones, flags, family sequences) are over-counted. Non-Latin scripts like Chinese, Japanese, and Arabic are under-counted, because the official algorithm weighs those characters as 2 while this tool weighs them as 1.
What about Premium long posts of up to 25,000 characters?
This tool always checks against the standard 280-character limit. It does not model Premium/Blue long posts, so if you subscribe and intend to write a longer post, the over-limit warning here will not apply to you.
Is my text uploaded anywhere?
No. The counter runs entirely in your browser with React. Your draft never leaves your device and is not sent to any server.
I need an exact count that matches Twitter. What should I use?
Use Twitter's official open-source twitter-text library, which implements the full Unicode normalization and per-character weighting. This tool is meant for quick everyday checks of mostly-Latin posts, not edge-case accuracy.

Related tools