- Enter the text you want to convert into the input area.
- Select the desired case format from the dropdown menu (camelCase, PascalCase, snake_case, kebab-case, UPPERCASE, Title Case, or sentence case).
- The converted text will appear instantly in the output area.
- Click the 'Copy' button to copy the converted text to your clipboard.
- Paste the converted text where you need it.
Text Case Converter
Convert text between different case formats.
How to Use This Tool
Learn More About Text Case Converter
Understanding Text Case Formats
Different text case formats serve various purposes in programming and writing.
camelCase
camelCase combines words without spaces, capitalizing the first letter of each word except the first (e.g., camelCaseExample). It's common in Java and JavaScript.
PascalCase
PascalCase resembles camelCase, but the first letter of the initial word is also capitalized (e.g., PascalCaseExample). It's often used for class names in C#.
snake_case
snakecase separates words with underscores, using all lowercase letters (e.g., `snakecase_example`). It's commonly used in Python and database schemas.
kebab-case
kebab-case separates words with hyphens and uses all lowercase letters (e.g., kebab-case-example). It's frequently used for URLs and CSS class names.
UPPERCASE
UPPERCASE uses all capital letters (e.g., UPPERCASE_EXAMPLE). It's often used for constants in programming and for text emphasis.
Title Case
Title Case capitalizes the first letter of each word (e.g., Title Case Example). It's commonly used for titles of books, articles, and headings.
sentence case
sentence case capitalizes only the first letter of the first word in a sentence (e.g., Sentence case example.). It's standard for paragraphs and general text.
About
Consistent naming conventions are critical in software development and content writing. This tool converts any text to any common case format: camelCase for JavaScript variables, PascalCase for classes, snakecase for Python and SQL, kebab-case for CSS and URLs, SCREAMINGSNAKE_CASE for constants, Title Case for headings, and sentence case for body copy.
- Runs in browser
- Yes
- No signup required
- Yes
Examples
Case conversion
Hello World
helloWorld
Use Cases
- Variable & Function Naming — Convert human-readable names to camelCase or snake_case for code.
- CSS Class Names — Convert identifiers to kebab-case (standard for HTML/CSS).
- Database Column Names — Convert CamelCase to snake_case for SQL schemas.
- URL Slug Generation — Convert titles to kebab-case for clean URLs.