Skip to main content

Case Converter

Type or paste text and see it converted to every common naming convention instantly.

Input Text
camelCase
helloWorldExampleText
PascalCase
HelloWorldExampleText
snake_case
hello_world_example_text
SCREAMING_SNAKE
HELLO_WORLD_EXAMPLE_TEXT
kebab-case
hello-world-example-text
Train-Case
Hello-World-Example-Text
Title Case
Hello World Example Text
Sentence case
Hello world example text
UPPER CASE
HELLO WORLD EXAMPLE TEXT
lower case
hello world example text
dot.case
hello.world.example.text
path/case
hello/world/example/text

How to Convert Between camelCase, snake_case, and kebab-case

Identifier style is a constant translation problem between JavaScript, Python, HTTP headers, and CSS. This case converter rewrites text between camelCase, PascalCase, snake_case, kebab-case, and more without sending the string to a server.

Paste a single identifier or a block of names. Pair it with the string escape tool when you also need JSON or URL encoding.

Tips

  • snake_case is the usual Python and SQL convention; camelCase is typical in JavaScript.
  • kebab-case is what you want for CSS classes and URL slugs.
  • Acronyms can split awkwardly — review output when converting HTTPStatusCode-style names.

More from Shane Code