
Paste text or open a file. Every @mention shows up here as you type.
Runs entirely in your browser. Your text is never uploaded.
This mention extractor pulls every @mention out of your text and lists each account once. Paste posts, replies, comment exports, chat logs or meeting notes, and the list updates as you type. Choose a platform to match its username rules, sort by first appearance, by how often each account is mentioned, or alphabetically, see the count for every name, and copy the list as one line ready to paste or download it as a text file or CSV. Email addresses are recognized and left out, so sam@example.com never shows up as a mention.
How to extract @mentions from text
- Paste your text into the left box, use Open file, or drag a text file onto the box.
- Pick the Platform the text came from, or leave it on Any platform.
- Choose how to Sort the list and which Format you want.
- Click Copy, or download the list. The Counts tab shows how often each account was mentioned, and In text highlights where each one was found.
Example
Thanks @alice and @Bob_Dev! cc @Alice @team.lead Email me at sam@example.com
With the default options, the list is:
@alice @Bob_Dev @team.lead
@alice and @Alice are the same account, since usernames aren’t case-sensitive, so it’s listed once. The email address is skipped. With Platform set to X (Twitter), the last name becomes @team, because X usernames can’t contain a dot.
What counts as a mention
- A mention starts with
@at the beginning of a word, followed by a username, like@alice,@open_sourceor@user2026. - Punctuation right after a name isn’t included, so
@alice,and(@alice)both give@alice. - Email addresses like
sam@example.comaren’t mentions. They’re listed above the results as skipped. - Mentions inside links, like
example.com/@alice, are ignored. - Times written with @, like
@3pmor@10:30, are skipped. So are CSS rules like@media. - Fediverse handles keep their server, so
@lena@mastodon.socialis one mention, not a mention plus an email address.
Username rules by platform
Each platform allows different characters in a username. Picking the right one means the list matches exactly what that platform would link.
| Platform | Allowed characters | Length |
|---|---|---|
| X (Twitter) | Letters, numbers and underscores | Up to 15 |
| Instagram & Threads | Letters, numbers, periods and underscores. Can’t end with a period or have two in a row. | Up to 30 |
| TikTok | Letters, numbers, periods and underscores. Can’t end with a period. | 2 to 24 |
| GitHub | Letters, numbers and single hyphens, not at the start or end | Up to 39 |
| Bluesky | A domain name, like alice.bsky.social or example.com | Up to 253 |
| Mastodon | Letters, numbers and underscores, plus an optional @server | Up to 30 |
| Any platform | Letters from any language, numbers, underscores, and periods or hyphens inside the name | No limit |
Names that break a platform’s rules, like a 20-character name on X, are skipped and listed with the reason. A button switches back to Any platform if you’d rather keep them.
Options
| Option | What it does |
|---|---|
| Sort | First seen keeps the order names appear in your text. Most mentioned puts the most frequent first. A to Z and Z to A sort alphabetically. |
| Format | One per line, a single line with spaces, a comma-separated list, or a CSV file with each username and its count. The CSV leaves out the @, because Excel and Google Sheets read a cell starting with @ as a formula. |
| Ignore case | Treats @Alice and @alice as one account and lists it in its most common spelling. |
| Lowercase | Writes every name in lowercase. |
| Include @ | Keeps the @ on each name. Turn it off to get plain usernames. |
Frequently asked questions
Why is a mention missing from the list?
Check the In text tab. An @ in the middle of a word, inside a link or in an email address isn’t a mention, and anything skipped is crossed out with the reason. If you picked a platform, the name may break its username rules.
Does it check whether the accounts exist?
No. The tool only reads your text. It doesn’t look anything up online, so it can’t tell whether an account exists, has been renamed or is private.
Can I count how often each person was mentioned?
Yes. The Counts tab ranks every name by how often it appears, and the CSV with counts format downloads the same data for Excel or Google Sheets.
Can I use it on a comment export or a chat log?
Yes. Open the export’s text, CSV, JSON or HTML file, or paste its contents. Links and email addresses in the export are ignored, so only real mentions are listed.
Is my text uploaded anywhere?
No. Everything runs in your browser, and your text never leaves your device. Only your option choices are remembered in your browser.
What This Tool Does
The Mention Extractor scans text and pulls out every @mention it finds.
This is useful when you’re working with a lot of content — such as X (Twitter) posts, replies, threads, or notes — and want to see all mentioned accounts in one place.
How the Mention Extractor Works
You can paste text directly into the input box or upload a plain text file (.txt).
When you click Extract Mentions, the tool:
- Finds every
@usernamein the text - Removes duplicates automatically
- Preserves the original casing of each mention
- Displays the results in a clean, readable format
All processing happens in your browser. Your text is never uploaded or stored.
What Counts as a Mention
A mention is defined as an @ symbol followed by letters, numbers, or underscores.
Examples that will be extracted:
@alice@Bob_Dev@open_source@user2025
Example: Extracting Mentions from Posts
InputExtracted mentions
Each mention appears only once, even if it was used multiple times in the text.
Copying and Reusing Mentions
Extracted mentions are shown in two formats:
- A visual list that’s easy to scan
- A plain-text list (one mention per line) you can copy
This makes it easy to reuse mentions in posts, spreadsheets, planning documents, or audits.
What This Tool Does Not Do
- It does not look up user profiles or accounts
- It does not validate whether a username exists
- It does not analyze sentiment or context
- It does not modify your original text
The tool focuses on one task only: extracting mentions cleanly and predictably.
Common Use Cases
- Reviewing who is mentioned across multiple X (Twitter) posts
- Auditing replies or threads for referenced accounts
- Preparing lists of mentioned users for follow-ups
- Cleaning up exported notes or drafts
- Analyzing collaboration or attribution patterns
Tips for Best Results
- Paste all related posts at once to see the full mention list
- Upload a
.txtfile for large batches of content - Use the copy button to reuse mentions elsewhere
- If no mentions appear, double-check that the text includes
@usernames
