Text Case Converter
Convert text between different cases including uppercase, lowercase, title case, camelCase, snake_case, and more. Perfect for programming, documentation, and content formatting.
How to Use:
1. Enter or paste your text
2. Select the desired case format
3. Click Convert to transform your text
4. Copy the result for use in your projects
Case Type Examples & Use Cases
Programming
camelCase: variableName
PascalCase: ClassName
snake_case: variable_name
kebab-case: css-property
Content Writing
Title Case: Article Titles
Sentence case: Regular paragraphs
UPPERCASE: Headlines
lowercase: Modern styling
Special Effects
aLtErNaTiNg: Mocking text
rEVERSE: Attention grabbing
💡 Pro Tips
- Use camelCase and PascalCase for JavaScript and most programming languages
- Use snake_case for Python, PHP, and database naming
- Use kebab-case for CSS classes and URL slugs
- Use Title Case for headings and proper nouns
- Use UPPERCASE sparingly - it can appear like shouting in text
About the Case Converter
Paste text and convert it to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, aLtErNaTiNg or rEVERSE case, with before-and-after counts.
Everything you enter is processed in your browser; nothing is uploaded or stored.
How to use it
- Paste or type the text.
- Pick the case you want.
- Press Convert Text, then Copy Result.
Which case to use where
Writing: Title Case for headings (“Placement Interview Questions”), Sentence case for normal sentences and many UI labels.
Code: camelCase for JavaScript variables (userName), PascalCase for classes and components (UserProfile), snake_case for Python variables and database columns (user_name), and kebab-case for URLs, CSS classes and file names (user-profile).
For the code cases, the converter splits the text into words at spaces and punctuation, then joins them with the right separator and capitals.
Example
“placement interview questions for freshers” → Title Case: “Placement Interview Questions For Freshers”; camelCase: “placementInterviewQuestionsForFreshers”; kebab-case: “placement-interview-questions-for-freshers”.
Common mistakes
- Using Title Case for whole sentences: it is harder to read than Sentence case.
- Renaming code identifiers with a converter without updating every reference to them.
- Typing headings in caps lock: screen readers may read them letter by letter; convert with CSS or this tool instead.
Frequently asked questions
What is the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (userName); PascalCase starts every word with a capital (UserName).
What is snake_case?
Words in lowercase joined by underscores (user_name), common in Python and SQL.
Is my text stored?
No. Conversion happens in your browser.