Case Converter
0 / 100,000
Type an identifier or sentence. Every case and a URL slug appear here.
Case converter — camelCase, snake_case, slugify
Convert identifiers and sentences to camelCase, PascalCase, snake_case, kebab-case, and a URL slug in your browser. Toolshelf does not upload the text.
Slug vs notepad
Need a filename or post URL? Use the slug row (optional Unicode letters or ASCII fold). For writing a document, use the online notepad. To percent-encode a URL, use the URL encoder.
Case converter FAQ
- What is a case converter?
- A case converter turns one identifier or sentence into camelCase, snake_case, kebab-case, PascalCase, and other styles at once, plus a URL slug.
- What is the difference between camelCase and PascalCase?
- camelCase starts with a lowercase letter (userId). PascalCase starts with uppercase (UserId). Both join words without separators.
- How is getHTTPResponse split?
- A run of capitals before a capital+lowercase boundary is treated as an acronym, so getHTTPResponse becomes get, HTTP, Response.
- Is a slug the same as kebab-case?
- Kebab-case keeps identifier words. A slug also strips punctuation and can fold accents (Café → cafe) or keep Unicode letters.
- Can I keep Hindi or accented letters in a slug?
- Yes. Unicode slug keeps letters such as नमस्ते. Turn it off to fold Café to cafe and drop letters that are not ASCII.
- Why not use the notepad for this?
- The notepad only uppercases or lowercases a note. This page is for code identifiers and SEO slugs.
- Is my text uploaded?
- No. Toolshelf converts case in the browser. A draft can stay in this tab’s session storage.
Related tools
Continue with related browser-based tools on Toolshelf.
- Online Notepad — Online notepad for writing and editing text.
- URL Encoder & Decoder — Online URL encoder and decoder.
- Text & Character Counter — Online text and character counter.
- Regex Tester — Online Regex Tester and Debugger.
- Text to Binary Converter — Text to binary converter online.
- List Converter — List converter online.
- Unit Converter — Unit converter online.
- Phone Number Parser — Phone number parser online.
Examples
snake_case to camelCase
foo_bar becomes fooBar in camelCase and foo-bar in kebab-case.
Slug a title
Hello, World! becomes hello-world. Unicode slug can keep Hindi letters.
Limitations
- Acronyms split at a capital-then-lowercase boundary (getHTTPResponse → get, HTTP, Response).
- Input is capped at 100,000 characters.
- This is not a project-wide rename across files.
What would you like to do next?
Continue working with the next step in this workflow. Recently used tools in this set are listed first.
- Online Notepad — Online notepad for writing and editing text.
- URL Encoder & Decoder — Online URL encoder and decoder.
- Text & Character Counter — Online text and character counter.
- Regex Tester — Online Regex Tester and Debugger.
You may also need
Continue with related browser-based tools on Toolshelf.
- Online Notepad — Online notepad for writing and editing text.
- URL Encoder & Decoder — Online URL encoder and decoder.
- Text & Character Counter — Online text and character counter.
- Regex Tester — Online Regex Tester and Debugger.
- Text to Binary Converter — Text to binary converter online.
- List Converter — List converter online.
- Unit Converter — Unit converter online.
- Phone Number Parser — Phone number parser online.