Case Converter

Turn a phrase into any naming or writing case, one line or many at a time.

How to use

What it checks and how it works

The code styles (camel, Pascal, snake, kebab, constant, train, dot, path) use the change-case library, which splits the text into words at spaces, punctuation and changes of case, then joins them in the chosen style. UPPER and lower case use JavaScript's locale-aware case mapping. Title Case is a simplified English rule that keeps short words such as of, the and to in lower case, so it is not a replacement for a house style guide. Arabic letters have no upper or lower case, so those styles leave them unchanged. Code styles still split Arabic text into words and join them with the chosen separator.

Which style should I use for URLs?

kebab-case, with words joined by hyphens, is the usual choice for URL slugs. For Arabic slugs and percent-encoding, use the Arabic slug generator.

Does it work on Arabic text?

Arabic has no letter case, so UPPER, lower and Title Case leave it unchanged. The word-joining styles still split Arabic words and join them with hyphens, underscores or dots.

Is Title Case here the same as AP or Chicago style?

No. It capitalizes every word except a short list of small English words, which is close to common headline practice but not any one style guide.

Sources

Related tools

Privacy

Runs in your browser; nothing is uploaded. The interactive tool needs JavaScript.