Cheat sheet, checked on the help pages
How many hashtags can you use on each platform?

Short answer
Instagram's help page says up to 5 hashtags on a post, YouTube's says more than 60 and every hashtag on the video is ignored, and the TikTok and LinkedIn pages read name no number. Paste your caption into the Koldflux Hashtag counter and compare the total with the row for your platform in the table below. Its warning at 6 is Instagram's number only, so a caption of 30 tags is not over the line on YouTube.
Count and list the hashtags in a caption (free, in your browser)
Key takeaways
- Instagram Help: "You can use up to 5 tags on a post." YouTube Help: more than 60 hashtags on a video or playlist and "we'll ignore each hashtag on that content."
- The TikTok page read lists "Add hashtags" as a post option and gives no number. LinkedIn's hashtag help page did not open on November 24, 2026, so this page states no LinkedIn limit.
- The counter's over-5 warning appears from the sixth tag on any caption. At 31 and 61 tags it still shows the Instagram note, which says nothing about YouTube.
- Count repeats: a caption with #pasta, #Pasta and #PASTA has 3 hashtags and 1 unique one, and no page read says repeats are counted once.
- A bug in the counter cut Hindi and Thai tags at the first vowel sign (#भारत became #भ). It is fixed and the test is in the repository.
How do you count the hashtags in a caption?
Use the free Hashtag counter. It runs in your browser, so your caption stays on your device.
- Open the Hashtag counter and paste the whole caption. For YouTube, paste the title and the description together.
- Read the first line: the number of hashtags, with a note if it is over 5. That note is Instagram's number.
- Read the second line, "unique". It ignores capital letters, so #Pasta and #pasta count once there. Use the first number, the total, against a platform limit.
- Compare the total with the table below. If you are over, delete tags and count again. Use the Copy button to take the list of tags to a first comment or another post.
A link such as example.com/page#section also contains a hash sign followed by letters, and the counter reads it as a tag; so does a hash sign inside a word, such as a#b. Take links out of the text before you count, or subtract them. In the test, a line holding one link with an anchor and one real tag came out as 2 tags.

Which hashtag number applies to your platform?
Here is the whole answer in one table, then the details. Each quote is from the help page as it loaded in a browser on November 24, 2026. Where a page gives no number, the cell says so.
| Platform | What the help page says | Number | Page |
|---|---|---|---|
| "You can use up to 5 tags on a post. If you include more than 5 tags on a single photo/video, your comment won't post." | 5 | Instagram Help: Use hashtags on Instagram | |
| YouTube | "If a video or playlist has more than 60 hashtags, we'll ignore each hashtag on that content." The page adds: "Over-tagging may result in the removal of your video from your uploads or from search". | 60 | YouTube Help: Find playlists & videos using hashtags |
| TikTok | The post screen offers "Add hashtags" next to "Add description". No count is given on the page read. | none on this page | TikTok Support: Making a post |
| The hashtag help page returned "Sorry, we can't find that page". The post page says "Posts can contain up to 3,000 characters" and names no hashtag count. | not read | LinkedIn Help: Post and share updates |
These are the platforms' own pages, read on November 24, 2026 with a headless browser; the apps were not opened. The Instagram sentence is odd: it ends with "your comment won't post", though it is about tags on a photo or video. It is quoted whole, with no interpretation added. If your app behaves differently, trust the app and check the page again; this page did not test the app.
A cell reading none on this page is not the same as no limit. It means that page does not state one. TikTok may state a number elsewhere, and a LinkedIn hashtag limit may exist on a page that could not be opened. Open the page for your account if the number matters.
What about the numbers you see on other sites?
The 30 for Instagram
You will find 30 for Instagram and 15 for YouTube repeated on many blogs. Neither is on the pages in the table. The 30 comes from Meta's developer reference for posting through the API, which the Instagram caption length guide here read on November 22, 2026. It states a maximum of 2200 characters, 30 hashtags and 20 @ tags per caption. In our reading, that rule is for apps that publish for you, not for typing in the app; the source does not say either way.
The 15 for YouTube
The 15 for YouTube is given by several third-party guides. The YouTube help page, searched on November 24, does not contain it; the page says 60. Staying at 15 or fewer is under both numbers, so it is a safe habit, but it is a habit and not a rule on that page.
YouTube also says that of the hashtags in a description, "up to three hashtags that are considered most engaging will appear by your video title". That is about display, not a limit. And the page does not say whether repeated tags count once or each time, or whether title and description are counted together. Count everything you typed and you are on the strict side of every reading.
Can a script check the same caption against each limit?
Yes, if you keep captions in files. This Python script has no dependencies. It counts tags by the same rule as the counter, prints the total, the unique count and the list, and then prints OVER or ok against the two numbers the pages state. For TikTok and LinkedIn it prints a line saying there is no limit to check, because the pages give no number to compare with.
Run as printed on the caption file (7 tags, 6 unique), it printed OVER by 2 for Instagram and ok, 53 left for YouTube. The counter on koldflux.com gave the same 7 and 6 for this caption.
Six other inputs that differ from the test caption were also tried: a file with Windows line breaks and Hindi tags (5 tags, 4 unique), an empty file and a file that does not exist, a file saved as UTF-16 and a directory given instead of a file (each stopped with a one-line message and exit code 1), and a six-tag caption (OVER by 1). The limits live in a list at the top of the script, so you can change them when a help page changes. The script is linked under Sources.
python3 hashtag-check.py caption.txtDoes the counter agree with the answers written first?
Eleven captions were written with a known answer: no tags, 5, 6 with repeats, 30, 31, 60 and 61 tags, tags with underscores and digits, accents, Hindi and Thai tags, and a link with an anchor. The expected totals and unique counts were set when each caption was built, before any tool saw it.
The counter matched on 10 of 11 on November 24, 2026. The miss was the Hindi and Thai caption: its rule allowed letters but not the vowel signs and other combining marks that belong to them, so #भारत was listed as #भ, #भाई as another #भ, and the unique count was 4 where it should be 5. The total was right, but the list you copy would have held broken tags.
The rule now takes letters, combining marks, digits and underscores, and a test that failed before the change passes after it. The 11 captions run again on the fixed build gave 11 of 11, and the Hindi and Thai list read #भारत #भाई #नमस्ते #สวัสดี #ไทย. The counter listed such tags cut before the fix of November 24, 2026; the fixed version goes live with this page.
| Check | Result |
|---|---|
| Counter before the fix, total and unique | 10 of 11 as expected (Hindi and Thai caption: 4 unique, expected 5) |
| Counter after the fix | 11 of 11 |
| Python script | 11 of 11 |
| Over-5 note at 0, 5, 6 and 31 tags | absent, absent, shown, shown (control passed) |
What this check does not verify: its limits
Four help pages and one counter are all this rests on. With no accounts, nothing was posted, so this page cannot say what any app does beyond what the help pages state when a caption has more tags than the page allows, how it counts repeats, or whether tags help a post. The numbers are what the pages said on one day and pages change.
The captions are constructed, not real posts. The check shows only that the counter and the script count the way the tool page describes, with the answers fixed in advance. It does not show that Instagram or YouTube count the same way. The Instagram wording and the missing YouTube details above are the reasons to stay under the strict number.
Do it in your browser
Free Koldflux tools, no account needed.
Count and list the hashtags in a caption (free, in your browser)Count words and characters in a caption
Questions people ask
How many hashtags can you use on Instagram?
Instagram Help says "You can use up to 5 tags on a post." Many sites say 30; that figure is from Meta's developer reference for posting through the API, not from the help page for the app.
How many hashtags can you use on YouTube?
YouTube Help says that if a video or playlist has more than 60 hashtags, it ignores each hashtag on that content. The 15 quoted by some blogs is not on that page.
How many hashtags can you use on TikTok?
The TikTok Support page read lists "Add hashtags" as a post option and states no number. It states no limit there, and the app was not tested.
How many hashtags can you use on LinkedIn?
LinkedIn's own pages give no answer: its hashtag help page did not open on November 24, 2026. The post page states 3,000 characters per post and no hashtag count.
Do repeated hashtags count more than once?
No page read says. The Koldflux counter shows both numbers: #pasta #Pasta #PASTA is 3 hashtags and 1 unique. Compare the total with a limit to stay on the strict side.
Does the Hashtag counter work with Hindi or Thai hashtags?
Yes, with the fixed version that goes live with this page: #भारत and #สวัสดี are counted and listed whole. Before the fix of November 24, 2026, such tags were cut at the first vowel sign in the list. A zero-width joiner inside a tag still ends the tag.
Related
More guides on this topic
Sources and how we checked
- Instagram Help Center: Use hashtags on Instagram (official, read November 24, 2026) (checked 2026-11-24)
- YouTube Help: Find playlists & videos using hashtags (official, read November 24, 2026) (checked 2026-11-24)
- TikTok Support: Making a post (official, read November 24, 2026) (checked 2026-11-24)
- LinkedIn Help: Post and share updates (official, read November 24, 2026; the hashtag help page did not open) (checked 2026-11-24)
- Meta for Developers: Instagram API, create a media container (official, read November 22, 2026 for the Koldflux caption length guide) (checked 2026-11-22)
- Koldflux Hashtag counter (Koldflux tool, run November 24, 2026) (checked 2026-11-24)
- Koldflux test log: 11 captions, counter before and after the fix, script (Koldflux measurement, November 24, 2026) (checked 2026-11-24)
- Commands log: the published command, the command as run, exit codes and edge cases (Koldflux) (checked 2026-11-24)
- hashtag-check.py: count hashtags and compare with the stated limits (Koldflux, Python 3 script) (checked 2026-11-24)
- tool-run.cjs: drives the Hashtag counter in Chromium (Koldflux, Node.js with Playwright) (checked 2026-11-24)
- analyze.py: compares expected answers, counter and script (Koldflux, Python 3 script) (checked 2026-11-24)
- tags.json: the 11 test captions with the answers written first (Koldflux) (checked 2026-11-24)
On November 24, 2026 the Instagram Help, YouTube Help, TikTok Support and LinkedIn Help pages were opened in headless Chromium, their text was saved and the sentences above were quoted from the saved files. LinkedIn's hashtag help article returned a not-found page at the address tried (answer a528144), so no LinkedIn hashtag number is stated. Next, 11 captions were written with the expected total and unique count fixed first and run through the live Koldflux Hashtag counter (10 of 11 as expected, the miss being tags with combining marks) and through a dev build with the regex fixed (11 of 11), and through the published Python script (11 of 11). The over-5 note was the control: absent at 0 and 5 tags, shown at 6 and 31. No platform account was used and nothing was posted.