Text Case Converter
Convert text between every case developers actually use.
Why case conventions matter
Every language and framework has naming rules: camelCase for JavaScript variables, PascalCase for components and classes, snake_case for Python and database columns, kebab-case for URLs and CSS classes, CONSTANT_CASE for environment variables. Pasting text through this converter avoids the typos that break imports and linters.
Converters split your input on spaces, hyphens, underscores and existing camelCase boundaries, then rebuild it in each style. Enter multiple lines to convert a list — each line is handled separately, which is handy for renaming a batch of fields.
For URLs prefer kebab-case: search engines treat hyphens as word separators, while underscores are not.
FAQ
What is the difference between camelCase and PascalCase?
camelCase starts lowercase (myVariableName); PascalCase starts uppercase (MyClassName). JavaScript variables use camelCase, React components use PascalCase.
Which case should file names use?
kebab-case is the safest cross-platform choice: it avoids case-sensitivity mismatches between macOS/Windows and Linux file systems.
Does it handle accented characters?
Accented letters are preserved as-is; only splitting behavior depends on separators. For strict ASCII identifiers, transliterate first.