Free Online Text Case Converter
Convert text to UPPER, lower, Title, camelCase, snake_case, kebab-case and more.
Select Case Format
What Is a Text Case Converter?
A text case converter is a tool that transforms the capitalization pattern of a string without changing its words. Writers use it to fix headings, developers use it to format variable names, and SEO specialists use it to standardize URLs. Our free online converter handles eight of the most common formats and updates your text instantly as you type.
The Eight Case Formats Explained
- UPPERCASE
- Every letter is a capital. Use it for constant names in most programming languages
(
MAX_RETRIES), acronyms, or headlines designed to grab attention. - lowercase
- Every letter is small. Standard for email addresses, most URLs, HTML attributes, and many programming contexts where case-sensitivity matters.
- Title Case
- The first letter of each significant word is capitalized; minor words like a, an, the, and, in, of remain lowercase (unless they open the title). This follows AP and Chicago style — correct for article headlines and book titles.
- Sentence case
- Only the very first word and proper nouns are capitalized, exactly as you would write a normal sentence. Best for descriptions, captions, and UI labels.
- camelCase
- Spaces are removed; each word after the first starts with a capital.
The dominant naming convention in JavaScript, TypeScript, Java, and Swift
— e.g.,
getUserProfile. - PascalCase
- Like camelCase but the very first letter is also capitalized.
Standard for class names, PHP namespaces, and React components
— e.g.,
UserProfile. - snake_case
- Words are separated by underscores, all lowercase.
The convention in Python, Ruby, and most database table and column names
— e.g.,
user_first_name. - kebab-case
- Words are separated by hyphens, all lowercase.
Used in CSS class names, HTML element IDs, and URL slugs
— e.g.,
hero-sectionor/blog/my-first-post.
How to Use This Tool
- Paste or type your text into the Input box.
- Click any of the eight format buttons — the output updates instantly.
- Click Copy to copy the result to your clipboard.
The word count, character count, and line count update live so you can track your content length as you work. Everything runs in your browser; no text is ever sent to a server.
How to Use Text Case Converter
-
1
Paste or type your text
Enter any text in the input area. It can be a single word, a sentence, a paragraph, or a chunk of code.
-
2
Click a case button
Choose from UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, or kebab-case. The result updates instantly.
-
3
Copy the result
Click the Copy button next to the output field to copy the converted text to your clipboard, ready to paste anywhere.
Frequently Asked Questions
myVariableName. In PascalCase, every word (including the first) starts with a capital — for example, MyClassName. PascalCase is typically used for class names and React components; camelCase is the standard for variables and functions in JavaScript, Java, and C#.
user_first_name. Use kebab-case (hyphens) in CSS class names, HTML element IDs, and URL slugs — e.g., hero-section. The key rule: hyphens are invalid in most programming variable names (they look like subtraction), so kebab-case belongs in HTML/CSS/URLs.