Case Converter
Convert text between camelCase, PascalCase, snake_case, kebab-case, and more.
Free Online Case Converter — 12 Text Cases
Converting between text cases is a common need for developers, writers, and data analysts. This tool supports 12 different case formats: camelCase for JavaScript variables, PascalCase for class names, snake_case for Python and database fields, kebab-case for CSS classes and URLs, UPPER_CASE for constants and abbreviations, lower_case for file names, Title Case for headings, Sentence case for paragraphs, tOGGLE cASE for stylistic effects, CONSTANT_CASE for configuration values, Train-Case for headers, and dot.case for object property notation. Simply type or paste your text and click the desired case — the conversion happens instantly in your browser. No data is sent to any server, so your sensitive code and text remain completely private.
How the Case Converter Works
The tool tokenizes your input by splitting on spaces, hyphens, underscores, dots, and camelCase boundaries. Each word is then reconstructed according to the target case rules. For camelCase, the first word is lowercase and subsequent words are capitalized. PascalCase capitalizes every word. snake_case joins with underscores in lowercase. kebab-case joins with hyphens in lowercase. This tokenization handles complex input like "helloWorld" mixed with "hello-world" and converts cleanly between any format. Developers frequently use this when migrating between coding conventions or when generating consistent naming for APIs, databases, and configuration files.