How to convert text case
Type or paste any text, then click a case to transform it in place — ready to copy straight into your code or document.
1. Type or paste
Enter a variable name, sentence, or any block of text.
2. Pick a case
Choose camelCase, snake_case, Title Case and more — one click.
3. Copy the result
Grab it with one click and paste it wherever you need it.
Handy for naming variables and functions (camelCase, PascalCase, snake_case), CSS classes and URL slugs (kebab-case), environment variables and constants (CONSTANT_CASE), or cleaning up headings and titles (Title Case, Sentence case). Word boundaries are detected from spaces, hyphens, underscores and capital letters, so converting text that's already in one case to another just works. Everything runs in your browser, so even proprietary code and identifiers stay private. For more text utilities, try Text Tools or the Word Counter.