Text Case Converter – camelCase, snake_case, kebab-case & more
Preserve acronyms, customize delimiters, and convert code, slugs, and docs across 13 naming conventions instantly.
Text Case Converter
Convert text between 13 case formats instantly
Related tools
Show moreShow more
› About this tool · FAQ
Stop manually reformatting variable names! Convert text between 13 case formats instantly including camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, and more. Perfect for converting between programming conventions, API formats, and naming standards. Free, works offline, unlimited conversions.
How do I convert text case?
Enter your text, select target case format (camelCase, snake_case, kebab-case, PascalCase, etc.), configure options (preserve acronyms, custom delimiters), and convert. The tool transforms text instantly with live preview.
Is this case converter free?
Yes, completely free with unlimited conversions. No signup required, no watermarks. All conversion happens in your browser for complete privacy of code and text.
Are text inputs uploaded to servers?
No, all case conversion happens locally in your browser. Text never leaves your computer, ensuring complete privacy for variable names, code snippets, and sensitive data.
When should I use camelCase vs PascalCase?
Use camelCase for variables, functions, and methods (JavaScript: userName, getUserData). Use PascalCase for classes, components, and types (React: UserProfile, TypeScript: UserData).
What's the difference between snake_case and kebab-case?
snake_case uses underscores (Python: user_name, SQL: created_at) while kebab-case uses hyphens (URLs: /user-profile, CSS: .nav-menu).
Should I preserve acronyms when converting cases?
It depends on your style guide. JavaScript often uses "xmlHttpRequest" while C# prefers "XMLHttpRequest". Enable "Preserve Acronyms" to keep acronyms capitalized.
What is CONSTANT_CASE used for?
CONSTANT_CASE (ALL_CAPS with underscores) is used for constants (const MAX_USERS = 100) and environment variables (DATABASE_URL, API_KEY).
Which case format should I use for URLs?
Use kebab-case for URLs (example.com/user-profile) as it's SEO-friendly, readable, and doesn't require encoding unlike underscores or spaces.
How do I handle numbers in case conversion?
Numbers are preserved in their position. "user2name" becomes "User2Name" in PascalCase, "user_2_name" in snake_case, maintaining readability.
What's the difference between Title Case and Sentence case?
Title Case capitalizes each word ("The Quick Brown Fox"), while Sentence case only capitalizes the first word ("The quick brown fox").
When would I use dot.case or path/case?
Use dot.case for object notation (user.profile.name) and path/case for file systems (src/components/user). These are specialized formats for specific contexts.
Can I convert between all case types in one tool?
Yes! This tool supports 13 different case formats with live preview. Simply enter your text and select any target format to see instant conversion.
Is the conversion reversible?
Most conversions are reversible, but some information may be lost (like original capitalization). Always keep a backup of original text for critical data.