Text Case Converter: Camel Case, Snake Case and More
Turn any phrase into camelCase, PascalCase, snake_case, kebab-case, Title Case, Sentence case, UPPERCASE or lowercase. Eight formats, one click.
Convert Text to Camel Case, Snake Case or Title Case
Naming variables, writing headings or building URLs? This text case converter rewrites your words in the exact format you need, so you stop fixing capitals and underscores by hand. Paste a phrase, pick a style and copy the result.
Read more
Camel Case for JavaScript and JSON
Camel case joins words with no spaces and capitalizes each word after the first: userFirstName. Camel casing is the standard for JavaScript variables and Java methods, and many JSON APIs use it for keys.
PascalCase for Classes and Components
Pascal case capitalizes every word, including the first: UserProfileCard. Developers use Pascal casing for class names in C# and Java and for React component names.
Snake Case for Python and Databases
Snake case writes words in lowercase and joins them with underscores: user_first_name. Snake casing is the Python convention for variables and functions (PEP 8) and a common choice for database columns.
Kebab-Case for URLs and CSS
Kebab case uses lowercase words joined by hyphens: user-first-name. You'll find kebab casing in CSS class names, HTML attributes, file names and SEO-friendly URL slugs.
Title Case and Sentence Case for Headlines
Title case capitalizes the main words of a heading, a natural fit for blog titles, H1s and email subjects. Sentence case capitalizes only the first word, for a softer, modern look.
Every Naming Convention in One Place
UPPERCASE and lowercase sit beside the developer formats, so you can switch between all eight styles without opening a second tool. Click Sample to see each one in action.
How to Use the Text Case Converter
Paste your text
Choose camel case, snake case or another format
Copy the result
Clear and convert the next one
Text Case Converter FAQs
Naming conventions, explained with examples.
What is camel case?
Can you show a camel case example?
What's the difference between camel case vs snake case?
Pascal case vs camel case: what's the difference?
What is kebab case?
What is train case?
Why do naming conventions matter?
Is this camel case converter free?
Building a URL from a title?
Turn any headline into a clean, SEO-friendly slug with our Text to Slug tool.
Create a slugRaheel Jakhura
CEO / Co-Founder
Our goal is to provide online free tools so you don't have to install any software for basic usages. We are trying to add more tools and make these tools free forever.