Skip to main content
FixLines

Extract hashtags and mentions

Pull #hashtags and @mentions out of a text.

Editor

Ln 1, Col 10 lines0 words0 characters

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

  1. Paste the post or text.
  2. Choose Extract hashtags or Extract @mentions.
  3. 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

Collect hashtags

Input

Loved the trip #travel #summer2025 with @maria and #travel

Result

#travel
#summer2025
Mentions from a thank-you post

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.

Tools people often use together with this one.

More in ExtractBrowse all text tools