Extract hashtags and mentions
Pull #hashtags and @mentions out of a text.
Editor
Extract hashtags and mentions: what it does
Collect the hashtags from a caption or a social media export, or list the people mentioned with @. Each tag appears once in the order it was first used. Email addresses are not mistaken for mentions.
Extract hashtags and mentions: how to use it
- Paste the post or text.
- Choose Extract hashtags or Extract @mentions.
- Select Apply and copy the list.
Extract hashtags and mentions: when to use it
- Reuse the hashtags from a successful post on a new one.
- List everyone mentioned in a thread or a caption to thank or follow them.
- Build a tag list from a campaign brief or a content calendar.
Extract hashtags and mentions: examples
Input
Loved the trip #travel #summer2025 with @maria and #travel
Result
#travel #summer2025
Input
Thanks @alex_dev and @maria.k for the help! #opensource #thanks
Result
#opensource #thanks
Extract hashtags and mentions: questions and answers
Does it work with accents and other alphabets?
Yes. Hashtags and mentions can contain letters of any alphabet, digits and underscores.
Are email addresses listed as mentions?
No. An @ that follows letters, as in name@example.com, is not a mention.
Is the # or @ sign kept in the result?
Yes. Each line of the result is the complete hashtag or mention, sign included, ready to paste.
Can a hashtag contain a hyphen?
No. A hashtag ends at the first space or symbol, so “#spring-sale” is read as “#spring”.
Is my text sent to a server?
No. Everything runs in your browser on your own device, so your text never leaves it.
Related tools
Tools people often use together with this one.
- Extract links from text
List every web link found in a text, one per line.
- Extract email addresses from text
Pull every email address out of a text, one per line.
- Remove duplicate lines
Delete repeated lines and keep one copy of each.
- Extract numbers from text
List every number found in a text, one per line.
- Extract IP addresses from text
List every IPv4 address found in a text, one per line.
- Sort lines
Sort lines A to Z, Z to A, by number or by length.