Case Converter

Convert text between common cases.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

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

1
Step 1
Choose a case style from the buttons above the input.
2
Step 2
Paste or type your text into the Input box.
3
Step 3
Press Run and copy the result.

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?
Select camelCase, paste your text and press Run. Words are joined with the first one lowercase, as in userProfilePage.
Can it convert snake_case to kebab-case?
Yes. Paste the snake_case text and choose kebab-case; underscores are treated as word breaks.
Does Title Case skip small words?
No. Every word starts with a capital letter, so edit words like 'of' or 'and' by hand if your style guide needs it.
Is my text uploaded?
No. The conversion runs in your browser.

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 YouTube
  • Learn 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.