🛠️Dev Toolbox

🔤 Case Converter

Convert text between sentence case title case camelCase snake_case kebab-case and many other naming conventions instantly.

Case Converter

You just copied a column name from a database and need it as a JavaScript variable. Or you exported a CSV where every header is screaming in ALL CAPS. Instead of retyping it, paste it here.

Paste text on the left, pick a case on the right. The result updates instantly. Hit copy, move on.

What you can convert to

Plain text

  • sentence case — first letter capitalized, rest lowercase
  • lowercase / UPPERCASE
  • Title Case — picks a style guide and sticks to it (AP lowercases short prepositions; Chicago is more generous)
  • tOGGLE CASE — inverts every letter, because sometimes you need it

Code identifiers

  • camelCase — first word lowercase, rest capitalized. JavaScript variables, Java fields.
  • PascalCase — every word capitalized. Class names in most languages.
  • snake_case — lowercase with underscores. Python variables, database columns.
  • kebab-case — lowercase with hyphens. CSS class names, URL slugs.
  • CONSTANT_CASE — uppercase snake_case. Configuration keys, enums.

How it works

The tool splits your input on word boundaries — spaces, hyphens, underscores, and case transitions — then reassembles using the convention you picked. So maxRetryCount becomes max_retry_count and max_retry_count becomes maxRetryCount in one shot.

Paste multiple lines and each line converts independently. There's a swap button to move output back into the input for chaining: paste a snake_case list, flip to camelCase, then back again.

Watch out for

  • Acronyms do not survive round-trips cleanly. parseJSON to parse_json to parseJson. The JSON loses its caps. You will need to fix those by hand.
  • Case conversion is lossy. Once you go from myVariable to my variable you cannot perfectly reconstruct the original casing. Keep the source text around if you might need it.
  • Title case rules differ. AP says "over" stays lowercase; Chicago says capitalize it. Pick the one your publication uses and do not mix.

More Developer Tools

Explore our complete collection of 60+ free developer tools at dev.aisoosoo.com. All tools run 100% in your browser — no signup, no data sent to servers.