OS Garage

Developer Case Tool

camelCase Converter

Convert text to camelCase for JavaScript variables and APIs.

Features

Smart Tokenization

Splits on spaces, hyphens, underscores, slashes, and dots, plus handles PascalCase and existing camelCase inputs.

Handles Mixed Inputs

Works from natural language, snake_case, kebab-case, PascalCase, and any combination.

First Word Always Lowercase

Ensures the output starts with a lowercase letter as required by camelCase convention.

Strips Special Characters

Non-alphanumeric delimiters are removed cleanly.

How to Use

  1. 1

    Enter any phrase or identifier

    Type or paste a phrase, existing identifier, or mixed text.

  2. 2

    See camelCase output

    The converter tokenizes and reassembles words in camelCase format instantly.

  3. 3

    Copy into your code

    Click Copy or Ctrl+Shift+C to paste directly into your editor.

Examples

Phrase to variable

Input

get user profile data

Output

getUserProfileData

From kebab-case

Input

my-api-key

Output

myApiKey

From snake_case

Input

user_first_name

Output

userFirstName

From PascalCase

Input

UserProfileCard

Output

userProfileCard

Common Questions

camelCase is a naming convention where the first word is lowercase and each subsequent word begins with a capital letter, producing identifiers like 'getUserData' or 'myApiKey' — no spaces, hyphens, or underscores.

camelCase is standard in JavaScript, TypeScript, Java, Swift, Kotlin, JSON field names, REST API responses, and GraphQL schemas.

Multi-letter acronyms like 'XML' or 'API' in the input are tokenized as single words and title-cased: 'parse xml data' → 'parseXmlData'.

camelCase starts with a lowercase letter ('getUserData'). PascalCase starts with an uppercase letter ('GetUserData'). Both use capital letters to denote word boundaries.