テキスト

大文字/小文字 CamelCase

通常のテキスト、文字列、または変数をCamelCaseに変換するための、無料で即座に使えるオンラインツールです。

入力テキスト
camel-case の結果
100%安全
高速変換
高精度

無料オンラインCamelCaseコンバーター

当社の文字列フォーマットツールは、通常のテキスト、文章、またはコード変数を即座にCamelCaseに変換します。コンテンツを貼り付けるだけで、スペースや大文字小文字を自動的に処理します。

変換方法

1. 大文字/小文字 テキストを貼り付け

入力エリアに 大文字/小文字 の内容を貼り付けるか入力してください。

2. 変換プロセス

ツールが自動的に最適な設定でテキストを CamelCase 形式に変換します。

3. CamelCase をコピー

変換が完了しました。結果をクリップボードに直接コピーできます。

よくある質問

変換仕様

入力大文字/小文字
出力CamelCase
安全性HTTPS / 自動削除
価格
無料

コードの使用

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.

パラメータ

名前説明
textstringThe text to convert.

戻り値

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