How to use the Caption counter tool
- Paste or type your draft into the Caption box.
- Enter a limit in Character budget if you want a comparison, for example 280. Leave it empty to get the counts only.
- Select Count caption. Select Example to run a sample caption against a budget of 280.
- Read the Result box: Visible characters, Words, Hashtags and Lines, followed by Budget and Remaining or Over by when a budget is set.
- Edit the caption and select Count caption again. Changing the text clears the previous result.
How the caption character counter counts
The counter does not use the raw string length that JavaScript reports. It segments the text into grapheme clusters with the Intl.Segmenter API of the browser, following the Unicode text segmentation rules, and counts those. A grapheme is what a reader sees as one character.
The difference shows with emoji and accents. A family emoji built from three person emoji and two invisible joiners has a string length of 8, yet it counts as 1 here. A flag counts as 1, and so does an e followed by a combining accent. Spaces and line breaks are counted too, one each, even though the label says Visible characters.
A worked example with a budget
The caption has four lines, one of them blank. The two sentences hold 17 and 14 characters, the hashtag line 13, and the three line breaks add 3, which makes 47. The words are New, post, is, live, Read, it, today, blog and webdev: nine, because the word inside a hashtag is counted as a word. With a budget of 40 the last line reads Over by: 7. With 280 it would read Remaining: 233.
Caption:
New post is live.
Read it today.
#blog #webdev
Character budget (optional): 40
Result:
Visible characters: 47
Words: 9
Hashtags: 2
Lines: 4
Budget: 40
Over by: 7How words, hashtags and lines are defined
Each figure follows a simple rule, and knowing the rule explains the occasional odd number.
- A word is a run of letters, digits and underscores. Apostrophes and hyphens split words, so don't and well-known each count as two.
- A hashtag is a # followed by letters, digits or underscores, at the start of the text or right after a space or line break.
- A # in the middle of a word, as in mid#word, is not counted as a hashtag.
- #web-dev counts as one hashtag, because the match ends at the hyphen.
- Lines are the pieces between line breaks. Blank lines count, and a line break at the very end adds one more line.
- Character budget must be a whole number from 1 to 100000.
Why a platform's own count can differ
Networks do not agree on what a character is. Bluesky limits a post to 300 graphemes, the same unit this tool uses. X weighs characters: every link counts as 23 whatever its length, and emoji and Chinese, Japanese or Korean characters count as two. For plain Latin text without links the figures match.
Common budgets are 280 for a standard X post, 300 for Bluesky, 500 for Threads, 2,200 for an Instagram caption and 100 for a YouTube title. Platforms revise these numbers, so confirm the current value.
Frequently asked questions
Does the counter include spaces and line breaks?
Yes. Every space and every line break adds one to the character total. A Windows-style line break made of two code units still counts once, because it forms a single grapheme.
How are emoji counted?
Each emoji counts as one character, including multi-part emoji such as families, skin-tone variants and flags. X counts most emoji as two, so subtract accordingly when you are checking a post for X.
Why is my word count higher than expected?
Words are split at apostrophes and hyphens, so it's becomes two words. Numbers count as words, and the word inside each hashtag is counted as well. Punctuation and ordinary emoji are not counted as words.
What does Over by mean in the result?
It appears when the caption is longer than your Character budget and gives the number of characters to cut. When the caption fits, the same line reads Remaining with the space you still have.
Is my caption stored or sent anywhere?
No. Counting happens in your browser with built-in JavaScript APIs. The draft is not uploaded, logged or kept after you leave the page.