Skip to content
OddsockLocal
Local
Source text
Split input atwhitespace
ReadyRuns in this browser. Nothing is uploaded.

How to use

  1. Type the words or the phrases.
  2. Leave Split input at on whitespace for one tag per word.
  3. Switch to commas and newlines when “odd socks” should become the single tag #OddSocks.
  4. Copy the line. Duplicates are already gone, compared without case.

What is Hashtag formatter?

A row of tags is easier to generate than to type with the capitals in the right places. Split on whitespace, which is how this page opens, takes “Odd socks in the dryer.” and returns #Odd #Socks #In #The #Dryer. The period is not part of Dryer. Each chunk is capitalized and prefixed with #. Small words are not skipped, so #In and #The are real tags.

Read more

Split on commas and newlines treats a comma-separated phrase as one tag. “odd socks, dryer day, odd socks” becomes #OddSocks #DryerDay. The second “odd socks” is dropped because the tag is compared case-insensitively. “#Tea ice-cream #tea CAFÉ”, on the whitespace split, becomes #Tea #IceCream #CAFÉ: the hyphen splits ice and cream into one CamelCase tag, the second tea is a duplicate, and a combining accent is composed into É.

This builds tags. It does not find tags that were already written in a paragraph full of other words. The hashtag extractor does that, and it will cut #odd-socks down to #odd. The caption formatter appends tags from a separate field and also repairs blank lines. Here the whole box is the tag source.

Use cases

  • A creator turning a sentence into one tag per word.
  • A campaign building #OddSocks and #DryerDay from two comma-separated phrases.
  • An editor dropping a duplicate tea tag without lowercasing the first one.
  • A writer checking that “the” became #The and was not discarded.
  • Someone comparing this builder with the extractor, which only lists tags already present.

One tag per word

Odd socks in the dryer. Split left on whitespace.

#Odd #Socks #In #The #Dryer The period is gone. in and the are tags, not stop words.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

#Odd #Socks #In #The #Dryer. Five tags, separated by spaces. The period is not kept.