Convert snake_case to camelCase

Convert snake_case to camelCase for JavaScript, TypeScript, and Java. Rename variables instantly. Free online converter.

Example: my_variable_name → myVariableName

0 words, 0 chars
Text
Programming
Other
aa
lowercaseoutput

About This Conversion

Converting snake_case to camelCase is essential when moving code between Python/Ruby and JavaScript/TypeScript, or when mapping database columns to object properties. This tool removes underscores and capitalizes each word after the first, producing standard camelCase (first word lowercase). It handles multiple consecutive underscores, leading/trailing underscores, and numeric segments correctly. Use this when building API response mappers, migrating codebases, or conforming to JavaScript naming conventions.

Frequently Asked Questions

What is camelCase?
camelCase joins words with no separator, capitalizing every word except the first: 'myVariableName'. It's the standard naming convention in JavaScript, TypeScript, Java, and C#.
What about PascalCase?
PascalCase is like camelCase but the first word is also capitalized: 'MyVariableName'. Use it for class names and component names in React/Angular.
How are numbers handled?
Numbers are preserved in place: 'item_2_count' becomes 'item2Count'. The number doesn't trigger capitalization of the next character.

Related Case Conversions