How to Use the Case Converter
- Type or paste your text, sentence, or code identifier into the input box above.
- Click any case format button (such as Title Case, camelCase, or snake_case) to transform your text immediately.
- Use Undo to revert a change, or click Copy Text / Download .txt to save your result.
Text & Naming Convention Reference
| Format | Example | Common Use Case |
|---|---|---|
| Title Case | The Quick Brown Fox | Blog headlines, article titles, book names |
| Sentence case | The quick brown fox. | Paragraphs, UI labels, emails, documentation |
| camelCase | theQuickBrownFox | JavaScript, TypeScript, and Java variables/functions |
| PascalCase | TheQuickBrownFox | React components, TypeScript types, C# classes |
| snake_case | the_quick_brown_fox | Python variables, Ruby methods, SQL database columns |
| kebab-case | the-quick-brown-fox | SEO-friendly URL slugs, CSS classes, HTML attributes |
| CONSTANT_CASE | THE_QUICK_BROWN_FOX | Environment variables (.env), global constants |
Frequently Asked Questions
What is the difference between camelCase and PascalCase?
Both join words together without spaces and capitalize each word. camelCase starts with a lowercase letter (userProfileData), whereas PascalCase starts with an uppercase letter (UserProfileData).
When should I use snake_case vs kebab-case?
Use snake_case (user_id) in Python, PHP, Rust, and SQL databases. Use kebab-case (user-profile) for URL slugs, CSS class names, and CLI flags.