Text Case Converter
Convert text between UPPER CASE, lower case, Title Case, camelCase, snake_case, and more.
Grammarly
AI-powered writing assistant for clear, mistake-free communication.
What is Text Case Converter?
A text case converter transforms your text between different letter cases -- uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case, and more. Whether you are reformatting headings for a blog post, preparing variable names for code, cleaning up database entries, or correcting text accidentally typed with Caps Lock on, a case converter handles the job in one click. Text casing matters more than most people realize: search engines treat title case and sentence case differently in headings, programming languages enforce specific naming conventions, and professional documents demand consistent capitalization throughout. Instead of manually retyping paragraphs or using complex find-and-replace patterns, a case converter applies the transformation instantly to any length of text, preserving punctuation, numbers, and special characters while changing only the letter casing. This tool supports batch conversion so you can process entire articles, codebases, or spreadsheets at once without losing formatting or introducing errors.
How to Use
- Paste or type your text into the input area -- you can input anything from a single word to thousands of lines
- Browse the available case options: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and more
- Click the button for the desired case style and the converted text appears instantly in the output area
- Review the output to ensure it matches your expectations, especially for edge cases like acronyms or hyphenated words
- Copy the result to your clipboard with one click, or try a different case conversion on the same input
Frequently Asked Questions
- How to convert text to uppercase?
- Paste your text into the converter and click the UPPERCASE button. Every letter in your text will be capitalized instantly, while numbers, punctuation, and special characters remain unchanged. This is equivalent to the toUpperCase() function in JavaScript or the UPPER() function in Excel and Google Sheets. Uppercase text is commonly used for acronyms, legal disclaimers, warning labels, and emphasis in headings where bold or italic formatting is not available.
- What is title case?
- Title case capitalizes the first letter of each major word while keeping minor words like articles (a, an, the), short prepositions (in, on, at), and coordinating conjunctions (and, but, or) in lowercase. For example, 'the quick brown fox jumps over the lazy dog' becomes 'The Quick Brown Fox Jumps Over the Lazy Dog'. Different style guides have slightly different rules: AP style capitalizes words of four or more letters, APA capitalizes words of four or more letters plus all major words, and Chicago style lowercases only articles and short prepositions regardless of length. This converter follows the most commonly accepted title case rules used in publishing and journalism.
- How to change case in Word?
- In Microsoft Word, select your text and press Shift+F3 to cycle through UPPERCASE, lowercase, and Title Case. You can also go to Home > Change Case (the Aa icon) to access all five options: Sentence case, lowercase, UPPERCASE, Capitalize Each Word, and tOGGLE cASE. However, Word does not support programming-specific formats like camelCase, snake_case, kebab-case, or PascalCase. For those developer-oriented conversions, copy your text from Word, paste it into this online case converter, select the desired format, and paste the result back into your document.
- What is camelCase?
- camelCase is a naming convention where the first word is lowercase and each subsequent word starts with a capital letter, with no spaces or separators between words. Common examples include firstName, getUserData, isValidEmail, and handleButtonClick. It is the standard convention for naming variables and functions in JavaScript, TypeScript, Java, C#, and many other programming languages. A closely related variant called PascalCase (or UpperCamelCase) capitalizes the first letter of every word including the first, such as UserProfile, HttpRequest, and AppComponent. PascalCase is typically reserved for class names, type definitions, React component names, and Angular service names.
- When to use sentence case vs title case?
- Sentence case capitalizes only the first word and proper nouns (e.g., 'Save your changes before exiting'), making it feel conversational and easy to scan -- ideal for body text, email subject lines, UI buttons, form labels, and notification messages. Title case capitalizes all major words (e.g., 'Save Your Changes Before Exiting'), giving a more formal, headline-like appearance best suited for article titles, book titles, headings, and navigation menu labels. Most modern design systems, including Google Material Design, Apple Human Interface Guidelines, and Microsoft Fluent Design, now recommend sentence case for user interface elements because usability research shows it is faster to read and feels less aggressive than title case.
- What is snake_case and where is it used?
- snake_case replaces spaces with underscores and lowercases all letters, producing names like user_first_name, total_order_count, and created_at_timestamp. It is the standard naming convention in Python (PEP 8), Ruby, Rust, and is widely used for database table names and column names in SQL. A variant called SCREAMING_SNAKE_CASE or CONSTANT_CASE uses all uppercase letters with underscores, such as MAX_RETRY_COUNT, API_BASE_URL, and DEFAULT_TIMEOUT. This uppercase variant is universally used for constants and environment variables across nearly all programming languages.
- How do I convert between naming conventions for code?
- Paste your variable names, function names, or any descriptive text into the converter and select the target convention. For example, the phrase 'get user profile' converts to getUserProfile (camelCase), GetUserProfile (PascalCase), get_user_profile (snake_case), get-user-profile (kebab-case), or GET_USER_PROFILE (CONSTANT_CASE). This is particularly useful when migrating code between languages with different conventions, such as converting Python snake_case variables to JavaScript camelCase, or when renaming database columns to match application-layer naming standards in an ORM.
- Can I batch convert multiple lines at once?
- Yes, paste multiple lines of text and each line will be converted independently while preserving line breaks and blank lines. This is especially useful for converting entire lists of CSS class names from camelCase to kebab-case, renaming database column headers from spaces to snake_case, reformatting a list of article titles from uppercase to title case, or preparing bulk data for import into systems that require specific naming formats. The tool handles hundreds of lines at once with no performance issues, making it practical for large-scale refactoring and data migration tasks.