Hashtag and Mention Extractor: List Every #Tag and @Name
You have a pile of captions, a copied comment thread or an export of your own posts, and you want to know which hashtags and which accounts appear in it. Reading it by eye is slow and you will miss some. Paste the text here and the tool finds every #hashtag and every @mention, and counts how many times each one appears.
Tags in Urdu, Arabic, Hindi, Chinese and other scripts are found as well as Latin ones, and so are tags with underscores and digits. Email addresses and the #section part of a web link are not mistaken for tags. The tool reads only what you paste: it does not look at any profile or post online.
What counts as a hashtag or a mention
A hashtag starts with # (or the full-width #) and continues with letters, digits, underscores and the combining marks that many scripts use. It must contain at least one letter, so "#2024" alone is not listed, and it must not follow a letter or digit directly, so "C#" and "page#3" are not hashtags. A mention starts with @ and may contain letters, digits, underscores, dots and hyphens inside the name, with an optional second part after another @ for handles such as @name@server.social. A dot or a comma at the very end of a sentence is not part of the name.
Before the search, web addresses and email addresses are set aside, so "https://example.com/page#top" and "someone@example.com" produce nothing. Two entries that differ only by capital letters are counted as one, and the spelling that appeared first is shown. Switch the duplicate option off to list every occurrence in the order it appears.
The counts are counts of what is in the pasted text and nothing more. They say nothing about reach, popularity or whether a tag is worth using. How a given app decides what is a tag can differ in small ways, for example in which punctuation ends it, so treat the list as a careful reading of the text rather than the app's own.
- Finds hashtags, mentions or both, in any script, including underscores and digits.
- Ignores email addresses and the #fragment of web links.
- Counts how many times each appears and merges spellings that differ only by capitals.
- Sort by count, by first appearance or A to Z; with or without the # and @ signs.
- Copy the list, or save it as a text file or as a CSV file for a spreadsheet.
- Totals for hashtags, mentions and unique entries.
How to use the Hashtag & Mention Extractor
- Paste the text you want to read. It can be long, with many posts one after another.
- Choose whether you want hashtags, mentions or both, and how to sort the list.
- Check the table of results with the number of times each one appears.
- Copy the list, or save it as TXT or CSV.
Is it private?
Yes. The text is searched inside your browser. It is not uploaded, no profile or post is fetched and nothing is saved on your device.
Read our tools privacy policy →
Frequently asked questions
Does it fetch posts or profiles?
No. It works on the text you paste and never contacts a social network. To analyse a profile you would need to copy its text here yourself.
Why is my number-only tag missing?
A hashtag needs at least one letter, as platforms do not link a tag made only of digits. #2024 is skipped, while #Summer2024 is kept.
Why is "someone@example.com" not a mention?
An address with text before the @ is an email, so it is set aside. A mention is an @ that stands at the start of a word or after a space or punctuation.
Are tags in other scripts supported?
Yes. Letters of any script and the marks that go with them are kept, so Urdu, Arabic, Hindi, Thai, Chinese and Japanese tags are found. Where a platform ends a tag in such a script can depend on the app.
Is the CSV safe to open in a spreadsheet?
Yes. A value that starts with @ would be read as a formula by some spreadsheets, so the file puts a quote mark in front of it. The quote mark is harmless but visible, so strip it if you copy the values elsewhere.
Can I count each time a tag appears without merging?
Yes. Turn off "Merge repeated entries" and every occurrence is listed in the order it appears, each with a count of one.
What this tool does not do