What the case converter does
Different places want text in different cases. Headlines use Title Case, JavaScript variables use camelCase, Python uses snake_case, CSS classes use kebab-case, and constants are often CONSTANT_CASE. This tool takes any text and shows it in ten case formats at once, each with its own copy button.
It splits your input into words smartly, on spaces, punctuation and changes in capitalisation, so an input like HTTPServer_name or user-first Name still becomes sensible words.
How to use it
- Paste or type your text.
- All the formats update as you type.
- Copy the one you need.
The formats, with examples
Input: "user profile page"
UPPERCASE USER PROFILE PAGE
lowercase user profile page
Title Case User Profile Page
Sentence case User profile page
camelCase userProfilePage
PascalCase UserProfilePage
snake_case user_profile_page
kebab-case user-profile-page
CONSTANT_CASE USER_PROFILE_PAGEWhen to use which
- camelCase: variables and functions in JavaScript, Java and many other languages.
- PascalCase: class names and React components.
- snake_case: Python, Ruby, SQL columns.
- kebab-case: CSS classes, file names and URL slugs.
- CONSTANT_CASE: constants and environment variables.
Where each case shows up
A few real situations where a converter is faster than retyping:
- Renaming a database column list from snake_case to camelCase for an API response.
- Turning a page title into a kebab-case file name or CSS class.
- Fixing text that was pasted in capital letters into sentence case.
- Creating CONSTANT_CASE names for environment variables from plain words.
Related tools
- Slug Generator: Turn titles into clean URL slugs. Handles accents and symbols, with bulk lists and a max length.
- Word & Character Counter: Count words, characters, sentences, and reading time — essential for writers and social media.
- String Escape & Unescape Tool: Escape or unescape text for JSON, JavaScript, HTML, XML, SQL, CSV and regular expressions.
- Remove Duplicate Lines & Sort Lines: Remove repeated lines, keep the first of each, and sort or reverse the list. Nothing leaves your browser.
