Monu Tools

文字ケース変換

テキストをキャメルケース、スネークケース、ケバブケース、パスカルケース、大文字、小文字、タイトルケースなどに変換します。

ケース変換の使い方

  1. 01

    変換したいテキストを入力してください。

  2. 02

    変換したい形式のボタンをクリックしてください。

  3. 03

    変換結果をコピーしてください。

What this converter does

The Case Converter switches text between programming cases and natural-language cases in one place, so you do not have to retype a label, variable or heading by hand just to change how it is capitalized.

Conversion happens entirely in your browser, so whatever you paste stays on your device and nothing is uploaded.

The cases it covers

It covers UPPERCASE, lowercase, Title Case and Sentence case for prose, plus the cases developers need: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case. Each has its home: camelCase in JavaScript and Java, snake_case in Python and Ruby, kebab-case in CSS and URLs, and CONSTANT_CASE for environment variables.

How it splits words

The clever part is tokenization. The converter first splits your input into words, understanding existing camelCase, snake_case, kebab-case and spaces, and treats acronyms like API or HTTP as single units. So myAPIKey becomes my-api-key, not my-a-p-i-key.

Title Case, Sentence case and style guides

Title Case capitalizes the first letter of each word, which is ideal for headings and labels. Sentence case capitalizes only the first word, like ordinary prose. Note that Title Case here does not apply editorial small-word rules (leaving "of" or "the" lowercase), so check headlines if you follow a specific style guide.

Typical uses include renaming a variable to match a new language's convention, turning a heading into a URL slug, building an environment-variable name from a label, or just cleaning up inconsistent capitalization pasted from elsewhere.

よくある質問

キャメルケースとパスカルケースの違いは?

キャメルケース(例:myVariableName)は最初の単語が小文字で始まります。パスカルケース(例:MyVariableName)はすべての単語が大文字で始まります。

スネークケースはどこで使いますか?

スネークケース(例:my_variable_name)はPythonやデータベースのカラム名でよく使われます。ケバブケース(例:my-variable-name)はCSSやURLでよく使われます。

このツールを埋め込む

このツールをご自身のウェブサイトに追加できます。下のコードをコピーしてください。内容は自動的に最新の状態に保たれます。

<iframe src="https://monu.tools/embed/ja/case-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

関連ツール