Extract Hashtags from Text

Pull every unique hashtag out of a post or caption.

This tool runs entirely in your browser. Your files are never uploaded to a server.

0 found

What this tool does

Scans a social media post, caption, or any pasted text for hashtags and lists every unique one it finds, exactly as capitalized in the original.

How to use it

Paste your text into the box; every hashtag found is listed below it immediately, deduplicated and ready to copy as a list.

Worked example

Pasting "Loving this #sunset #photography #golden-hour shot from #paris_2026!" extracts four hashtags: #sunset, #photography, #golden-hour, and #paris_2026 — the hyphen and underscore are both kept as part of the tag.

Which characters count as part of a hashtag

After the `#`, the match includes letters, digits, underscores, and hyphens for as long as they continue unbroken; any other character — a space, an emoji, an accented letter, or punctuation like a period or comma — ends the hashtag.

Accented and non-Latin hashtags

The pattern only recognizes plain ASCII letters and digits as hashtag characters. A hashtag using accented letters or a non-Latin script, such as "#café" or "#東京", gets cut short at the first character outside that set — "#café" would extract as just "#caf".

Case sensitivity

Capitalization is preserved exactly as typed, and matching for duplicates is case-sensitive, so "#Sunset" and "#sunset" are kept as two separate results rather than merged into one.

Privacy

Everything runs locally in your browser — the pasted text and extracted hashtags are never sent to a server.

Frequently Asked Questions

Does it remove duplicate hashtags?
Yes, each unique hashtag appears only once in the results, even if it's repeated several times in the pasted text.
Are hashtags case-sensitive?
Yes, #Sunset and #sunset are treated as different hashtags and both are kept, since capitalization is preserved and comparison is exact.
Does it work for hashtags with underscores or hyphens?
Yes, letters, digits, underscores, and hyphens are all included as long as they directly follow the # without a space breaking them up.
What happens with accented letters, like #café?
Only plain ASCII letters and digits count as hashtag characters, so a hashtag is cut off at the first accented or non-Latin character — "#café" would extract as "#caf".