大文字小文字変換
様々なテキストケーススタイルに変換
ツールについて
ケース変換ツールはテキストを camelCase / PascalCase / snake_case / kebab-case / CONSTANT_CASE などの命名規則に変換します。JavaScript は camelCase、Python は snake_case、CSS は kebab-case、環境変数は CONSTANT_CASE と慣習が異なるため、手作業より安全に切り替えできます。
使い方
- Type or paste the text you want to convert into the input box.
- All conversion variants render simultaneously in the results grid.
- Find the case style you need (camelCase, kebab-case, etc.) in the appropriate card.
- Click Copy on that card to put the result on your clipboard.
- Paste it into your IDE, terminal, config file, or commit message.
主な使用例
- Renaming a database column (snake_case) into a TypeScript field (camelCase).
- Generating CSS class names (kebab-case) from a design token name.
- Converting JSON keys to match a different language convention during API integration.
- Producing CONSTANT_CASE keys for .env files from a human-readable label.
- Quickly producing a PascalCase class name from a feature description in a ticket.
- Normalizing inconsistent variable names during a refactor.
よくある質問
Q. What is the difference between camelCase and PascalCase?
A. Both join words without separators, but camelCase keeps the first letter lowercase (myVariable) while PascalCase capitalizes it (MyClass). PascalCase is conventionally reserved for classes, types, and components.
Q. How do you handle acronyms like URL or ID?
A. Modern style guides (Google, Microsoft) treat acronyms as single words: parseUrl, userId. The converter follows that rule for predictable round-trip conversions.
Q. Will the tool guess word boundaries from a CONSTANT_CASE input?
A. Yes. It splits on underscores, hyphens, spaces, and case transitions, so HELLO_WORLD, helloWorld, and hello-world all produce the same canonical word list before re-joining.
Q. Does conversion work with non-English characters?
A. Yes for case-insensitive scripts. Languages without case (Korean, Japanese, Chinese) keep their characters intact and only the separators are adjusted.