HomeVariable Naming Converter

Variable Naming Converter

Professional variable naming converter supporting camelCase, snake_case, PascalCase, kebab-case, CONSTANT_CASE and other programming naming conventions

Camel Case (camelCase)

-

First letter lowercase, subsequent words capitalized

Pascal Case (PascalCase)

-

All words capitalized

Snake Case (snake_case)

-

Words separated by underscores, all lowercase

Kebab Case (kebab-case)

-

Words separated by hyphens, all lowercase

Constant Case (CONSTANT_CASE)

-

Words separated by underscores, all uppercase

Programming Naming Conventions

Common Naming Conventions

Camel Case (camelCase)

First letter lowercase, subsequent words capitalized,常用于变量名、函数名

userName, getUserInfo, calculateTotalPrice

Pascal Case (PascalCase)

All words capitalized,常用于类名、构造函数

UserName, GetUserInfo, CalculateTotalPrice

Snake Case (snake_case)

Words separated by underscores, all lowercase,常用于Python、数据库字段

user_name, get_user_info, calculate_total_price

Kebab Case (kebab-case)

Words separated by hyphens, all lowercase,常用于CSS类名、URL路径

user-name, get-user-info, calculate-total-price

Constant Case (CONSTANT_CASE)

Words separated by underscores, all uppercase,常用于常量定义

USER_NAME, GET_USER_INFO, CALCULATE_TOTAL_PRICE

Language Usage Scenarios

JavaScriptJavaC#

Variable names and function names use camelCase, class names use PascalCase

PythonRuby

Variable names and function names use snake_case, class names use PascalCase

CSSHTML

Class names and IDs use kebab-case

C/C++Java通用

Constants use CONSTANT_CASE

GoRust

Variable names and function names use snake_case, type names use PascalCase

PHPPerl

Variable names use snake_case, class names use PascalCase

Usage Tips

Smart Recognition

The tool automatically recognizes input naming formats, supporting space-separated, existing naming formats, and other input methods

Batch Conversion

Automatically generates all naming formats after entering a variable name, improving work efficiency

One-Click Copy

Each result has a copy button, click to copy to clipboard for easy use in code

Data is processed locally in your browser by default and will not be uploaded to any server. Upload will be clearly indicated if required.

© 2026 See-Tool. All rights reserved. | Contact Us