Aa

텍스트 대소문자 변환기

대문자, 소문자, 첫 글자 대문자, 카멜케이스 — 원클릭 변환

camelCase vs snake_case — Which Naming Convention Fits Your Stack?

camelCase for JavaScript/Java (variables, functions), snake_case for Python/Ruby/DB columns, PascalCase for classes and React components. Instantly convert between 10+ styles.

Text Case Conversion Rules

camelCase: first word lowercase, subsequent words capitalized (myVariableName). PascalCase: every word capitalized (MyClassName). snake_case: all lowercase with underscores (my_variable). kebab-case: all lowercase with hyphens (my-variable).

자주 묻는 질문

What's the difference between camelCase and PascalCase?

camelCase starts lowercase (variables, functions). PascalCase starts uppercase (classes, interfaces, React components). Both use capitalization to separate words without delimiters.

Which case should I use for constants?

CONSTANT_CASE (UPPER_SNAKE_CASE) like MAX_SIZE, API_BASE_URL is the universal convention for constants — instantly recognizable as immutable values.

How to enforce naming conventions across my team?

Set up ESLint naming-convention rules to auto-check on commit. Use this converter for quick batch conversion of identifiers during refactoring.

관련 도구