Social media tools

Extract Mentions (@usernames)

Extract @Mentions from Text

Pull every @username out of posts and comments, ignoring email addresses.

About this tool

About Extract Mentions (@usernames)

Collect every @username from a block of text in seconds. Paste comments from a giveaway, a list of collaborators, or captions you want to credit, and the extractor lists each handle once with how often it appears, most frequent first. It understands the handle styles in use today: underscores and dots as on Instagram, domain-style handles such as name.bsky.social on Bluesky, and full addresses like @user@mastodon.social on Mastodon. Email addresses are left alone, because the @ in them follows a word, and a trailing full stop at the end of a sentence isn't swallowed into the name. Matching ignores case, so @Priya and @priya count together. Remove names you don't need, then copy the list with @ signs, one per line or comma-separated, or download it. It all runs locally, which matters when the comments belong to other people.

Built and maintained by Abhi JainUpdated

How to Extract Mentions

  1. 1

    Paste the text

    Paste comments, posts or captions into Posts to scan.

  2. 2

    Check the names

    Review the list of mentions and their counts, and remove any you don't want.

  3. 3

    Copy the list

    Pick the Output format and press Copy all or Download.

Extract Mentions (@usernames): questions and answers

Does it pick up email addresses?

No. In an email address the @ comes straight after other characters, so it isn't treated as a mention.

Can I use it to pick a giveaway winner?

Yes. Extract the mentions, copy them one per line, and paste them into the Random Picker to draw a fair winner.

Which handle formats are supported?

Letters, numbers, underscores and dots (Instagram, X, TikTok), domain handles (Bluesky) and @user@server (Mastodon).