TL
ツールラボ
💰寄付する
💰寄付する

変数名ジェネレーター

フレーズをcamelCase・snake_case・PascalCase・kebab-caseなどに変換します。

camelCase
userProfileImageUrl
PascalCase
UserProfileImageUrl
snake_case
user_profile_image_url
SCREAMING_SNAKE
USER_PROFILE_IMAGE_URL
kebab-case
user-profile-image-url
UPPER-KEBAB
USER-PROFILE-IMAGE-URL
dot.notation
user.profile.image.url
Train-Case
User-Profile-Image-Url
flatcase
userprofileimageurl
FLATCASE
USERPROFILEIMAGEURL
path/case
user/profile/image/url
$variable
$userProfileImageUrl
--css-var
--user-profile-image-url
SQL_COLUMN
USER_PROFILE_IMAGE_URL

Click any value to copy to clipboard.

このツールについて

The Variable Name Generator converts any natural-language phrase or existing variable name into 14 common naming conventions used across different programming languages and contexts.

The converter splits input on spaces, hyphens, underscores, slashes, dots, and camelCase/PascalCase boundaries. It then reassembles the words in the target format. Input is automatically normalized to lowercase before transformation.

使い方

  1. Type a natural-language phrase or paste an existing variable name.
  2. The tool instantly generates 14 naming convention variants.
  3. Click any result to copy it to your clipboard.
  4. Switch between conventions to find the right one for your language or framework.

活用事例

JavaScript developers convert phrases to camelCase or PascalCase for variables and class names. Python developers use snake_case for functions. CSS developers use kebab-case for custom properties (--my-var). Database engineers use SQL_COLUMN style for column names.

よくある質問

  • Does it handle existing camelCase or PascalCase input?Yes. The tool splits camelCase and PascalCase into individual words before applying the target format.
  • What characters are stripped from input?Non-alphanumeric characters except spaces, hyphens, underscores, slashes, and dots are removed. Numbers are preserved.
  • Why is the output lowercase by default?The tool normalizes input to lowercase before applying the target casing rules, following the convention of most naming standards.