Case Converter - camelCase, snake_case & More
About the Case Converter
Different programming languages, style guides, and platforms expect different casing conventions. JavaScript favours camelCase for variables and PascalCase for classes. Python insists on snake_case. CSS uses kebab-case for class names. Database columns might be UPPER_CASE or snake_case depending on the team. Manually rewriting identifiers between these formats is slow and error-prone, especially when you have a long list. This tool converts text between eight common case formats instantly, right in your browser.
Supported Case Formats
- camelCase. Words joined with no separator. The first word is lowercase, each subsequent word starts with a capital letter. Common in JavaScript and Java.
- PascalCase. Like camelCase, but the first word also starts with a capital letter. Used for class names in C#, TypeScript, and React components.
- snake_case. Words joined with underscores, all lowercase. The standard in Python, Ruby, and many database schemas.
- kebab-case. Words joined with hyphens, all lowercase. Used for CSS class names, URL slugs, and CLI flags.
- UPPER CASE. All letters capitalised with spaces between words. Useful for constants and headings.
- lower case. All letters lowercase with spaces between words.
- Title Case. The first letter of every word is capitalised. Common in headings, titles, and proper nouns.
- Sentence case. Only the first letter of the first word is capitalised. Standard for body text and descriptions.
How to Use the Case Converter
Paste or type your text into the input area and select the target case format. The converted output appears instantly. Click the copy button to place the result on your clipboard. You can convert single identifiers, full sentences, or multi-line lists. Each line is processed independently, so line breaks are preserved.
Common Use Cases
Developers converting variable names when porting code between languages or matching a project's style guide. Front-end developers turning design tokens into CSS custom properties (kebab-case) or JavaScript constants (camelCase). Technical writers formatting headings in Title Case. Database administrators renaming columns to match a new naming convention. Content creators converting text to UPPER CASE for emphasis or lower case for normalisation. The tool handles all of these without requiring any install or sign-up.
Related Tools
Markdown Preview
Write Markdown and see the rendered HTML output in real time.
Lorem Ipsum Generator
Generate placeholder text in paragraphs, sentences, or words.
List Deduplicator
Remove duplicate lines from a list with options for case sensitivity and sort order.
List Diff / Compare
Compare two lists and find items unique to each, shared between both, or missing from one.