Aa Case Converter
Convert text between camelCase, PascalCase, snake_case, kebab-case, UPPER_CASE, and more. Instant conversion for variable names and identifiers. Free online case converter.
How to Use
1
Paste your text
Type or paste any text — sentences, variable names, or any format. The tool detects the input format automatically.
2
All formats update instantly
camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE, Title Case, UPPERCASE, lowercase and more are shown at once.
3
Copy any format
Click the Copy button next to any format to copy it to your clipboard.
Frequently Asked Questions
What is camelCase?
camelCase writes compound words without spaces, capitalizing the first letter of each word except the first: "myVariableName". It is widely used in JavaScript, Java, and Swift for variable and function names.
What is the difference between snake_case and kebab-case?
Both separate words with a delimiter in lowercase. snake_case uses underscores (my_variable) and is common in Python and databases. kebab-case uses hyphens (my-variable) and is common in CSS class names and URLs.
What is PascalCase used for?
PascalCase capitalizes the first letter of every word with no separator: "MyClassName". It is the standard for class names in most object-oriented languages including JavaScript, C#, Java, and PHP.
Can I convert sentences and paragraphs?
Yes. The tool intelligently splits on spaces, underscores, hyphens, dots, and camelCase/PascalCase boundaries — so any format works as input. Multi-line text and sentences are fully supported.
Is my text sent to a server?
No. All conversions happen instantly in your browser using JavaScript. Your text never leaves your device.
完整指南:文本大小写转换工具
什么是命名规范转换?
不同语言和上下文有不同命名规范:camelCase(JS变量)、PascalCase(类、React组件)、snake_case(Python、数据库)、kebab-case(CSS、URL)、SCREAMING_SNAKE_CASE(常量)。
如何使用
- 以任意格式输入文本。
- 选择目标格式。
- 复制结果。
专业技巧
- 重命名多个变量时使用编辑器的查找替换功能。
- ESLint可自动执行命名规范。
- REST API URL使用kebab-case:
/user-profiles而非/userProfiles。