What is a Text Case Converter?
A text case converter is a tool that instantly transforms text between different capitalisation formats. Whether you need to fix accidentally caps-locked text, format content for a title, or convert variable names between programming conventions, a text case converter saves significant time.
Instead of manually retyping or editing character by character, you paste your text and the converter handles the transformation in milliseconds.
Types of Text Cases Explained
UPPERCASE
All letters are converted to capital letters.
Example: hello world → HELLO WORLD
Used for: Headings, acronyms, labels, alert messages, emphasis in older text formats.
lowercase
All letters are converted to small letters.
Example: HELLO WORLD → hello world
Used for: CSS class names, email addresses, URLs, informal text.
Title Case
The first letter of each major word is capitalised. Minor words (a, an, the, in, on, etc.) are typically lowercase unless they start the title.
Example: the quick brown fox → The Quick Brown Fox
Used for: Article titles, book names, movie titles, headings in documents.
Sentence Case
Only the first letter of the first word in each sentence is capitalised.
Example: THE QUICK BROWN FOX → The quick brown fox
Used for: Normal prose, paragraphs, emails, descriptions.
camelCase
Words are joined without spaces; the first word is lowercase, and each subsequent word starts with a capital letter.
Example: user first name → userFirstName
Used for: JavaScript variables and function names, JSON keys, Java variables.
PascalCase
Like camelCase but the first word also starts with a capital letter.
Example: user first name → UserFirstName
Used for: Class names in C#, Java, TypeScript; React component names.
snake_case
Words are joined with underscores, all lowercase.
Example: user first name → user_first_name
Used for: Python variables and functions, database column names, file names in Linux.
kebab-case
Words are joined with hyphens, all lowercase.
Example: user first name → user-first-name
Used for: CSS class names, HTML attributes, URL slugs, file names.
SCREAMING_SNAKE_CASE
Words are joined with underscores, all uppercase.
Example: maximum retry count → MAXIMUM_RETRY_COUNT
Used for: Constants in most programming languages (Python, JavaScript, C).
Toggle Case
Reverses the case of each letter — uppercase becomes lowercase and vice versa.
Example: Hello World → hELLO wORLD
Used for: Design emphasis, visual effects, mocking text meme format.
Text Case in Programming
Each programming language has conventions for how identifiers should be written:
| Language | Variables | Constants | Classes | Functions | |----------|-----------|-----------|---------|-----------| | JavaScript | camelCase | SCREAMING_SNAKE | PascalCase | camelCase | | Python | snake_case | SCREAMING_SNAKE | PascalCase | snake_case | | C# | camelCase | PascalCase | PascalCase | PascalCase | | Java | camelCase | SCREAMING_SNAKE | PascalCase | camelCase | | CSS | kebab-case | – | – | – | | SQL | snake_case | UPPER_CASE | – | – |
Following naming conventions makes code more readable, maintainable, and consistent across teams.
How to Use Our Text Case Converter
- Paste your text in the input area
- Click the desired case button – UPPER, lower, Title, Sentence, camelCase, snake_case, etc.
- View the result instantly in the output area
- Copy the converted text to use in your document, code, or application
Common Use Cases
Content Writing
- Converting a draft title to proper title case before publishing
- Fixing text accidentally typed with Caps Lock on
- Standardising headings across a document
Web Development
- Converting display text to CSS class names (kebab-case)
- Transforming API field names between snake_case (backend) and camelCase (frontend)
- Generating URL slugs from page titles
Database Work
- Normalising column names to snake_case convention
- Converting display labels to database field names
Data Cleaning
- Standardising names and addresses in datasets
- Fixing inconsistent capitalisation in imported data
Frequently Asked Questions
Q: What is the difference between Title Case and Sentence Case? A: In Title Case, the first letter of most words is capitalised. In Sentence Case, only the first word of a sentence and proper nouns are capitalised. "The Quick Brown Fox" (title case) vs "The quick brown fox" (sentence case).
Q: Does the case converter work on multiple paragraphs? A: Yes. You can paste multiple paragraphs and the converter will apply the selected case transformation to all of them.
Q: What is the correct case for blog post titles? A: Title Case is standard for most English publications. Sentence case is increasingly preferred for blog posts and online content as it feels more natural and readable.
Q: Can I convert code variable names using this tool? A: Yes. Type your variable name (e.g., "user full name"), then click camelCase or snake_case to get the correctly formatted identifier.
Q: Is the tool free and unlimited? A: Yes. Our text case converter is completely free with no character limits and no account required.
Disclaimer
This tool processes text entirely in your browser. No input text is sent to any server or stored. Use it freely for personal and professional text transformation needs.