Case Converter
Instantly convert your text between 8 different cases. Just paste your text, click a button, and copy the result. Great for writers, developers, marketers and content creators.
Free Online Case Converter
Our Case Converter is a free online tool that instantly converts text between 9 different cases: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. Whether you're a developer formatting variable names, a copy editor fixing inconsistent headlines, a marketer preparing ad copy, or just someone who accidentally left Caps Lock on, this tool saves you from the tedious work of manually retyping text. Everything happens in your browser - no sign-up, no upload, no character limits.
The 9 Cases Explained
- UPPERCASE: All letters converted to capital letters. Example: "HELLO WORLD". Common in headings, warnings, and emphasis. Avoid for long paragraphs - all caps reduces readability by 30%.
- lowercase: All letters converted to small letters. Example: "hello world". Used in casual messaging, code comments, and minimalist design.
- Title Case: First letter of every word capitalized. Example: "Hello World". Standard for book titles, article headlines, and section headers. Note: minor words like "the", "and", "of" are usually lowercase in proper title case (we capitalize every word for simplicity).
- Sentence case: Only the first letter of each sentence is capitalized. Example: "Hello world. How are you?" Standard for body text in articles and emails.
- camelCase: First word lowercase, subsequent words capitalized, no spaces. Example: "helloWorld". Standard for JavaScript variables, Java methods, and JSON keys.
- PascalCase (UpperCamelCase): Every word capitalized, no spaces. Example: "HelloWorld". Standard for JavaScript/TypeScript classes, C# classes and methods, and React component names.
- snake_case: All lowercase, words separated by underscores. Example: "hello_world". Standard for Python variables, Ruby variables, and database column names.
- kebab-case: All lowercase, words separated by hyphens. Example: "hello-world". Standard for CSS class names, URL slugs, and file names in many frameworks.
- CONSTANT_CASE (SCREAMING_SNAKE_CASE): All uppercase, words separated by underscores. Example: "HELLO_WORLD". Standard for constants in most programming languages (JavaScript, Python, Java, C++).
When to Use Each Case
Choosing the right case is more than aesthetic - it's a convention that helps others (and your future self) understand your code or content. Here are common scenarios:
- Writing JavaScript: Use camelCase for variables and functions, PascalCase for classes, CONSTANT_CASE for constants.
- Writing Python: Use snake_case for variables and functions, PascalCase for classes, CONSTANT_CASE for constants.
- Writing CSS: Use kebab-case for class names (.my-class-name).
- Writing URLs: Use kebab-case for slugs (/blog/how-to-use-this-tool).
- Writing database columns: Use snake_case (user_id, created_at).
- Writing JSON keys: Use camelCase (most APIs) or snake_case (Python/Ruby APIs). Pick one and be consistent.
- Writing headlines: Use Title Case for articles, UPPERCASE for short labels, Sentence case for modern minimalist designs.
Common Use Cases for Non-Developers
Case conversion isn't just for programmers. Marketing teams use it to standardize ad copy (e.g., converting "WEEKEND SALE" to "Weekend Sale" for a more refined look). Students use it to fix accidental Caps Lock typos in essays. Social media managers use it to ensure consistent caption formatting across platforms. Translators use it to match the casing conventions of target languages (e.g., German nouns are always capitalized, while most others aren't). Customer support agents use it to clean up improperly formatted tickets before responding.
Why Use an Online Tool Instead of Word?
Microsoft Word and Google Docs have basic case conversion (uppercase, lowercase, title case), but they don't support developer cases like camelCase, snake_case, or kebab-case. They also require multiple clicks through menus. Our tool gives you all 9 cases in one click each, plus instant character and word counts. It's faster, more flexible, and works on any device with a browser - no installation required.
Privacy & Data Handling
This case converter runs entirely in your browser. Your text is processed by JavaScript on your device and is never transmitted over the network. You can safely paste confidential contracts, source code with proprietary logic, or unpublished manuscript drafts. Open Developer Tools (F12) → Network tab to verify - you'll see no requests being made as you type and convert.