How to use the X / Twitter hashtags tool
- Paste your draft post into Topic or caption.
- Leave Maximum hashtags empty to get four tags, or type a whole number from 1 to 30.
- Select Generate. Select Example to run the sample topic.
- Scan the Result box for tags made only of digits and remove them, since X does not link those.
- Select Copy and paste the tags into your post.
How hashtags behave on X
On X a hashtag is a # followed by letters, digits or underscores. A space or punctuation mark ends it, and a tag made only of digits is not linked. Hashtags are part of the post text, so on a standard account they count toward the 280-character limit. The help pages of X suggest using no more than two per post, although more are allowed.
What the X hashtag generator returns
The generator reads your draft in order and keeps the first four words that pass its filter. A word passes when it has at least two characters, is not one of thirteen English filler words such as the, and, of or with, and has not been used already. Change Maximum hashtags to get fewer or more, up to 30.
The tool does not apply the digits-only rule of X. A year or version number in the draft comes back as a tag like #2025, and you need to delete it yourself.
Example: a release announcement
This draft shows two typical problems. The dot splits Node.js into #Node and #js, and the version number becomes #22. Together they use three of the four slots.
A small rewrite gives a better line. NodeJS release: native TypeScript stripping and a faster test runner returns #NodeJS #release #native #TypeScript.
Topic or caption: Node.js 22 is out: native TypeScript stripping and a faster test runner
Maximum hashtags: (empty, defaults to 4)
Result:
#Node #js #22 #outCounting the cost in characters
The line #NodeJS #release #native #TypeScript is 36 characters long, about an eighth of a standard post. Weigh that against what the tags add. Often a tag can replace a word in the sentence, which costs one extra character for the # instead of a whole extra word.
To check a finished post, paste it into the Caption counter tool with a budget of 280. Keep in mind that X counts every link as 23 characters and most emoji as two, which a plain character count does not reflect.
Frequently asked questions
Why does the X generator default to four hashtags?
Four is the fallback built into this page for X, one lower than the five used on most other network pages, which suits the short posts on X. Enter 1 or 2 in Maximum hashtags if you want to follow the two-tag advice from X.
Do hashtags count toward the 280-character limit on X?
Yes. Hashtags are ordinary post text, and each character of a tag, including the # sign and the space before it, is counted. Four medium-length tags can take 30 to 40 characters.
Why is #22 or #2025 not clickable on X?
X does not link hashtags that consist only of digits. The generator still outputs them because it treats numbers like any other word. Remove them, or attach letters in your draft, for example Node22.
Can I use the output in replies and threads?
Yes. The result is plain text, so it can go into a post, a reply or any part of a thread. The tool does not post anything and has no access to your account.
Does the tool show what is trending on X?
No. It cannot see trends, follower data or search volume. It formats words from your draft, so use the Explore tab in X when you need to know which tags are active.