Skip to content

Hashtag Cleaner

Fix hashtag lists by removing duplicates, spaces, invalid characters and empty entries, and normalising the hash prefix.

Your input

Everything you type is processed in this browser tab. Nothing is uploaded, logged or stored.

Results

Fill in the fields and choose Run tool to see results here.

About this tool

Hashtag lists collect damage as they travel. A tag copied from a design tool arrives with a curly apostrophe, a tag typed on a phone arrives with a stray space after the hash, and a merged list arrives with the same tag three times in three cases. The Hashtag Cleaner repairs all of that in one pass so what you paste into a post is actually valid.

How it works

The input is split aggressively — on hash symbols, line breaks, commas, semicolons and pipes — so a single pasted line or a tidy column both work. Each entry has its leading hashes stripped, then every character that platforms do not accept in a tag is removed, keeping letters, numbers and underscores. Internal spaces are closed up because a space ends a hashtag. The prefix is re-added, case is optionally normalised, and duplicates are removed.

  1. 1Paste the hashtag block or list you want repaired.
  2. 2Choose whether to lowercase everything and whether to re-add the hash prefix.
  3. 3Generate and check the entries-in versus valid-out counts.
  4. 4Copy the cleaned block straight into your caption.

Example

Input

#Coffee, coffee!! , #coffee, # espresso

Output

#Coffee #coffee #espresso

When to use it

  • Repairing a tag list pasted out of a design file or PDF.
  • Merging hashtag sets from several team members.
  • Removing punctuation that would silently break a tag.
  • Standardising case across a brand's tag library.

Tips

  • Lowercase before deduplicating if you want #Coffee and #coffee treated as one tag.
  • Watch the valid-out count; a big drop usually means the source had punctuation problems.
  • Run merged team lists through this before every campaign.

Limitations

Cleaning is a formatting operation. It cannot detect that a tag is banned, restricted or associated with content you would not want to sit beside, and it cannot verify that anyone uses the tag. Those checks have to happen on the platform.

Frequently asked questions

Why did my tag with an ampersand change?
Platforms do not index symbols inside hashtags, so characters like ampersands and hyphens are removed. Only letters, numbers and underscores survive.
Does it check for banned hashtags?
No. A banned-tag check requires live platform data. Search unfamiliar tags in the app before publishing.
Can it handle a single line of tags?
Yes. The parser splits on hash symbols, so one long line is handled exactly like a list.