Extract Hashtags and Mentions From Text
Paste a social post or any block of text and instantly pull out every hashtag and mention inside it, sorted into two separate lists with live counts. Tags and handles support Unicode letters, digits and underscores, duplicates are folded by case, and a Copy all button grabs both lists at once.
How to extract hashtags and mentions
- Paste a caption, tweet, bio or any text with #tags and @handles into the 'Your text' box.
- Read the Hashtags list on the left and the Mentions list on the right, each with a count of how many were found.
- Copy an individual list, or click Copy all to grab the hashtags followed by the mentions.
- Reuse the cleaned lists in a scheduler, spreadsheet or your next post.
Examples
Pull tags and a handle from a post
Big launch #Tag #tag thanks @user!
#Tag @user
An email address is not treated as a mention
Ping me at ada@host.com about #News and #News2
#News #News2
Unicode tags work and case duplicates fold to the first
Coffee run #café #Café with @José
#café @José
Frequently asked questions
What counts as a hashtag or mention?
A hash or at sign that is not glued to a preceding letter, digit or underscore, followed by one or more Unicode letters, digits or underscores. Any punctuation or space, such as the exclamation mark in '#win!', ends the tag.
How are duplicates handled?
They are removed case-insensitively while keeping the first spelling you wrote. So '#Tag' followed by '#tag' collapses to a single '#Tag', and the count reflects one hashtag.
Will an email address be read as a mention?
No. Because the at sign in 'ada@host.com' sits directly after a word character, it is not a mention, so email local parts and domains are safely ignored.
Do non-English and accented characters work?
Yes. Matching is fully Unicode-aware, so tags like '#café', '#日本語' or handles like '@José' are captured intact rather than cut at the first accent.
Are hashtags and mentions kept separate?
Yes. The tool shows two lists side by side, one for #hashtags and one for @mentions, each with its own count. Copy all concatenates them with the hashtags first.
What about hyphens, dots or emoji inside a tag?
Those characters end the tag, matching how most platforms behave. '#well-being' yields '#well', and an emoji after a tag stops it, because only letters, digits and underscores continue a tag.
Does the order of the results follow the text?
Yes. Within each list, tags appear in the order they first occur in your text, and later duplicates are simply skipped rather than reordering the list.
Can I extract other things like emails or links?
This tool focuses on hashtags and mentions. For addresses use the Extract Emails tool, and for links use the Extract URLs tool, each tuned to its own pattern.
Is my text private?
Yes. Extraction runs entirely in your browser and nothing is uploaded, so unpublished captions and private notes never leave your device.
Learn more
- Hashtag and mention syntax explained
What actually makes a valid #hashtag or @mention, why emails are skipped, and how Unicode and case folding shape the tags this tool pulls out.
Related tools
Extract Emails
Pull every email address out of pasted text online. Find, de-duplicate and sort emails from lists, logs or pages, then copy. Free and private.
Extract URLs
Pull every URL and link out of pasted text online. Find http and https links plus bare www domains, de-duplicate, sort and copy. Free and private.
Word Frequency Counter
Free word frequency counter. Paste text to see how often each word appears, with counts and percentages. Filter stopwords and short words. Runs in your browser.
Acronym Generator
Turn any phrase into an acronym from the first letter of each main word. Skip small words like the and of, keep them, or add dot separators.
Add Line Numbers
Add line numbers to any text online. Set the start value, step, and separator, pad numbers to align, and copy or download the result. Free and private.
AI Sentiment Analyzer
Analyze the sentiment of any text with AI in your browser. Paste a review or comment, get a positive or negative score plus a per-sentence breakdown.