Format rules by platform
What each official source says a hashtag may contain. Not stated means the official pages we could read are silent.
| Platform | Spaces and punctuation | Numbers | Other rules and notes |
|---|---|---|---|
| X | Spaces or punctuation inside the tag break it; a letter or number directly before the # stops it linking | A tag of digits only (#1, #123) is not linked; #123go works | Can go anywhere in a post; X's open-source parser also skips a # with no space before it |
| One word with no spaces; punctuation and special characters such as $ and % do not work | Numbers are allowed | Works in posts on timelines, Pages and groups | |
| YouTube | No spaces; join words, as in #TwoWords or #twowords | Not stated | More than 60 hashtags on a video or playlist and YouTube ignores all of them; tags must relate to the content |
| Spaces and special characters such as $ or % do not work | Numbers work | Cap of 5 in a reel or post caption announced December 18, 2025 | |
| Mastodon | Alphanumeric characters and underscores only | Cannot be numbers only | Hashtags are autosuggested with usage frequency |
| Threads | Topic tags may contain spaces and other special characters | Not stated | Up to 50 characters; one tag per post; # optional when typing |
| TikTok | Not stated on the pages we could read | Not stated | Official guidance asks for relevant tags and warns against stuffing captions |
| Not stated on the pages we could read | Not stated | LinkedIn's nonprofit guidance: put tags inside the post text |
What a hashtag does on each platform
Where a tag links, whether you can follow it, and who sees the posts. Dates show how old each source is.
| Platform | Where the tag links | Following | Visibility and notes |
|---|---|---|---|
| Hashtag pages and Search, which matches captions and hashtags | Introduced December 2017; Instagram said in November 2024 it was removing it | Posts from private accounts do not appear publicly on hashtag pages; hashtags that break the Community Guidelines are removed | |
| TikTok | The pages we could read describe discovery by the right audiences and do not describe a tag page | Not stated | Creator Academy: unrelated or stuffed tags can work against a video |
| X | Search results for the tag; very popular tags can become trending topics | Not stated | On a public account, anyone who searches the tag may see the post |
| Groups posts on similar topics | Members can follow hashtags (December 2022 guidance) | Put tags inside the post text; the guidance says they do not work in comments | |
| A feed of posts that include the tag; search bar | Not stated | You only see posts shared with you; you control the audience for your own post | |
| YouTube | A results page of videos that share the tag | Not stated | Up to three show by the title; policy and relevance rules apply |
| Threads | Tapping a tag shows what others are saying about that topic | Not stated | One tag per post; the tagged text appears in blue |
| Mastodon | Search and tag pages; a followed hashtag brings public posts into Home | Yes | A public post that contains a followed hashtag appears in your Home feed |
Official guidance on how many hashtags to use
A cap is enforced by the app. Advice is a suggestion. Check the live page for any number that matters to you.
| Platform | Number | Type | Source and date |
|---|---|---|---|
| Up to 5 in a reel or post caption | Cap, rolling out gradually | Instagram @creators on Threads, December 18, 2025 | |
| Threads | One tag per post | Cap | Instagram's Threads tips, January 30, 2025 |
| YouTube | Up to three show by the title; all ignored above 60 | Display rule and threshold | YouTube Help |
| X | One or two | Advice; older Help text says more are allowed | X Help and X Business pages, read as excerpts |
| No more than three | Advice | LinkedIn for Nonprofits blog, December 15, 2022 | |
| TikTok | No number stated | Advice only: relevant tags, no stuffing | TikTok Newsroom and Creator Academy |
| No number stated | Not applicable | Facebook Help | |
| Mastodon | No number stated | Not applicable | Mastodon documentation |
Illustrative example: choosing tags for one post
Fernhill Bakery, its post and every tag here are invented for teaching. No real account or result is shown.
| Candidate tag | Role | Decision | Reason |
|---|---|---|---|
| #SourdoughSunday | Series tag | Keep | The shop posts its rye loaf every Sunday, so the tag describes this post |
| #RyeBread | Topic tag | Keep | It says what is in the photo; search it first and confirm the top results show bread |
| #FernhillBakery | Brand tag | Keep | The shop uses it only on its own posts, so customers can find them in one place; search it first to be sure nobody uses it differently |
| #food | Broad topic | Drop | Too general to say anything about this post, and a crowded tag can bury your content |
| #Sourdough Sunday | Series tag with a space | Fix | A space ends the tag, so only the first word would link; write it as #SourdoughSunday |
| #fyp | Platform tag | Drop | TikTok's Newsroom says #FYP works like any other hashtag, so it adds nothing about this post |
Symptom, cause and fix for common hashtag problems
Each fix rests on the source named in the last column.
| Symptom | Likely cause | Fix | Basis |
|---|---|---|---|
| Only the first word of my tag is a link | A space ended the tag | Join the words, for example #SourdoughSunday | X Help, Facebook Help, YouTube Help |
| The tag stops at a comma, period or other punctuation mark | Punctuation ends a tag on X and is not allowed on Facebook | Remove punctuation from inside the tag | X's parser tests, Facebook Help |
| A tag like #2026 is not a link on X or Mastodon | A tag of digits only does not count | Add a letter, for example #Class2026 | X Help, Mastodon documentation |
| A tag typed right after a word, as in word#tag, does not link | A letter or number directly before the # stops it on X | Put a space before the # | X Help |
| I cannot add more than 5 hashtags to an Instagram reel or post | Instagram announced a cap of 5 in December 2025, rolling out gradually | Cut to the five most accurate tags; check your composer for comments and Stories | Instagram @creators post, Social Media Today |
| A hashtag search on Instagram shows little or nothing | Instagram can restrict search for tags tied to content that breaks its rules, and reviews them over time | Choose a different tag | Instagram Help Center |
| Only three of my YouTube hashtags show above the title | YouTube shows up to three it considers most engaging and keeps all of them in the description | Use fewer, accurate tags | YouTube Help |
| All my YouTube hashtags stopped working | A video or playlist with more than 60 hashtags has every hashtag ignored | Cut to a handful; over-tagging can get a video removed from uploads or search | YouTube Help |
| People cannot find my post under the tag on Facebook or Instagram | Results are limited to posts shared with the viewer on Facebook, and private-account posts do not appear on public hashtag pages on Instagram | Check the post's audience and the account's privacy setting | Facebook Help, Instagram Help Center |
| My LinkedIn hashtag in a comment does nothing | LinkedIn's nonprofit guidance says hashtags belong in the post text and do not work in comments | Edit the post to include the tag | LinkedIn for Nonprofits blog |
| A link containing #something opens the wrong place | In a web address the # starts a fragment, not a hashtag | If the # is part of your data, percent-encode it as %23 | RFC 3986, Unicode |
How this guide was prepared
Method, scope, and limitations
Hashtag rules, limits and guidance were read from each platform's own announcements, help pages and documentation where our tools could open them, plus the Unicode Standard, two IETF standards, X's open-source parser, the US Federal Trade Commission, the US Patent and Trademark Office and two public-sector accessibility guides, on November 20, 2026. No hashtag was posted, searched or tried in any app for this guide, and the Fernhill Bakery example is invented.
Primary sources first
Each rule, limit or number is tied to a platform page, a standard or a regulator. Where a figure reached us only through news coverage that quotes the platform, the text says so.
Dates shown
Older guidance, such as LinkedIn's December 2022 advice and TikTok's older Newsroom tips, is dated in the text so you can judge how current it is.
Examples labelled
Fernhill Bakery and every example tag are invented for teaching and carry no performance claim.
Product accuracy
FluxGravity statements are limited to what its product facts and its own tool pages support, and the guide makes no promise of reach, rankings or engagement.
- • X Help and Instagram Help Center pages could not be opened by our fetch tool: X blocked automated requests and Instagram's Help Center returned no readable text. Statements attributed to them were read as excerpts returned by a search tool on November 20, 2026, so wording may differ from the live page.
- • TikTok's support, newsroom and Creator Academy sites could not be opened from our network. TikTok statements in this guide come from search excerpts of those pages, and the Newsroom tips are an older post.
- • An excerpt of Instagram's Help Center hashtag article still showed the older limit of 30 per post, so Help Center numbers may lag. The cap of 5 rests on Instagram's December 18, 2025 announcement and news reports quoting it, and the rollout is gradual. Whether comments or Stories count toward it is not stated.
- • X's one-or-two advice comes from an older version of its Help page and from its business pages, and LinkedIn's three-hashtag advice comes from a December 2022 nonprofit blog post. Either may have changed.
- • LinkedIn's current Help article on hashtags in ordinary posts could not be read, so hashtag following and hashtag feeds on LinkedIn were not confirmed for 2026.
- • The one-tag limit on Threads comes from an Instagram blog post of January 30, 2025 and a Help Center excerpt. Threads may have changed it since.
- • No official source read gives a numeric hashtag limit for TikTok or Facebook, and third-party claims of a TikTok cap of 5 were not confirmed.
- • The CamelCase advice comes from public-agency guidance, not controlled studies. FTC and USPTO material is US guidance and is not legal advice. Rules in other countries were not researched.
- • Hashtag effects on reach were not measured, and no source read gives a reliable figure for them.
Buyer questions
What Is a Hashtag? Meaning, How It Works and Rules by Platform: questions answered
Direct answers to the questions buyers ask before choosing a workflow.
What is a hashtag in simple words?
A hashtag is a word or phrase with a # in front and no spaces, such as #SourdoughSunday. The app scans your text for it, stores it as a label on the post and turns it into a link. Tapping it shows other posts that use the same tag, limited to posts you may see.
What is the # symbol called?
The Unicode Standard names it NUMBER SIGN and lists pound sign, hashtag, hash, crosshatch and octothorpe as other names. In a social post, the # plus the word after it is the hashtag. In a web address, the same character starts a fragment, which is a different feature.
Who invented the hashtag?
The earliest source we read is Chris Messina's blog post of August 25, 2007, which proposed using the hash prefix from IRC channel names to tag posts on Twitter. IRC already used # in channel names. This guide did not research who first used the word hashtag, so it does not name one.
Can a banned hashtag get my account shadowbanned?
We found no official page that says a hashtag triggers an account-wide penalty. What the pages describe is narrower: Instagram can restrict search for tags tied to rule-breaking content, YouTube can remove hashtags and may remove an over-tagged video from uploads or search, and TikTok says unrelated text may get a video flagged as spam. Avoid restricted or unrelated tags.
How many hashtags should I use?
Follow each platform's own number. Instagram allows up to 5 in a reel or post, and Threads allows one tag per post. X's pages advise one or two, and LinkedIn's nonprofit guide says no more than three. YouTube shows up to three above a title and ignores all hashtags past 60. TikTok and Facebook state no number.
Can I use hashtags in comments?
It depends on the app. Instagram's search explainer says keywords and hashtags belong in the caption, not the comments, if you want a post found in Search. LinkedIn's nonprofit guidance says hashtags need to be in the post text and do not work in comments. Check by adding the tag, searching it and seeing whether your post appears.
Do hashtags still work?
They still label posts and feed search, but they are not a reach boost. In an interview reported in April 2025, Instagram's head Adam Mosseri said hashtags don't significantly increase reach, and Instagram has announced a cap of 5. TikTok, X and YouTube describe hashtags as a way for the right people to find a post, so use a few accurate ones.
Can a hashtag have spaces, punctuation or only numbers?
Usually not. Spaces and punctuation end a hashtag on X and are not allowed on Facebook, and YouTube says hashtags don't contain spaces. On X and Mastodon a tag of digits only is not treated as a hashtag, so use something like #Class2026. Threads topic tags are the exception and may contain spaces.
Can I trademark or own a hashtag?
Not by typing it first. The US Patent and Trademark Office's manual says a mark with # or the word hashtag is registrable only if it works as a source identifier, and that the symbol and the word generally do not do that. This is general information about US practice, not legal advice, so ask a trademark attorney.
Do I need #ad on a sponsored post?
The US Federal Trade Commission says it is fine, but not necessary, to add a hashtag such as #ad or #sponsored to a disclosure. What matters is a clear disclosure: avoid vague terms like sp, spon or collab, and do not bury it in a group of hashtags or links. Rules differ by country, so check yours.
Continue the workflow
Social media hashtag generator
Brainstorm hashtag ideas from a post description and keywords, then check each one in the app.
Instagram hashtag generator
Draft Instagram hashtag ideas and trim them to the current cap.
TikTok hashtags and hashtag generator
See what TikTok's pages say about hashtags and get suggestions from a video description.
YouTube hashtags: rules and generator
Check YouTube's three-by-the-title and 60-hashtag rules while you draft tags.
How to write Instagram captions
Write the caption that your hashtags sit in.
Instagram Insights guide
Compare your own posts instead of relying on quoted hashtag results.






