Free online tools to generate, calculate,
convert, format, encode, and play.
 

Case Converter

Convert text between camelCase, snake_case, kebab-case, PascalCase, and CONSTANT_CASE. Paste or type your text and see all conversions instantly.



How It Works

This tool detects the naming convention of your input text and splits it into individual words. It then reassembles the words into each of the supported case formats:

  • camelCase — first word lowercase, subsequent words capitalized, no separators. Common in JavaScript and Java variable names.
  • PascalCase — every word capitalized, no separators. Used for class names in most programming languages.
  • snake_case — all lowercase words separated by underscores. Standard in Python and Ruby.
  • kebab-case — all lowercase words separated by hyphens. Common in CSS class names and URL slugs.
  • CONSTANT_CASE — all uppercase words separated by underscores. Used for constants and environment variables.

The tool automatically recognizes input in any of these formats, as well as plain space-separated text. All processing is done locally in your browser — no data is sent to any server.


Embed This Util

You can embed this util on your own site as a widget. Adding ?embed=1 to the URL loads a compact version with just the tool itself; no header, menu, or documentation. Paste this snippet into your HTML:


    

Copy snippet Adjust the height to taste.



Feedback

Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.


Share with