Text Case Converter

Convert text between camelCase, snake_case, PascalCase, kebab-case and more.

Paste a string and see it in every common case style simultaneously. Useful when you're moving between languages or codebases with different conventions and need to rename an identifier without typing each variant by hand.

Common use cases: converting a database column to an API field name, translating a component name between React conventions and CSS classes, normalising identifiers when porting code between languages, and producing constants from human-readable labels.

Input Text

Conversions

Enter text to see conversions

Frequently asked questions

Which case should I use for which thing?
camelCase for JavaScript/TypeScript variables and functions. PascalCase for classes and React components. snake_case for Python and most database columns. kebab-case for URL slugs and HTML attributes. SCREAMING_SNAKE_CASE for constants and environment variables.
What's the difference between Title Case and Sentence case?
Title Case capitalises every "important" word (usually skipping articles and short prepositions) — used for headlines and book titles. Sentence case capitalises only the first word and proper nouns — used for body text and modern UI labels.
How does the converter handle existing punctuation?
Words are split on whitespace, underscores, hyphens, and case transitions (so MyVariableName splits into My Variable Name). Punctuation that's part of the content (periods, commas) is preserved in cases where it makes sense; stripped in casings that disallow it (kebab/snake).
Can I convert mixed-language text?
Yes — the casing rules use Unicode-aware uppercase/lowercase, so non-Latin characters cased correctly per their locale rules (German ßSS, Turkish i/İ distinction etc.).