ToolJutsu
All tools
Social Media Tools

Hashtag Counter

Count hashtags and warn when you exceed limits.

180 chars
8
Total hashtags
6
Unique hashtags
2
Invalid tags flagged
Recommended: 5Hard cap: 30
8 hashtags

Above the recommended 5 for Instagram. Still allowed, but fewer focused tags usually perform better.

Instagram allows up to 30 hashtags; 3–5 well-chosen tags now outperform 30.

Detected hashtags
  • #SocialMediaMarketing
  • #contentcreator
  • #smallbusiness
  • #SocialMediaMarketingduplicate
  • #photography
  • #marketing_tips
  • #brandstrategy
  • #photographyduplicate

2 items were skipped: a lone # or an all-numeric tag like #2024 is not a valid hashtag.

Processed on your device. We never see your files.

How to use Hashtag Counter

What this tool does

The Hashtag Counter scans any caption or block of text and tells you exactly how many hashtags it contains. Paste your post and the tool detects every hashtag in real time, separating them into a total count and a unique count, so you immediately see both how many tags you used and how many distinct ones they represent. It lists each detected hashtag and flags any repeats, then compares your total against the recommended number and the hard cap for the platform you select.

A hashtag is recognised as a # followed by one or more letters, digits, or underscores — and it must include at least one letter or underscore. A lone # or a purely numeric string such as #2024 is not a valid hashtag on any major network, so the tool counts those separately and flags them rather than letting them inflate your real total.

Why hashtag count matters

The number of hashtags you use is one of the few content variables that directly shapes reach, and the right number is different on every platform. Instagram allows up to 30 hashtags but its current creator guidance favours roughly three to five relevant tags; piling on all 30 now looks spammy and can suppress a post. Twitter / X rewards just one or two — extra tags measurably reduce engagement. LinkedIn performs best with about three focused hashtags. TikTok shares its hashtags with the 2,200-character caption limit, so three to five specific tags is the practical sweet spot. YouTube counts only the first 15 hashtags and ignores all of them if you use more than 60. Pinterest allows up to 20 but a handful of precise tags is plenty.

Because these numbers vary so widely, eyeballing a caption is unreliable. The Hashtag Counter removes the guesswork: you see the live total, and the platform panel tells you whether you are within range, above the recommended figure, or over a hard cap.

How to use it

  1. Paste or type your caption into the text box. The counts update instantly.
  2. Read the three headline figures: total hashtags, unique hashtags, and the number of invalid tags flagged.
  3. Scan the detected-hashtag list. Any tag highlighted as a duplicate appears more than once in your text.
  4. Choose the platform you are posting to from the selector.
  5. Check the status line — green means you are within the recommended range, amber means you are above the recommended figure, and red means you have exceeded that platform’s hard cap.

Platform tips and best practices

Treat the recommended figure as a target, not a ceiling you must hit. On Instagram, three to five hashtags that genuinely describe the post will almost always outperform a wall of 30 generic tags. On Twitter / X, resist adding more than two — a single sharp hashtag often reads better than a cluttered tweet. On LinkedIn, lead with one broad industry tag and add two narrower ones so the post surfaces in both wide and niche topic feeds.

Mix tag sizes deliberately. A blend of one or two high-volume tags with several mid-size and niche tags gives a post a realistic chance of ranking, whereas chasing only the largest tags buries you instantly. Keep a short, curated set of proven hashtags for each campaign rather than improvising every time.

Common mistakes to avoid

The most common mistake is duplication — repeating the same hashtag, often because it was copied from an earlier post. Duplicates waste one of your limited slots and look careless; the tool flags every repeat so you can remove it.

The second is relying on numeric or empty tags. A year like #2024 is not clickable, and a stray # does nothing. The tool reports these as invalid so your effective hashtag count is honest.

The third is ignoring the per-platform cap. Going over Instagram’s 30 or YouTube’s 15 does not just fail to help — it can cause the platform to ignore your tags entirely or flag the post. Always confirm your count against the network you are publishing to.

Privacy and your data

Everything this tool does happens inside your browser. Your caption is never transmitted to a server, never stored, and never logged. There are no platform APIs and no network requests involved in counting your hashtags. Hashtag guidelines reflect each platform’s published guidance and can change over time, so treat the figures as current best practice rather than permanent rules — but your text always stays entirely on your own device.

Frequently asked questions

Does my caption get sent anywhere when I use this tool?
No. The hashtag detection and counting run entirely in JavaScript inside your browser. Nothing you paste is uploaded, logged, or stored, and you can confirm this by opening your browser's Network tab while you type. It is safe to paste unpublished drafts, client copy, or campaign captions.
How many hashtags should I use on Instagram?
Instagram permits up to 30 hashtags on a post, but reach data no longer rewards stuffing all 30. Instagram's own creator guidance now recommends around three to five well-chosen, relevant hashtags. The platform selector in this tool marks five as the recommended figure and 30 as the hard cap for Instagram.
Do hashtags work on LinkedIn, and how many should I use?
Yes, hashtags are clickable on LinkedIn and feed into topic-based discovery, but LinkedIn rewards restraint more than any other network. Three focused hashtags is the widely cited sweet spot, which is why the tool flags counts above three as a warning for LinkedIn. Mixing one broad industry tag with two specific ones tends to perform best.
Why does the tool flag a tag like #2024 or a lone # as invalid?
A hashtag must contain at least one letter or underscore — every major platform ignores a tag made only of digits, so #2024 is not clickable and earns you no reach. A lone # with no text after it is not a tag at all. The tool counts these separately so your real hashtag total stays accurate.
Does counting hashtags the same way on every platform make sense?
The detection rule is the same everywhere — # followed by letters, digits, or underscores — but the guidance is not. Twitter rewards one or two tags, LinkedIn about three, and Instagram, TikTok, and Pinterest a handful more. Pick the platform you are posting to so the recommended and hard-cap figures match that network.

Related tools