Hashtag and Mention Extractor

Pull every #hashtag and @mention out of a block of text and get a clean, deduplicated list. Lowercase to merge variants. Free and private.

After a campaign, a social media export or a month of posts, you often want a list of the hashtags that were used, or the accounts that were mentioned. Reading through a few hundred posts by hand to collect them is the kind of job nobody should be doing in 2026.

Paste your posts or comments and choose what to extract: hashtags, mentions, or both. They appear as a clean list.

What it finds

A hashtag is a # followed by letters, numbers or underscores, with no space. #sunset, #TravelTuesday and #2026goals all count, and so do hashtags in other languages. A mention is an @ followed by a username, which may contain letters, numbers, underscores and full stops.

An @ inside an email address is not treated as a mention. In “write to jane@example.com”, the at sign follows a letter, so no mention is reported there. Likewise a # in the middle of a word is ignored, so a link ending page.html#section does not add a tag, although a fragment that follows a slash, like /#top, will.

Getting a useful list

Social platforms ignore case when matching hashtags, so #Sunset and #sunset are the same tag. The tool lists them separately unless you tick “Lowercase”, which merges them. Tick “Remove repeats” as well, which is on by default, and each distinct tag appears once. Sort the list alphabetically to see related tags together, or copy it in order of first appearance.

If you want to know which tags are used most, the extractor lists each once, but the plain text can be fed to the word frequency counter, which ranks tags by how often they occur. For that, leave repeats on and untick the sort.

Edge cases to look at

A hex colour such as #fff or #1a2b3c looks exactly like a hashtag and will be listed. A heading marker or an issue number like #42 is also caught. In a long text with those mixed in, filter the list afterwards.

Other jobs

Extracted hashtags can be reused directly in a new post. For writing new ones from scratch, the hashtag generator turns phrases into tags in your choice of style. The other extractors, email and URL, work in the same way, and remove duplicate lines and sort lines tidy whatever list you end up with.

Turning a list of tags into insight

The extracted list is a starting point for analysis. Paste the result, without removing repeats, into the word frequency counter to see which tags a campaign used most, or run two campaigns through the extractor separately and compare the lists with compare two lists to find the tags that only one of them used. For mentions, the same method shows which accounts are tagged most often, which is a quick way to find the people who actually take part in a conversation.

Frequently asked questions

Why was a colour code like #fff listed as a hashtag?

A hex colour is a hash sign followed by letters and digits, which is exactly the shape of a hashtag. The tool cannot tell them apart. Delete those from the list afterwards.

Are @ signs inside email addresses counted as mentions?

No. An at sign directly after a letter or digit is part of an email address and is ignored.

How do I merge #Sunset and #sunset?

Tick Lowercase and Remove repeats. Both become #sunset and appear once.