Case Converter
Transform your text to any case format instantly. Convert to uppercase, lowercase, title case, camelCase, snake_case, and more.
Enter Your Text
Paste or type your text below, then select a case format to convert.
Select Case Format
Text Statistics
Try an Example
How to Use the Case Converter
Step-by-Step Guide
- Enter or paste your text in the input field
- Click on the case format you want to convert to
- View the converted text in the output field
- Click "Copy Result" to copy to clipboard
- Or click "Download" to save as a text file
Supported Case Formats
- UPPERCASE / lowercase: Change all letters
- Title Case: Capitalize each word
- camelCase / PascalCase: For programming
- snake_case / kebab-case: Word separators
- CONSTANT_CASE: For constants
- Alternating / Inverse: Fun text effects
Real-World Use Cases
Programming
Convert variable names between naming conventions. Transform database column names (snake_case) to JavaScript variables (camelCase) or class names (PascalCase) instantly.
Writing
Format headlines and titles correctly with Title Case. Fix accidentally typed CAPS LOCK text by converting to lowercase or sentence case. Perfect for blog posts and articles.
Data
Create URL slugs with kebab-case, CSS class names, or file paths. Convert between formats to maintain consistent naming across your web projects.
About Our Case Converter Tool
Our free online case converter is an essential tool for writers, developers, students, and anyone who works with text. Whether you need to transform text to uppercase, lowercase, title case, or specialized programming formats like camelCase and snake_case, this tool handles it all instantly.
The text case converter processes your text locally in your browser—nothing is sent to any server, ensuring complete privacy. Simply paste your text, click a button, and get your converted text immediately. No registration or download required.
Understanding Different Case Formats
Uppercase and lowercase are the most basic text transformations. Uppercase (ALL CAPS) is used for acronyms, emphasis, and headings, while lowercase is the standard for body text. Converting accidentally typed caps lock text to lowercase is one of the most common uses of our tool.
Title Case capitalizes the first letter of each word, making it perfect for headlines, book titles, and article headers. For example, "the quick brown fox" becomes "The Quick Brown Fox". This format is standard for English titles and proper nouns.
Sentence case capitalizes only the first letter of each sentence, which is the standard format for regular paragraphs and body text. It's useful for converting ALL CAPS text into readable prose while maintaining proper sentence structure.
Programming Case Conventions
camelCase is widely used in JavaScript, Java, and many other programming languages for variable and function names. The first word is lowercase, and subsequent words start with uppercase letters with no spaces (e.g., getUserName, calculateTotalPrice). It's called "camel" case because the capital letters look like the humps of a camel.
PascalCase (also called UpperCamelCase) is similar to camelCase but with the first letter also capitalized. It's commonly used for class names, component names in React, and type names in TypeScript (e.g., UserAccount, ShoppingCart, DataProcessor).
snake_case uses underscores to separate words, with all letters in lowercase. It's the standard naming convention in Python, Ruby, and SQL databases. Column names like user_account_balance or function names like get_user_by_id follow this pattern.
kebab-case (also called dash-case or hyphen-case) uses hyphens between words. It's the preferred format for URLs, CSS class names, and HTML attributes. For example, "user-profile-section" or "main-navigation-menu" are typical kebab-case identifiers.
CONSTANT_CASE (also called SCREAMING_SNAKE_CASE) combines uppercase letters with underscores. It's used for constants, environment variables, and configuration keys across most programming languages. Examples include MAX_FILE_SIZE, API_BASE_URL, and DATABASE_CONNECTION_STRING.
Smart Word Detection
Our case converter intelligently detects word boundaries regardless of the input format. Whether your text is already in camelCase, snake_case, or regular sentences, the tool correctly identifies where words begin and end before applying the transformation.
This means you can convert "myVariableName" to "my_variable_name" or "my-variable-name" without manual editing. The algorithm handles transitions between lowercase and uppercase letters, recognizes common separators like underscores, hyphens, dots, and slashes, and processes text with mixed formats.
Fun Text Effects
Alternating case (aLtErNaTiNg CaSe) switches between lowercase and uppercase for each letter, creating a distinctive pattern. It's often used for humor, memes, or stylistic text effects in social media and informal communication.
Inverse case swaps the case of each letter—uppercase becomes lowercase and vice versa. This is useful for fixing text that was accidentally typed with Caps Lock on while holding Shift for the first letter, resulting in inverted capitalization.
Why Consistent Case Matters
In programming, consistent naming conventions improve code readability, maintainability, and team collaboration. Most style guides mandate specific case formats for different types of identifiers. Our tool helps developers quickly conform to these standards when working with code from different sources.
In writing, proper case usage affects professionalism and readability. Headlines in title case look polished, while body text in sentence case reads naturally. Inconsistent capitalization can distract readers and appear unprofessional.