X (Twitter) Character Counter: Check Your Post Length Before You Publish

Count characters the way X counts them, so a post fits before you press publish.

PostDovo’s X character counter checks your text against every X limit at once: a standard post (280 characters), a Premium longer post (25,000), a bio (160), a display name (50), a handle (15) and a direct message (10,000). It follows X’s own counting rules, so a link counts as 23 characters and an emoji as 2, and it paints the part that does not fit in red.

Type or paste your text into the counter above. It is free, needs no login, and your text never leaves your browser.

How the X Character Counter Works

Paste a draft or start typing and the count updates with every keystroke. The ring shows how many characters you have left, the number beside it shows how many you have used, and the colour changes from green to amber as you get close and to red once you are over.

  • The text that does not fit is highlighted. Everything past the limit turns red in the box, so you can see exactly what to cut.
  • Links are tinted. X counts every link as 23 characters, whatever its length, and the counter marks the links it recognised.
  • Every limit is checked at once. The cards under the box show your text against a post, a longer post, a bio, a display name, a handle and a direct message. Select a card to count against it.
  • Plain length and X’s count are both shown. When they differ, the counter tells you why.

X Character Limits

X uses a different limit for each place you can write. These are the limits the counter checks:

WhereLimitNotes
Post280 charactersThe limit for every free account. Replies and quote posts follow the same limit.
Longer post25,000 charactersOnly X Premium subscribers can write posts this long. Everyone can read them.
Bio160 charactersThe text on your profile.
Display name50 charactersThe name shown above your handle.
Handle15 charactersLetters, numbers and underscores only.
Direct message10,000 charactersMuch more room than a public post.

X sets these limits and can change them. If you see a different number in X’s own app, trust the app.

How X Counts Characters

X does not simply count letters. It gives each character a weight, and a post fits when its total weight is 280 or less. PostDovo’s counter uses twitter-text, the open-source library that X’s developer documentation recommends for counting, so the numbers match.

What you typeHow it counts
Letters, numbers, punctuation and spaces1 each
Links23, however long the link is. A 200-character link and a 30-character link take the same room.
Emoji2 each, however complex. A skin-tone emoji or a whole family emoji is still 2.
Chinese, Japanese and Korean characters2 each, so a post in these languages holds about half as many characters.
Line breaks1 each
Hashtags and @mentionsCount normally, including the # or @
Attached photos, GIFs and video0

One example from X’s documentation: Hello, world! 👋 is 14 characters of text plus an emoji worth 2, so it counts as 16.

When you reply to someone, X adds their @handle at the start for you, and that automatic mention does not count towards your limit. A mention you type yourself does.

X also normalises text before it counts, so a letter typed as one character and the same letter built from two (an “e” followed by an accent) both count once.

Bios, names, handles and direct messages

X publishes its counting rules for posts. It does not publish a separate rule for the other places, so the counter counts a bio, a display name, a handle and a direct message as plain characters. For a handle it ignores the @ you type in front, and it warns you about characters a handle cannot contain.

Turn Long Text Into an X Thread

When a text is longer than one post, the counter offers Split into a thread. It cuts your text into posts that each fit within 280 characters, breaking at the end of a paragraph or sentence where it can and at a word otherwise, and it never cuts a link in half.

  • Switch Number the posts on to end each post with a count such as (2/5). The room for the number is kept free, so every post still fits.
  • Copy a single post, or copy the whole thread and paste it into X.
  • Edit the text above and the thread updates straight away.

If you have an X Premium account, you can skip the thread and publish a single longer post, up to 25,000 characters.

Tips for Writing Within the Limit

  • Lead with the point. Put the idea in the first sentence, then add detail only if there is room.
  • Cut filler words. “Just”, “really” and “very” rarely earn their characters.
  • Watch your line breaks. Each one counts as a character, so a long list of short lines costs more than it looks.
  • Keep one link, and put it where it helps. It costs 23 characters whatever its length, so there is no reason to shorten it.
  • Count emoji as two. A row of five emoji costs ten characters.
  • Write for the shorter limit first. A tight 280-character post usually reads better than a stretched one, even for Premium accounts.

From Counting to Publishing

Once the post fits, you can publish it from PostDovo. The free social media scheduler lets you write one post, adapt it for each network and publish it now or later, and you can start without an account. Press Schedule this post free under the counter and your text is carried over.

If you would rather start from an idea than a draft, the social media campaign generator turns a website or a topic into a set of posts you can then check here.

Frequently Asked Questions

What is the character limit on X?

A standard post can have up to 280 characters. X Premium subscribers can write longer posts of up to 25,000 characters.

Do links count as 23 characters on X?

Yes. X shortens every link and counts it as 23 characters, whether the original link is 20 characters or 200.

How many characters is an emoji on X?

Every emoji counts as 2 characters, including emoji with skin tones and emoji made of several parts, such as a family.

Do hashtags, @mentions and line breaks count?

Yes. A hashtag or @mention counts its # or @ and every letter after it, and each line break counts as 1. The only exception is the @handle X adds at the start of a reply for you.

How are Chinese, Japanese and Korean characters counted?

Each one counts as 2, so a standard post holds about 140 of them.

How long can an X bio, display name and handle be?

A bio can have 160 characters, a display name 50 and a handle 15. A handle can only use letters, numbers and underscores.

Why does this counter show a different number from a plain word processor?

A word processor counts every character as 1. X gives links, emoji and some languages a different weight, so its count can be higher or lower. This counter shows both numbers.

Is my text saved or sent anywhere?

No. The counting happens in your browser and nothing you type is sent to PostDovo. The Post on X button opens X’s own compose window with your text only when you press it.

Can I split a long text into a thread?

Yes. When your text is longer than one post, press Split into a thread to get numbered posts that each fit within 280 characters, then copy them one by one or all at once.