What Is This Tool?
A case converter changes the capitalization style of text. Writers use it to fix accidental caps-lock passages, apply proper Title Case to headlines, or normalize copied text. The Title Case here follows editorial convention: minor words like "of", "and" and "the" stay lowercase unless they start or end the title.
For programmers it converts identifier styles: camelCase (JavaScript variables), PascalCase (class names), snake_case (Python), and kebab-case (URLs and CSS). It splits words on spaces, underscores, hyphens and existing capital letters, so it converts between any two styles directly.
Why Use It?
- Eight case styles on one page — prose cases and programmer cases together.
- Editorial Title Case that keeps minor words (a, of, the) lowercase, like real headlines.
- Converts between identifier styles directly: camelCase → snake_case in one click.
- Fix caps-lock accidents without retyping.
- Free, instant, no upload.
How to Use
- Paste or type your text in the input box.
- Click the case style you want.
- The result appears in the output box below.
- Click "Copy" to use it.
Example
Input
the quick brown foxOutput
Title Case: The Quick Brown Fox
camelCase: theQuickBrownFox
snake_case: the_quick_brown_foxNote the editorial Title Case keeps "the" capitalized only at the start.
Which case should you use?
| Case style | Use it for |
|---|---|
| camelCase | JavaScript/Java/TypeScript variable and function names |
| PascalCase | Class and component names in most languages (React components, C# classes) |
| snake_case | Python and Ruby variables/functions, database column names |
| kebab-case | URL slugs, CSS class names, HTML attributes, file names, Git branch names |
| Title Case | Headlines, book/article titles — minor words like "of", "the" stay lowercase |
| Sentence case | Button labels and UI text in modern design systems (Material Design, Fluent UI) |
Practical tips
- Porting a Python API response to a JavaScript frontend? Paste the snake_case field names and convert to camelCase in one pass — faster and less error-prone than renaming each key by hand.
- URL slugs and CSS class names require kebab-case. Paste the page title directly instead of manually replacing spaces with hyphens and lowercasing everything.
- Git branch names and Docker image tags follow the same kebab-case convention as URLs — "Fix Login Bug" becomes fix-login-bug with the same click.
- Database columns and most SQL style guides use snake_case; converting a spec document's Title Case headings avoids the typos that creep in when retyping fifteen field names by hand.
- Sentence case, not Title Case, is the current standard for buttons and UI labels in Material Design and Fluent UI — Title Case on a button now reads as dated outside headlines and book titles.
Where this fits in real workflows
Case conversion is usually one step in a bigger cleanup: pull a messy list of identifiers or headings from a spreadsheet or API doc, fix the case here, then remove stray blank lines or doubled spaces carried over from a PDF or email export — case conversion alone won't fix spacing.
Turning a blog post title into a URL slug takes two tools at most: convert the title to kebab-case here, then percent-encode it only if it contains non-ASCII characters or symbols. Plain English titles are already a valid slug after the case conversion alone.
Frequently Asked Questions
What's the difference between Title Case and Sentence case?
Title Case capitalizes every major word (used for headlines and book titles); Sentence case capitalizes only the first word of each sentence (used for normal prose and most modern UI text).
Which words stay lowercase in Title Case?
Short function words: articles (a, an, the), short conjunctions (and, but, or) and short prepositions (of, in, to, at…) — unless they're the first or last word. This follows the style used by major publications.
When should I use camelCase vs snake_case?
Follow your language's convention: camelCase for JavaScript/Java variables, PascalCase for class names in most languages, snake_case for Python and Ruby, kebab-case for URLs, CSS classes and file names. These are established naming conventions in programming), not arbitrary style choices — mixing them within one codebase is what style linters flag first.
Can it convert camelCase directly to snake_case?
Yes. The converter recognizes existing capital letters as word boundaries, so myVariableName → my_variable_name works in one click — handy when porting code between languages.
Does it work with non-English text?
Case conversion applies to scripts that have letter case (Latin, Cyrillic, Greek). Chinese and Japanese characters have no case and pass through unchanged — mixed text is safe.