Home › Text Tools › Hashtag and Mention Extractor

Hashtag and Mention Extractor

Paste social media posts, captions, comments or exported chats and instantly get a clean list of every #hashtag and @mention, how often each one appears, and a one-click copy of the whole list.

Last updated:

Hashtags

Mentions

Click a row to copy that single tag. Extraction runs in your browser; nothing is uploaded.

Advertisement
Advertisement

How to use the Hashtag and Mention Extractor

  1. Paste your text: posts, captions, comments, a chat export or a list of tags.
  2. Press Extract hashtags & mentions; results also update live as you type.
  3. Choose sorting and dedupe: most frequent first, A–Z or first appearance, and whether #Travel and #travel count as one.
  4. Filter with a minimum count to keep only tags that appear several times.
  5. Copy the list in the separator you need, click a single tag to copy it, or download a CSV with counts.

Hashtag and mention rules the extractor follows

TextExtracted asWhy
#Travel #travel #TRAVEL#travel ×3 (merged)Hashtags are case-insensitive on the major networks
#2026goals#2026goalsContains letters, so it is a valid tag
#1, #2026(ignored)Numbers-only tags are not hashtags
#café, #東京#café, #東京Letters from any language are allowed
#summer-vibes#summerA hyphen ends the hashtag
site.com/page#top(ignored)Part of a URL, not a hashtag
@maya.trails.@maya.trailsThe sentence-ending dot is dropped
[email protected](ignored)An email address, not a mention
$AAPL vs $5$AAPLCashtags need letters; dollar amounts are skipped

Platform limits worth knowing

PlatformUsername rulesHashtags per post
InstagramUp to 30 characters: letters, numbers, periods, underscoresMaximum 30 per post
X (Twitter)4–15 characters: letters, numbers, underscoresNo fixed limit; counts toward the 280-character post limit
TikTok2–24 characters: letters, numbers, periods, underscoresLimited only by the caption length
YouTubeHandles of 3–30 charactersVideos with more than 60 hashtags have all hashtags ignored

Platforms change their rules from time to time, so check the current help pages before planning a campaign around a limit. To count words rather than tags, try the Word Frequency Counter.

Frequently asked questions

What counts as a hashtag?

A hashtag is a # followed by letters, numbers or underscores, with no spaces or punctuation. It must contain at least one letter, so #2026goals is a hashtag but #1 is not, which matches how the major social networks treat numbers-only tags. A # in the middle of a word or inside a URL (such as page#section) is ignored.

What counts as a mention?

A mention is an @ followed by a username made of letters, numbers, underscores and dots, up to 30 characters, which covers the username rules of Instagram, X (Twitter), TikTok and Threads. Dots at the end of a sentence are not included. An @ preceded by a letter or number, as in an email address, is not treated as a mention.

Are #Travel and #travel the same hashtag?

On Instagram, X and TikTok hashtags are not case sensitive, so #Travel and #travel lead to the same tag page. That is why the tool merges case variants by default and shows the most common spelling. Untick 'Merge case variants' to count each spelling separately.

Can I extract hashtags in other languages?

Yes. Hashtags may contain letters from any script, such as #café, #東京 or #привет, plus accent marks and digits. Mentions are limited to Latin letters, numbers, underscores and dots because that is what usernames allow on the major platforms.

What are cashtags?

Cashtags are a $ followed by a stock ticker of one to six letters, such as $AAPL or $BRK.B, used to tag posts about a company on X and StockTwits. The option ignores dollar amounts like $5 or $19.99.

How many hashtags should I use?

Instagram allows up to 30 hashtags per post, X recommends one or two, and on most platforms a few relevant, specific tags work better than a long generic list. Use the frequency counts here to see which tags you or your competitors actually rely on.

Is my text sent anywhere?

No. The extraction runs in JavaScript in your browser. Your text is only remembered in this browser's local storage so it is still there when you return.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Email ExtractorPull every unique email address out of text or files, sort, filter by domain and export CSV.URL ExtractorExtract every link from text or HTML, remove duplicates, filter by domain or protocol.Word Frequency CounterFind the most used words and phrases in any text and turn them into a word cloud.Remove Duplicate LinesDelete duplicate lines from any list, ignoring case or spaces, keep first or last, and sort.Essay Length & Reading TimeWords to reading time, speaking time and handwritten or typed pages.Speech Length CalculatorPaste a speech to see how long it takes to say at any speaking speed.Text to SpeechTurn text into natural-sounding speech.AI Prompt GeneratorBuild better prompts for ChatGPT, Midjourney and more.Email Signature GeneratorBuild HTML email signatures for Gmail and Outlook.Flashcard MakerMake flashcard decks and study them with flip cards and spaced repetition, saved in your browser.Quiz MakerMake a multiple-choice quiz, take it with instant scoring and share it with a link.Title Capitalization ToolCapitalize titles and headlines in AP, APA, Chicago and MLA style side by side, with one-click copy.Headline AnalyzerScore your headline 0–100 on length, word balance, power words, sentiment and type, with tips.Speech to TextDictate with your voice and get editable text in 50+ languages, with voice punctuation.Cover Letter GeneratorFill in a short form and get a tailored, editable cover letter to copy, download or save as PDF.Rhyme FinderFind perfect and near rhymes for any word, grouped by syllables, for songs and poems.Acronym GeneratorTurn a phrase into an acronym, or turn letters into creative backronym ideas.Acrostic Poem GeneratorTurn any name or word into an acrostic poem by theme, edit the lines and save it as an image.Apology Letter GeneratorWrite a sincere apology letter, email and text for a customer, friend, boss or teacher.Authorization Letter GeneratorCreate an authorization letter to let someone collect documents, act for you or pick up a child.Book Title GeneratorGenerate book title ideas for fantasy, romance, mystery, sci-fi or nonfiction books.Random Character GeneratorGenerate story characters with name, looks, traits, flaw, motivation and backstory hook; lock any field.Compliment GeneratorGet kind, funny or professional compliments for friends, coworkers, partners or family, with their name.Domain Name GeneratorTurn keywords into brandable domain name ideas with prefixes, suffixes, blends and scores.Email Subject Line GeneratorGet 20 email subject lines for newsletters, sales or cold emails, with length and spam-word checks.Essay Outline GeneratorBuild a structured essay outline with hook, topic sentences, evidence and conclusion, plus word budgets.Excuse GeneratorFunny excuses for being late, missing homework or skipping chores, from believable to absurd.Haiku GeneratorGenerate 5-7-5 haiku by theme, or check your own haiku's syllables line by line.Hashtag GeneratorGenerate 30 relevant hashtags from keywords, mix broad and niche tags, select and copy.Job Description GeneratorBuild a structured job posting in Markdown, HTML or plain text with role-based bullet ideas.Leave Application GeneratorWrite a leave letter or email for office or school, with leave days counted for you.Letter of Intent GeneratorCreate a formatted letter of intent for a job, graduate school, business deal or lease.LinkedIn Headline Generator15 headline formulas from your role, skills and value, with a 220-character counter.Love Letter GeneratorWrite a heartfelt, sweet, romantic or funny love letter from your names, memories and details.Nickname GeneratorGet cute, cool, funny or gaming nicknames for any name, with classic short forms.Poem GeneratorCreate rhyming poems, free verse, limericks and love poems by topic and length; copy or download.Product Description GeneratorTurn product features into e-commerce descriptions, bullet lists and an SEO meta description.Random Topic GeneratorRandom essay, speech, debate, conversation and writing topics by category and difficulty.Blog Title GeneratorTurn a keyword into 50+ blog headlines with proven formulas and a length check.Cancellation Letter GeneratorWrite a letter or email to cancel a subscription, gym, insurance or service, with refund math.Cease and Desist Letter GeneratorWrite a cease and desist letter for harassment, copyright, trademark or debt collectors.Credit Dispute Letter GeneratorWrite an FCRA dispute letter to Equifax, Experian or TransUnion to fix credit report errors.Demand Letter GeneratorWrite a formal demand for payment with amount owed, interest, deadline and small claims step.Essay Hook GeneratorOpening hook sentences for your essay: question, statistic, anecdote, quote, bold statement.Essay Title GeneratorTurn your topic and essay type into catchy question, colon and quote-style titles, title-cased.Eulogy GeneratorWrite a heartfelt eulogy from guided prompts: life story, traits, memories and farewell.Big Text DisplayShow any message in giant auto-fitting fullscreen text with colour themes and flash mode.Job Offer Acceptance Letter GeneratorAccept a job offer in writing: confirm title, start date and salary in a polished letter or email.Letter of Explanation GeneratorWrite a mortgage letter of explanation for credit inquiries, job gaps, deposits or late payments.Letter of Interest GeneratorWrite a letter of interest to a company that isn't advertising the job you want.Letter to Santa GeneratorHelp kids write a festive, printable letter to Santa with their good deeds and wish list.Motivation Letter GeneratorWrite a structured motivation letter for a university, scholarship, exchange, volunteer role or job.Parts of Speech IdentifierColor-code nouns, verbs, adjectives, adverbs and more in any English text, with counts.Real Estate Listing Description GeneratorWrite MLS-style property descriptions with versions trimmed to your character limit.Candidate Rejection Letter GeneratorWrite a kind, professional rejection email for job applicants at any stage of hiring.Report Card Comments GeneratorBuild positive, constructive report card comments from a student’s name, subject and level.Resume Bullet Point GeneratorTurn a task and a number into polished resume bullets with the XYZ formula.Resume Objective GeneratorWrite resume objectives for students, graduates, career changers and experienced pros.Text Redaction ToolMask emails, phone numbers, URLs, card numbers, SSNs and custom names in any text.Words Containing LettersFind words that contain specific letters or a letter sequence anywhere, with length filters.Blog Name GeneratorTurn your niche keywords into blog name ideas with prefixes, suffixes, a length filter and favorites.Book Report TemplatePrintable fill-in book report by grade level: summary, characters and opinion sections.Wedding Ceremony Script GeneratorCreate a full officiant script with order of service, vows, rings and pronouncement in minutes.Decline Job Offer Letter GeneratorWrite a polite email or letter turning down a job offer, with a reason or none at all.Executive Summary GeneratorWrite a one-page business plan executive summary from your problem, solution, market and numbers.Goodwill Letter GeneratorWrite a goodwill letter asking a creditor to remove a late payment from your credit report.Group Chat Name GeneratorFunny, cute and clever group chat names for family, friends, work and teams, with emoji.Journal Prompts GeneratorGet random journaling prompts for self-discovery, gratitude, goals or calm, and save favorites.
See all 103 Writing & Idea Generators →