Text

Case to CamelCase

Free and instant online tool to convert normal text, strings, or variables into CamelCase.

Input Text
camel-case Result
100% Secure
Fast Conversion
High Accuracy

Free Online CamelCase Converter

Our string formatting tool instantly transforms your normal text, sentences, or code variables into CamelCase. Simply paste your content, and the tool will automatically handle spaces and capitalization.

How to convert

1. Paste Case text

Paste or type your Case content into the input area.

2. Conversion Process

Our tool automatically converts your text to CamelCase format with the best possible settings.

3. Copy CamelCase

The conversion is complete. You can now copy the result directly to your clipboard.

Frequently Asked Questions

Conversion Specs

InputCase
OutputCamelCase
SafetyHTTPS / Auto-delete
Price
Free

Using code

camelCase

Takes an input string in any common format (space-separated, kebab-case, snake_case, PascalCase, etc.) and converts it to camelCase. The function first normalizes the string by identifying word boundaries (including transitions between acronyms, letters/numbers, and common delimiters like spaces, hyphens, dots, and underscores), then joins the segments together with the first segment in lowercase and each subsequent segment capitalized.

Parameters

NameTypeDescription
textstringThe text to convert.

Returns

stringThe camel cased string.
npm i @razomy/string-case
import {camelCase} from '@razomy/string-case';

camelCase('Foo Bar');
// => fooBar

camelCase('--foo-bar--');
// => fooBar

camelCase('__FOO_BAR__');
// => fooBar