Case Converter Tool
Text Case Converter - Convert Text Between 13 Case Formats
Need to switch text between camelCase, snake_case, kebab-case, Title Case or any other style without retyping it by hand? This free online Case Converter does it instantly, right in your browser. Type or paste your text and every one of the 13 formats shows a live preview of your actual content, so you can pick the right one at a glance. Turn on auto-update for real-time results, chain conversions by sending the output back to the input, then copy or download with a single click. Nothing is ever uploaded to a server.
How to Use
Type directly into the input box, or click the Paste button to pull text straight from your clipboard. Character, word, and line counts update as you go.
Choose from 13 formats. Each option card shows a live preview of your own text in that style, so you can compare results before selecting.
With auto-update on, the output refreshes as you type. Prefer manual control? Turn it off and convert with the button or Ctrl/Cmd + Enter.
Copy the result, download it as a .txt file named after the chosen case, or send the output back to the input to apply another format on top.
Key Features
See your actual text rendered in all 13 cases at once. No guesswork — just pick the format that looks right.
From Sentence case and Title Case to camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case and more.
Auto-update converts your text as you type. Toggle it off for manual control whenever you need it.
Pull text in with a single click instead of switching windows and pressing Ctrl+V inside the box.
Send the output back to the input with one button to stack formats — perfect for multi-step transformations.
Instant character, word, and line counts for both input and output keep your text in check.
Copy results to the clipboard or download them as a .txt file automatically named after the selected case.
Press Ctrl + Enter (or Cmd + Enter on Mac) to convert instantly without reaching for the mouse.
All processing happens in your browser. Nothing is uploaded, and it keeps working offline after the first load.
Case Formats Explained
Only the first letter is capitalized, like a normal sentence. Example: 'This is a sample sentence.' Ideal for body text and descriptions.
Every letter in lower case. Example: 'this is lowercase text.' Useful for URLs, tags, and case-insensitive matching.
Every letter capitalized. Example: 'THIS IS UPPERCASE.' Great for headings, emphasis, or acronyms.
The first letter of each word is capitalized. Example: 'This Is Capital Case.' Common for titles and product names.
First word lowercase, following words capitalized, no spaces. Example: 'camelCaseExample.' Standard for variables and functions in JavaScript and Java.
Every word capitalized with no spaces. Example: 'PascalCaseExample.' Used for class and component names.
Lowercase words joined by underscores. Example: 'snake_case_example.' Popular in Python, Ruby, and database columns.
Lowercase words joined by hyphens. Example: 'kebab-case-example.' Ideal for URLs, file names, and CSS classes.
Uppercase words joined by underscores. Example: 'CONSTANT_CASE_EXAMPLE.' The convention for constants and environment variables.
Lowercase words joined by dots. Example: 'dot.case.example.' Handy for file names, namespaces, and config keys.
Words joined by slashes. Example: 'path/case/example.' Mirrors URL paths and directory structures.
Capitalized words joined by hyphens. Example: 'Train-Case-Example.' Used for HTTP headers and stylized titles.
Capitalized words joined by underscores. Example: 'Pascal_Snake_Case_Example.' Seen in some constant and type naming styles.
Naming Conventions by Language
camelCase for variables and functions, PascalCase for classes and components, CONSTANT_CASE for constants.
snake_case for variables and functions, PascalCase for classes, CONSTANT_CASE for module-level constants.
camelCase for variables and methods, PascalCase for classes, CONSTANT_CASE for static final constants.
camelCase for private fields, PascalCase for public properties and methods, CONSTANT_CASE for constants.
kebab-case for class names and custom properties, following BEM and standard conventions.
snake_case for table and column names, CONSTANT_CASE for keywords and constants.
Common Use Cases
Convert variable, function, and class names between conventions when switching languages or cleaning up code.
Turn article and product titles into clean kebab-case slugs for SEO-friendly URLs.
Standardize field names to snake_case or camelCase to match your schema and API contracts.
Format document, article, and report titles in Title Case or Sentence case in seconds.
Generate CONSTANT_CASE keys for .env files, settings, and feature flags.
Quickly restyle captions, hashtags, and headlines for posts and marketing copy.
Frequently Asked Questions
What's the difference between camelCase, PascalCase, and snake_case?
camelCase keeps the first word lowercase and capitalizes the rest (myVariableName), PascalCase capitalizes every word (MyVariableName), and snake_case joins lowercase words with underscores (my_variable_name). Each suits different languages and contexts.
Does the tool support Vietnamese and accented characters?
Yes. The converter fully supports Vietnamese and other accented text, preserving diacritics wherever the format allows.
Is there a limit on text length?
There's no hard limit, but for the smoothest experience we recommend keeping input under around 10,000 characters.
Is my text sent to a server?
No. All conversion happens locally in your browser, so your text never leaves your device.
Can I use it offline?
Yes. After the page loads once, the tool keeps working without an internet connection.
Is it really free?
Completely free, with no registration, installation, or usage limits.
Whether you're naming variables, building URL slugs, or formatting titles, this Case Converter takes the tedium out of reformatting text. With live previews for all 13 formats, real-time conversion, and one-click copy, download, and chaining — all running privately in your browser — it's the fastest way to get your text in exactly the right case.