Case Converter
Transform text between different cases instantly.
📘 How It Works
UPPERCASE Conversion
Uses JavaScript's toUpperCase() method to convert every character to its uppercase equivalent. Works with Unicode characters from any language.
Title Case Algorithm
First converts to lowercase, then uses regex /\b\w/g to match word boundaries and capitalize the first letter of each word. Handles punctuation and spacing correctly.
Sentence Case Logic
Converts to lowercase, then capitalizes after sentence-ending punctuation (.!?) using regex. Also capitalizes the first character of the text.
Programming Case Formats
camelCase and PascalCase remove spaces and capitalize word boundaries. snake_case replaces spaces with underscores. kebab-case uses hyphens. All remove special characters.
Toggle Case Transformation
Each character is individually checked: if uppercase, convert to lowercase and vice versa. Creates the alternating case effect.
💡 Common Use Cases
Variable Naming in Code
Convert descriptive text to camelCase, PascalCase, snake_case, or kebab-case for programming. Follow your language's naming conventions automatically.
Headline Formatting
Convert all-caps headlines from documents or PDFs to proper Title Case for professional presentations and reports.
CSS Class Names
Generate kebab-case class names from descriptive text. Standard convention for CSS classes and HTML attributes.
Database Column Names
Convert descriptions to snake_case for SQL database column names. Widely used convention in PostgreSQL, MySQL, and other databases.
Email Subject Cleanup
Fix improperly capitalized email subjects. Convert ALL CAPS to Sentence case for professional communication.
File Naming Standards
Convert titles to consistent file naming formats. Use kebab-case or snake_case for URL-friendly, cross-platform compatible filenames.