Hashtag extractor
Extract hashtags from text and list them in a table with positions.
Input
Output
| # | Hashtag | Position |
|---|---|---|
| No hashtags found | ||
Readme
What is a hashtag?
A hashtag is a word or phrase preceded by the # symbol, used on social media platforms to categorize content and make it discoverable. When a user clicks or searches for a hashtag, they see all posts tagged with it. Hashtags were popularized by Twitter and are now standard on Instagram, LinkedIn, TikTok, Facebook, and many other platforms.
Hashtags can contain letters, numbers, and underscores, but no spaces or punctuation. They work across Unicode scripts, so hashtags in Arabic, Japanese, Cyrillic, and other writing systems are fully supported.
Tool description
This tool scans a block of text and extracts every hashtag it contains. The results are displayed in a table showing each hashtag, its character position in the source text, and an occurrence index. A summary count of total and unique hashtags is also shown.
Features
- Full Unicode support: Correctly identifies hashtags written in any script, including CJK, Arabic, and Cyrillic.
- Position tracking: Reports the exact character position of each hashtag in the source text.
- Unique count: Shows how many distinct hashtags appear alongside the total occurrence count.