Case Converter
Convert text between common cases.
About this tool
Pick a case style, paste your text and press Run. The converter handles prose styles (UPPER, lower, Title, Sentence) and the identifier styles developers use (camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE). Everything runs in your browser.
How to use
How it works
Prose styles change the letters in place and keep your punctuation. Identifier styles first split the text into words, breaking on spaces, hyphens, underscores and camelCase boundaries, then join them with the separator for the chosen style. That is why helloWorld becomes hello_world in snake_case.
Worked example
Plain words to camelCase
- Input
- user profile page
- Output
- userProfilePage
- Walkthrough
- The words are split on spaces, the first is lowercased and each later word gets a capital letter.
Limitations
- Identifier styles drop punctuation and keep only letters and digits.
- Title Case capitalises every word, including small words such as 'of' and 'the'.
- Acronyms are not preserved: in camelCase, HTML becomes html.
Questions
How do I convert text to camelCase?
Can it convert snake_case to kebab-case?
Does Title Case skip small words?
Is my text uploaded?
Features
- Nine case styles
- Splits camelCase input
- Keeps prose punctuation
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
CSS Flexbox Crash Course
freeCodeCamp.org
Case and spacing tools show up constantly in front-end copy.
Watch on YouTubeLearn Regular Expressions - Crash Course
freeCodeCamp.org
Regex powers many find/replace and clean-text workflows.
Watch on YouTube
- UTF-8 and BOM
W3C
Encoding gotchas when cleaning pasted text.
- Accessibility
MDN
Readable text and case choices matter for inclusive copy.