Loading...

Case Converter Online — Convert Between camelCase, snake_case, kebab-case, PascalCase

A free online case converter for developers. Paste any text or identifier and instantly convert between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, UPPERCASE, and lowercase. Useful when porting variable names between languages, normalizing API field keys, generating URL slugs from headings, or matching a team style guide. Every transformation runs locally in your browser — your text never leaves your machine.

Features

  • All common case styles

    camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, UPPERCASE, lowercase — one click each.

  • Identifier-aware splitting

    Correctly splits acronyms, spaces, hyphens, and underscores when re-casing identifiers like `XMLHttpRequest` or `api_v2_key`.

  • Line-aware operations

    Trim, sort, deduplicate, reverse, and drop blank lines without leaving the page.

  • Live stats

    Character, word, and line counters update as you type or paste.

How to convert string case online

Convert identifiers, slugs, and headings between case styles in three clicks.

  1. Paste your textDrop the string or list of identifiers you want to re-case into the input.
  2. Click a case styleChoose camelCase, PascalCase, snake_case, kebab-case, or any other supported style.
  3. Copy the resultHit Copy to grab the converted text — the input field always holds the latest version.

Examples

Re-case an identifier across styles

Input
Hello World From EasyDev
Output
camelCase: helloWorldFromEasyDev
PascalCase: HelloWorldFromEasyDev
snake_case: hello_world_from_easydev
kebab-case: hello-world-from-easydev
CONSTANT_CASE: HELLO_WORLD_FROM_EASYDEV

Normalize an API field key

Input
user_first_name
Output
camelCase: userFirstName
PascalCase: UserFirstName
kebab-case: user-first-name

Frequently Asked Questions

What is the difference between camelCase and PascalCase?
Both join words without spaces. camelCase keeps the first letter lowercase ("helloWorld"); PascalCase capitalizes every word including the first ("HelloWorld"). camelCase is common for variables and functions, PascalCase for classes, types, and components.
How are acronyms handled?
Acronyms are kept intact when possible. Converting `XMLHttpRequest` to snake_case yields `xml_http_request`, and to kebab-case `xml-http-request`. If you need a different convention, just edit the output.
Can I convert many strings at once?
Yes. Paste a multi-line list — every transform applies to the whole input. Use the Line operations to also sort, deduplicate, or trim each line.
Does my text get sent to a server?
No. The case converter runs entirely client-side in JavaScript. There are no network requests when you click a transform button — open DevTools and the Network tab will be empty.
Is it free?
Yes. EasyDev tools are free, ad-free, and require no signup. We do not log inputs, track usage per user, or rate-limit clicks.