Text Case Converter

Convert text between camelCase, PascalCase, snake_case, kebab-case, Title Case, and more. Devs use this daily.

Runs entirely in your browser. Nothing is sent to our servers.

Conversions

About this tool

Converts text between common naming conventions used in programming. Useful when you're renaming variables across language boundaries (Python prefers snake_case, JavaScript prefers camelCase, Go prefers PascalCase), or when you need a clean slug from a sentence.

What gets generated

  • camelCase — first word lowercase, rest title-cased, no separators. JS, Java.
  • PascalCase — every word title-cased, no separators. Types, classes, Go exports.
  • snake_case — lowercase words joined with underscores. Python, Ruby, database columns.
  • SCREAMING_SNAKE_CASE — uppercase snake. Constants, environment variables.
  • kebab-case — lowercase words joined with hyphens. URLs, CSS classes.
  • Title Case — every word capitalized. Headings.
  • Sentence case — only the first word capitalized.
  • UPPER CASE / lower case — straight transforms.
  • iNVERSE cASE — flips each character.
  • aLtErNaTiNg cAsE — character-by-character flip.

Frequently asked questions

How does the tool know where words start?
It splits on whitespace, underscores, hyphens, and at the boundary between lowercase and uppercase (so "helloWorld" splits into "hello" and "world"). Then it joins with the target convention.
What about non-Latin characters?
Unicode letters and numbers are preserved. Case conversions use the JavaScript runtime's Unicode-aware methods, so accented characters work correctly (é → É).
Why is the kebab-case version useful for URLs?
URLs prefer lowercase letters and hyphens because most servers are case-sensitive and many systems mangle other separators. my-blog-post is the conventional slug for "My Blog Post".

Last updated: May 17, 2026