Case Converter
camelCase, PascalCase, snake_case, kebab-case and more, all at once.
Every style
Examples
Questions
Why does XML become Xml in camelCase?
Every style here lowercases the rest of an all-caps word, so parseXMLDocument becomes parseXmlDocument. Style guides disagree on this, but one rule keeps the output predictable.
How are digits handled?
A run of digits is its own word. html5Parser splits into html, 5 and Parser, so kebab-case gives html-5-parser.
What counts as a word boundary?
A lowercase letter followed by a capital, a run of digits, or a space, hyphen, underscore or dot. In a run of capitals, the last one before a lowercase letter starts a new word, so XMLParser splits into XML and Parser.
Does it work on non-Latin text?
Scripts without upper and lower case, such as Chinese, Japanese, Korean and Thai, are kept together as one word. Upper and lower case leave them unchanged.
Related tools
- URL Encoder & DecoderPercent-encode text for URLs, or decode it back.
- HTML Entity Encoder & DecoderEscape HTML special characters, or decode entities back to text.
- Word & Character CounterWords, lines and three kinds of character count.
- Lorem Ipsum GeneratorPlaceholder text by the paragraph or the word.
- NATO Phonetic Alphabet ConverterTurn NATO words, or any words, back into letters, or spell text out phonetically.