Text Case Converter
Transform text between popular casing styles instantly with our free text case converter. Whether you are naming variables, formatting headings, or preparing data for an API, this tool converts between camelCase, snake_case, PascalCase, kebab-case, and more with a single click.
Features
- Convert to camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case, and dot.case
- UPPERCASE and lowercase transformations
- Title Case and Sentence case formatting
- Batch convert multiple lines at once
- Preserve acronyms and numbers intelligently
- Copy output to clipboard instantly
- Real-time preview as you type
- Handles mixed-case input and auto-detects the original casing style
How to Use
- Paste or type your text into the input area.
- Select the target case format from the list of available options.
- View the converted text in the output area instantly.
- Click the copy button to place the result on your clipboard.
- For batch conversion, enter multiple words or identifiers separated by new lines.
Use Cases
- Variable Naming: Convert plain English descriptions into camelCase or snake_case identifiers that follow your project's coding conventions.
- API Integration: Transform field names between camelCase (JavaScript) and snake_case (Python/Ruby) when mapping data across services.
- CSS Class Names: Generate kebab-case class names from design tokens or component names for consistent stylesheet naming.
- Database Columns: Convert application-level field names to SCREAMING_SNAKE_CASE constants or snake_case column names.
- Content Formatting: Apply Title Case to blog headings or Sentence case to UI labels for a polished, professional look.
FAQ
How does the converter handle acronyms like "API" or "URL"?
The converter recognizes common acronyms and handles them appropriately for each case style. For example, "getAPIResponse" converts to "get_api_response" in snake_case and "get-api-response" in kebab-case, keeping the output consistent and readable.
Can I convert multiple lines at once?
Yes. Each line in the input is treated as a separate item and converted independently. This is useful when you need to rename a list of variables, database columns, or CSS classes in bulk.
What is the difference between Title Case and Sentence case?
Title Case capitalizes the first letter of every significant word (e.g., "The Quick Brown Fox"), while Sentence case only capitalizes the first letter of the first word and proper nouns (e.g., "The quick brown fox"). Title Case is common for headings, and Sentence case is typical for body text and UI labels.