Mention Extractor – Pull Every @Username from Any Text

Paste any social post, chat log, or comment thread and instantly extract every @mention it contains. See how many times each person was mentioned, deduplicate case-insensitively, and sort by frequency or alphabetically. Everything runs locally in your browser.

Input text

Paste any text that might contain @mentions
Pro tip: When "Case-insensitive" is on, @John and @john collapse into one entry. Turn it off if you need to distinguish between handles that differ only in case. Mentions stop at any character that isn't a letter, number, underscore, or hyphen.

Extracted mentions

Ready when you are
Mentions found
0
Unique people
0
Extracted list Nothing yet
    No mentions extracted yet Paste some text and click Extract Mentions — results will appear here as a numbered list with occurrence counts.

    What does this Mention Extractor do?

    This free online mention extractor scans your text and pulls out every @username it can find. It recognises the standard format used by Twitter/X, Instagram, TikTok, Slack, Discord, Reddit, and most other social platforms — an @ symbol followed by letters, numbers, underscores, or hyphens. Mentions stop at spaces, punctuation, or emoji, exactly as those platforms define them.

    Along with the list, you get an occurrence count for each username so you can spot who's being mentioned most. When case-insensitive mode is on, @John and @john are treated as the same account. When "Unique mentions only" is on, each username appears once regardless of how many times it was mentioned. Everything runs locally in your browser using JavaScript — your text never leaves your device.

    How to extract mentions (step-by-step)

    1. Paste your text — Drop any content that might contain @mentions: a tweet, an Instagram caption, a Slack thread, a Discord log, a comment section, or a forum post.
    2. Set your options — Toggle case-insensitive matching (on by default), enable "Unique mentions only" if you want a deduplicated list, and pick a sort order.
    3. Click "Extract Mentions" — The tool scans every line and shows results instantly on the right as a numbered list with occurrence counts.
    4. Copy or download — Use the copy button to grab the list, or save it as a .txt file for later analysis.

    Why use this mention extractor?

    Manually picking @usernames out of a long thread is tedious, and you always miss one. This tool catches everything in one click — and because all processing happens in your browser, it's safe to use on private or unpublished content.

    Accurate extraction

    Matches mentions exactly like social platforms do — letters, numbers, underscores, and hyphens.

    Occurrence counts

    See at a glance who's mentioned most often, with a count next to each username.

    Smart dedupe

    Case-insensitive matching means @John and @john collapse into one entry.

    Two sort modes

    Order by frequency (most mentioned first) or alphabetically A → Z.

    100% private

    Your text never leaves your browser. No logs, no storage, no tracking.

    Works anywhere

    Desktop, tablet, phone — and it keeps working offline once the page loads.

    Mention format reference

    The tool matches standard social media mentions. Here's a quick reference of what it can and can't detect:

    FormatExampleExtracted?
    Letters only@john✅ Yes
    Letters + numbers@user123✅ Yes
    With underscores@john_doe✅ Yes
    With hyphens@code-master✅ Yes
    Mixed case@CodeMaster✅ Yes
    Followed by punctuation@user, @user. @user!✅ Yes (punctuation stripped)
    Multiple in a row@a @b @c✅ Yes (3)
    Inside an emailuser@example.com❌ No (needs word boundary)
    Just the @ symbol@ hello❌ No

    Example: analysing a tweet

    Given the input: "Big thanks to @tech_guru for the review! Also @CodeMaster and @tech_guru again. @NewbieDev joined the chat."

    SettingOutput
    Case-insensitive + Frequency sort@tech_guru (2 times), @codemaster (1 time), @newbiedev (1 time)
    Case-insensitive + Alphabetical@codemaster (1 time), @newbiedev (1 time), @tech_guru (2 times)
    Unique mentions only@tech_guru, @codemaster, @newbiedev
    No @ prefixtech_guru, codemaster, newbiedev

    Note how @CodeMaster is lowercased in the output when case-insensitive mode is on — this keeps the list consistent. Turn off case-insensitive mode if you need to preserve the original casing or distinguish between handles that differ only in case.

    Common use cases

    • Social media engagement: Quickly see who was mentioned in a tweet or post so you can follow up or reply.
    • Chat log analysis: Extract @mentions from Slack or Discord logs to find the most active participants.
    • Comment moderation: Scan comment sections for mentioned users to notify them or check for spam.
    • Forum monitoring: Find all users referenced in a forum thread or support ticket.
    • Data cleaning: Separate @handles from regular text before further processing or import.

    Frequently asked questions

    It scans your text for any word starting with @ and lists them. You can choose to show each mention only once, sort by how many times they appear, and ignore case differences.
    Yes, enable the "Unique mentions only" option to see each username once, regardless of how many times it was mentioned.
    Letters, numbers, underscores, and hyphens — matching how Twitter, Instagram, Slack, Discord, and most other platforms define usernames. Mentions stop at any character that isn't one of those.
    Yes. With case-insensitive mode enabled (the default), @John and @john are treated as the same person. Turn it off if you need to distinguish between accounts whose handles differ only in case.
    Absolutely. All processing happens in your browser — your text never leaves your device. We can't see or store it.
    Yes, completely free. No premium plans, no credit card. A few small ads help cover hosting.
    Yes. Once the page has loaded, the mention extractor keeps working even without an internet connection because all processing is local.
    Yes. The tool is fully responsive and works on phones, tablets, laptops, and desktops.