Case Converter

How to use

Changes text between different naming styles such as camelCase, snake_case, kebab-case, PascalCase, UPPERCASE and lowercase. This is handy for programming variable names or cleaning up text. Paste your text, click the style you want, and copy the result.

Text Utilities PopularLocal only
camelCase
helloWorldFromNexttool
snake_case
hello_world_from_nexttool
kebab-case
hello-world-from-nexttool
PascalCase
HelloWorldFromNexttool
Title Case
Hello World From Nexttool
UPPERCASE
HELLO WORLD FROM NEXTTOOL
lowercase
hello world from nexttool
CONSTANT_CASE
HELLO_WORLD_FROM_NEXTTOOL
dot.case
hello.world.from.nexttool
Sentence case
Hello world from nexttool
When to use this
  • Renaming a batch of variables to match a new style guide, such as switching from snake_case to camelCase
  • Converting a spreadsheet column of names from ALL CAPS to Title Case for a report
  • Turning a page heading into PascalCase for a component or class name
  • Standardizing inconsistent casing pasted from multiple contributors into one codebase

Free and private. Everything runs on your own device, with no account and no uploads.

Developers renaming variables to match a language convention, and writers cleaning up text pasted from a spreadsheet, both run into the same problem: text in the wrong case. This tool converts between camelCase, snake_case, kebab-case, PascalCase, Title Case, UPPERCASE and lowercase with a single click, so you can match your codebase style guide or tidy up copy without retyping anything by hand. Conversion happens in your browser.

It splits on spaces, underscores, hyphens and camelCase capital letters, so mixed-format input like "user_firstName-value" is broken into individual words before converting to the target case.

Yes, each line is processed independently, which is useful for converting a whole list of variable names at once.

Yes, alongside the common programming cases it also offers Title Case and Sentence case for regular writing.

Numbers and symbols are preserved as-is; only alphabetic word boundaries are used to determine casing.

How it works
  1. 1

    Paste your text

    Enter a variable name, sentence or block of text into the input field.

  2. 2

    Pick a case style

    Click the button for the case you need, such as camelCase or kebab-case.

  3. 3

    Review the converted output

    The result appears immediately below the input.

  4. 4

    Copy the result

    Use the copy button to grab the converted text for your code or document.

Pro tips
  • ·Mixed-format input like "user_firstName-value" still converts correctly since the tool splits on underscores, hyphens and camel humps together.
  • ·Run multi-line lists through in one pass, each line converts independently, so you can batch-convert dozens of identifiers at once.
  • ·Double-check acronyms after conversion (e.g. "userID" to snake_case) since acronym boundaries can split in unexpected ways.