Extract @ Handles / # Hashtags from Text
Extract @ handles and # hashtags from social media text, chat logs, or any document. Configurable: separate mentions vs hashtags, deduplicate, sort by frequency.
How to use the Extract @ Handles / # Hashtags from Text
Paste social posts or chat text. The tool finds @mentions and #hashtags, keeps the two as separate lists, removes duplicates, and can sort by frequency so the most-used appear first. Copy either list with one click.
Separating mentions and hashtags from social text
Posts, chat logs, and community exports weave @handles and #hashtags into ordinary prose. More often than not you want them as two clean lists — who was mentioned, which tags were used — without the surrounding words getting in the way.
This tool pulls both kinds of token, keeps mentions and hashtags apart, deduplicates each, and counts frequency so the most-tagged person or most-used tag rises to the top. For plain links and email addresses instead, use the URL & email extractor; for just the domains in a block of links, the domain extractor.
Common use cases
- Community management — list everyone
@mentionedin a long thread. - Campaign tracking — count which
#hashtagsappeared most across a set of posts. - Moderation — surface the handles referenced in a report or chat log.
- Content repurposing — collect the tags from one post to reuse on the next.
- Analytics prep — turn a raw chat export into mention and hashtag columns.
Frequently asked questions
Does it understand Twitter, Slack, and Discord syntax?
@ and # tokens generically, which covers mentions and tags on Twitter/X, Mastodon, Slack, and Discord.Are mentions and hashtags kept separate?
Does it remove duplicates?
What about tags with hyphens or underscores?
#developer-tools and @carol_dev are recognized; hyphens and underscores inside a tag or handle are kept.