Case Converter

Convert text to any case format with a single click.

text_fields0 characters|0 words
info

About Case Converter

Case Converter is a free online tool that transforms any text into 15 different capitalisation formats with a single click. Paste your text into the input area, click the format you need — camelCase, snake_case, Title Case, CONSTANT_CASE, kebab-case, or any of the other 10 styles — and the text updates in place. A character and word counter keeps track of your content as you work.

Developers reach for it when naming variables, functions, constants, and URL slugs that must follow a specific convention. Writers and editors use it to standardise headings, fix all-caps paste jobs, or apply sentence case to a block of text that arrived in the wrong style. The Reverse and iNVERSE modes also make it useful for social media text effects and mock-coding humour, while dot.case and path/case cover configuration keys and file paths.

Every transformation happens entirely in your browser. No text is uploaded to any server, so drafts, proprietary identifiers, and internal variable names never leave your device. The tool is free to use with no account required and no limits on input length.

star

Key Features

check_circle

15 case formats in one tool

Covers programming conventions (camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, dot.case, path/case), editorial styles (Title Case, Sentence case, UPPERCASE, lowercase), and novelty modes (aLtErNaTiNg, Reverse, iNVERSE, NoSpaces) — all on the same page.

check_circle

In-place conversion

Text transforms directly in the textarea as soon as you click a button, so you can chain multiple conversions — for example, Title Case then camelCase — without copying between boxes.

check_circle

Live character and word count

A persistent counter shows the current character length and word count, which is useful when the case you choose (for example snake_case) needs to fit inside a database field limit.

check_circle

Multi-line support

Each line is converted independently for programming formats such as camelCase and snake_case, so you can paste a column of values and convert them all at once without merging them.

check_circle

One-click copy

After converting, a single click copies the result to your clipboard so you can paste it straight into your code editor, CMS, or spreadsheet without selecting text manually.

check_circle

Fully client-side and private

All processing runs in JavaScript in your browser tab. Variable names, API keys, and draft copy are never transmitted or logged anywhere.

help

How to Use

01

Enter Your Text

Type or paste the text you want to convert.

02

Choose a Case

Click any of the 15 case conversion buttons to transform your text.

03

Copy Result

Use the copy button to grab the converted text.

code_blocks

Example

The same phrase converted to snake_case — non-alphanumeric characters are replaced with spaces, then words are joined with underscores and lowercased. Each line is processed independently.

Text input
User Profile Settings
Send Welcome Email
Maximum Retry Count
After clicking snake_case
user_profile_settings
send_welcome_email
maximum_retry_count
lightbulb

Common Use Cases

  • arrow_circle_right

    Naming variables and functions in code

    Paste a plain-English description of what a variable or function does — such as "send welcome email" — and convert it to camelCase or snake_case in one click, matching the naming convention of your project without manual retyping.

  • arrow_circle_right

    Generating URL slugs and config keys

    Turn a page title or setting name into a kebab-case URL slug or dot.case configuration key. Unlike a generic text editor, the tool strips punctuation and handles spacing automatically so the output is safe to use in a URL or config file.

  • arrow_circle_right

    Standardising headings and titles for publication

    Copy a batch of headings from a draft document and convert them to Title Case or Sentence case in one pass, ensuring consistency before the content goes to a CMS or layout tool.

  • arrow_circle_right

    Fixing incorrectly cased content from external sources

    Data imported from spreadsheets or external APIs often arrives in ALL CAPS or inconsistent mixed case. Paste the values, apply the correct format, and copy them back — faster than using a find-and-replace regex for each variation.

  • arrow_circle_right

    Creating CONSTANT_CASE environment variable names

    Environment variable names follow the CONSTANT_CASE convention. Paste a list of setting names in plain English and convert them all at once, which is quicker and less error-prone than typing the underscores and capitals by hand.

quiz

Frequently Asked Questions

What is the Case Converter tool? expand_more
The Case Converter is an online tool that transforms text between 15 different case formats including UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, dot.case, path/case, aLtErNaTiNg, Reverse, iNVERSE, and NoSpaces.
What is the difference between camelCase and PascalCase? expand_more
In camelCase, the first word starts with a lowercase letter and subsequent words are capitalised (e.g., "myVariableName"). In PascalCase, every word including the first starts with an uppercase letter (e.g., "MyVariableName"). Use camelCase for JavaScript/Java variables and functions; use PascalCase for class names and React components.
Does it preserve line breaks? expand_more
Yes. Most conversions preserve the original line break structure. For programming formats like camelCase, snake_case, and kebab-case, each line is converted independently, so a column of values stays as a column rather than merging into a single token.
Is my text secure? expand_more
Yes. All processing happens locally in your browser using JavaScript. No data is sent to any server, so variable names, API identifiers, and draft copy remain private on your device.
How is this different from the Reverse Text tool in the related tools? expand_more
The Reverse Text tool is dedicated to reversing character order and offers additional options like reversing words or lines. The Case Converter includes a basic character-reverse mode among its 15 formats, but if reversing is your primary goal the dedicated Reverse Text tool gives more control. Case Converter is designed for switching between capitalisation and naming conventions, not text manipulation.
What happens to punctuation and special characters? expand_more
For formats that join words (camelCase, snake_case, kebab-case, dot.case, path/case, CONSTANT_CASE, PascalCase), non-alphanumeric characters are replaced with spaces and then stripped during the join step. For formats that only change capitalisation (UPPERCASE, lowercase, Title Case, Sentence case), punctuation is left in place.
Can I convert multiple lines at once? expand_more
Yes. Paste as many lines as you like. Each line is treated as an independent string for programming-style formats, which is useful when converting a column of database column names, environment variables, or API field names all at once.
Is there a limit on the amount of text I can convert? expand_more
There is no fixed limit. Because everything runs in your browser, you can process large blocks of text. Performance depends only on your device, not on a server quota.