Free Developer Tool — 100% Client-Side

Case Converter

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

 
Sponsored
Advertisement

What Is a Case Converter?

A case converter is a tool that transforms text between different naming conventions and letter casings. Developers, writers, and data professionals use a text case converter to switch between formats like camelCase, snake_case, kebab-case, and others. Our free online case converter runs entirely in your browser, ensuring your text never leaves your device.

Common Naming Conventions

camelCase

First word lowercase, subsequent words capitalized, no separators. Example: myVariableName. Used in JavaScript, Java, and C#.

PascalCase

Every word starts with an uppercase letter, no separators. Example: MyClassName. Used for classes, constructors, and types.

snake_case

Words separated by underscores, all lowercase. Example: user_first_name. Standard in Python and Ruby.

kebab-case

Words separated by hyphens, all lowercase. Example: css-class-name. Common in URLs, HTML attributes, and CSS.

When to Use Each Case Type

  • camelCase — JavaScript, TypeScript, Java, C# for variables and function names.
  • PascalCase — Class names, constructors, type definitions, and React component names.
  • snake_case — Python variables, database column names, configuration keys, and environment variables.
  • kebab-case — URL slugs, CSS class names, HTML data attributes, and file names.
  • UPPER CASE — Constants, environment variables, and preprocessor macros.
  • lower case — General text normalization, slugs, and domain names.
  • Title Case — Headings, titles, labels, and display names in user interfaces.

How to Use This Case Converter

To convert text case, type or paste your text into the input field and click any case button — camelCase, PascalCase, snake_case, kebab-case, UPPER CASE, lower case, or Title Case. The converted result appears instantly in the output area. Use the Copy button to copy the result to your clipboard. All conversion happens on your device — nothing is sent to a server.

Sponsored
Advertisement

How to Do This in Code

Need a Fast Code Editor?

Write, edit, and refactor code with a modern editor built for speed and productivity.

Case Converter FAQ

What is camelCase?

camelCase capitalizes each word after the first (e.g., getUserName). PascalCase capitalizes all words (e.g., GetUserName). snake_case uses underscores between lowercase words.

Which naming convention should I use?

JavaScript/TypeScript uses camelCase for variables. Python uses snake_case. CSS uses kebab-case. Use PascalCase for classes and constructors.