camelCase Generator

Convert any phrase to camelCase — the standard naming convention for variables and functions in JavaScript, Java, TypeScript, and Swift.

JavaScriptTypeScriptJavaSwiftC++Go
0 Chars
0 Words
0 Lines

camelCase Examples

Input

hello world

camelCase

helloWorld

Input

user profile settings

camelCase

userProfileSettings

Input

get all user orders

camelCase

getAllUserOrders

Input

first name

camelCase

firstName

What is camelCase?

camelCase writes compound words without spaces, where each word after the first starts with a capital letter. The name comes from the humps of a camel. It always starts with a lowercase letter.

Compare: camelCase vs PascalCase — the only difference is the first letter.

camelCase in Different Languages

JavaScriptVariables, function names: getUserName()
TypeScriptSame as JS + interface properties
JavaVariables, methods: calculateTotalPrice()
SwiftVariables and functions: firstName
GoUnexported identifiers: myFunction

Related Tools