Text Case Converter
Convert text to UPPER, lower, Title, camelCase, snake_case, kebab-case and more.
Input
Type text, then click a case button above
All Case Conversions in One Place
Convert any text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE instantly. Use Live Preview for real-time updates as you type, or click a specific case button to convert on demand — perfect for developers renaming variables or writers fixing inconsistent heading styles.
What Each Case Format Is Used For
- UPPERCASE — acronyms, headings, emphasis. Common in constants and SQL keywords.
- lowercase — URLs, email addresses, CSS class names in some conventions.
- Title Case — headings, book titles, article titles, proper nouns.
- Sentence case — body text, captions, UI labels. Only the first word is capitalised.
- camelCase — JavaScript variables and function names (
myVariable), JSON keys. - PascalCase — JavaScript class names, React component names, TypeScript types (
MyComponent). - snake_case — Python variables, database column names, file names in some projects (
my_variable). - kebab-case — HTML attributes, CSS class names, URL slugs, npm package names (
my-variable). - CONSTANT_CASE — environment variables, compile-time constants (
MAX_RETRY_COUNT). - aLtErNaTiNg — memes, sarcasm. Not recommended for production code.
How to Use This Tool
- Paste or type any text into the input pane.
- Click a case button (UPPER, lower, Title, etc.) to convert and see the result instantly.
- Enable ⚡ Live Preview to see all 10 variants simultaneously as you type.
- Click Copy on any card to copy that variant to your clipboard.
- In Live mode, use Copy All to copy every variant at once.
Developer Naming Conventions Quick Reference
- JavaScript / TypeScript: variables →
camelCase, classes →PascalCase, constants →CONSTANT_CASE - Python: variables/functions →
snake_case, classes →PascalCase, constants →CONSTANT_CASE - CSS / HTML: class names →
kebab-case, custom properties →--kebab-case - Database: column names →
snake_case, table names →snake_case - URLs / slugs: →
kebab-case(e.g./my-blog-post) - Go: exported identifiers →
PascalCase, unexported →camelCase - Rust: variables/functions →
snake_case, types/traits →PascalCase