Case Converter
Convert your text to any case format: uppercase, lowercase, title case, camelCase, snake_case, and more.
How to Use the Case Converter
- Enter text — Type or paste the text you want to convert in the input box.
- Choose a case format — Click any of the case buttons (UPPERCASE, lowercase, Title Case, etc.) to convert your text.
- View the result — The converted text appears instantly in the output box below.
- Copy the result — Click "Copy Result" to copy the converted text to your clipboard.
About Case Converter
Text case conversion is a common task in writing, programming, and content management. Whether you need to convert headings to Title Case, transform variable names to camelCase or snake_case, or simply fix accidentally capitalized text, this tool handles it all in one place.
This case converter supports ten different case formats commonly used across writing, web development, and programming. The programming-focused formats like camelCase, PascalCase, snake_case, and kebab-case split your text into individual words and rejoin them using each format's conventions. CONSTANT_CASE is popular for defining constants in many programming languages, while dot.case is used in configuration files and some frameworks.
Who Uses a Case Converter?
Programmers and Developers — Different programming languages follow different naming conventions. JavaScript uses camelCase for variables and functions, Python uses snake_case, CSS uses kebab-case for class names, and most languages use PascalCase for class definitions. A case converter saves time when adapting code between languages or converting human-readable text into code-friendly identifiers.
Content Editors and Publishers — Editors frequently need to convert article titles to Title Case, fix accidentally typed CAPS LOCK text, or standardize headings across a publication. Rather than manually retyping text, a case converter handles the transformation instantly while preserving the original words.
SEO Professionals — URL slugs must be lowercase with hyphens (kebab-case) for optimal search engine indexing. SEO professionals use case converters to transform page titles into URL-ready slugs. They also convert text to Title Case for meta titles and Sentence case for meta descriptions.
Database Administrators — Database field names often follow specific case conventions depending on the system. SQL commonly uses snake_case, while some ORMs prefer camelCase. Converting between these formats is a routine task when migrating or designing database schemas.
Students and Academic Writers — Academic style guides (APA, MLA, Chicago) each have specific rules about title capitalization. Students use Title Case conversion as a starting point for formatting paper titles, headings, and bibliography entries according to their required style guide.
When to Use Each Case Format
Each case format has specific conventions and contexts where it is appropriate. This reference table helps you choose the right format for your situation.
| Case Format | Example | Common Usage |
|---|---|---|
| UPPERCASE | MY TEXT HERE | Acronyms, emphasis, headings, constants |
| lowercase | my text here | URLs, email addresses, normalization |
| Title Case | My Text Here | Headlines, book titles, article titles |
| Sentence case | My text here | Body text, emails, descriptions |
| camelCase | myTextHere | JavaScript, Java, TypeScript variables |
| PascalCase | MyTextHere | Class names, React components, C# methods |
| snake_case | my_text_here | Python, Ruby, database columns, file names |
| kebab-case | my-text-here | URLs, CSS classes, HTML attributes |
| CONSTANT_CASE | MY_TEXT_HERE | Constants in most programming languages |
| dot.case | my.text.here | Configuration files, Java packages, properties |
Text Case Best Practices
Follow your language's naming conventions. Every programming language has established conventions: JavaScript and Java use camelCase for variables, Python uses snake_case, C# uses PascalCase for methods. Consistency within a codebase is more important than personal preference.
Use Title Case for headlines and headings. Title Case makes headings stand out and is the standard for blog post titles, article headlines, book titles, and H1 tags. Most style guides recommend capitalizing all major words while keeping articles and prepositions lowercase.
Use kebab-case for URLs and file names. Google treats hyphens as word separators, making kebab-case the ideal format for URLs. It also works well for file names since it avoids spaces (which become %20 in URLs) and is readable across all operating systems.
Reserve UPPERCASE for constants and acronyms. In both writing and programming, UPPERCASE text draws attention. In code, use CONSTANT_CASE for values that should not change. In writing, limit uppercase to abbreviations like API, HTML, or NASA to avoid appearing to shout.
Fix accidental CAPS LOCK with one click. If you have typed a block of text with CAPS LOCK accidentally enabled, paste it into this tool and click "lowercase" or "Sentence case" to fix it instantly rather than retyping everything.
Frequently Asked Questions
Title Case capitalizes the first letter of each word while keeping the rest lowercase. For example, "the quick brown fox" becomes "The Quick Brown Fox." It is commonly used for headings, article titles, and book titles.
camelCase joins words together with no separator, where the first word is lowercase and each subsequent word starts with an uppercase letter (e.g., "myVariableName"). It is widely used in JavaScript, Java, and TypeScript for variable and function naming.
snake_case separates words with underscores (e.g., "my_variable_name") and is common in Python and Ruby. kebab-case separates words with hyphens (e.g., "my-variable-name") and is used in URLs, CSS class names, and HTML attributes.
For standard case conversions (uppercase, lowercase, title case, sentence case), line breaks are preserved. For programming formats like camelCase, snake_case, and kebab-case, the entire text is treated as a single string of words.
Sentence case capitalizes only the first letter of the first word in a sentence, with the rest in lowercase (except proper nouns). It is the standard for body text, email subject lines, and most general writing. Many modern style guides prefer sentence case for its readability and natural appearance.
CONSTANT_CASE (also called SCREAMING_SNAKE_CASE) uses all uppercase letters with underscores between words. It is the standard convention for defining constants in most programming languages. Examples include MAX_SIZE, API_KEY, and DEFAULT_TIMEOUT. The uppercase format signals to other developers that the value should not be modified.
PascalCase capitalizes the first letter of every word with no separators (e.g., MyClassName). camelCase is identical except the first word starts lowercase (e.g., myVariableName). PascalCase is typically used for class names and type definitions, while camelCase is the convention for variables and function names.
For URLs, use lowercase with hyphens (kebab-case). Google recommends hyphens as word separators in URLs because they are treated as word boundaries for indexing. Avoid uppercase letters, underscores, and spaces in URLs for the best SEO results and maximum cross-platform compatibility.
This tool converts to one format at a time. Enter your text, click the desired case format button, and copy the result. You can then click a different button to convert the same original input to another format without re-entering the text.