ToolBook
Support us on Ko-fi
Help us keep this free, forever

Case Converter

How to use the ToolBook Case Converter

Paste any text, scan the live stats, and copy or download the case you need. Every variant updates as you type, no submit required.

  1. Paste your text

    Drop in the source text. The converter handles single words, sentences, identifiers, and full paragraphs.

  2. Read the live stats

    A compact stat row shows characters, words, lines, and sentences. Useful when you need a quick sense of length before copying.

  3. Scan the variant cards

    Every supported case renders simultaneously: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, Train-Case, CONSTANT_CASE, dot.case, path/case, iNVERSE, and aLtErNaTiNg.

  4. Copy or download the one you need

    Hit the copy button to put the value on your clipboard, or use the download button to save it as a .txt file. The copy button flashes a confirmation when it succeeds.

Frequently asked questions

What is the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of every word ("How To Train Your Dragon"). Sentence case capitalizes only the first letter of each sentence and proper nouns ("How to train your dragon"). Use Title Case for book titles and headings, Sentence case for body copy and most modern UI. Editorial style guides such as AP and Chicago differ on which short words stay lowercase in Title Case; our converter capitalizes every word so you can decide which ones to lowercase manually.

When should I use camelCase vs PascalCase vs snake_case?

camelCase for JavaScript variables and JSON keys (myVariable), PascalCase for class names and React components (MyComponent), snake_case for Python, Ruby, and SQL identifiers (my_variable), kebab-case for URLs, CSS class names, and npm packages (my-package). CONSTANT_CASE is reserved for environment variables and true constants. Train-Case (Hello-World) is the convention for HTTP header names like Content-Type.

How does the converter detect words from a single string like "myVariableName"?

The tokenizer splits on case transitions (lowercase-to-uppercase boundaries) and on any non-alphanumeric character. So "myVariableName", "my-variable-name", "my_variable_name", and "my variable name" all produce the same token list, ready for any target case.

Are accented characters preserved?

Yes. Conversion uses native JavaScript toUpperCase / toLowerCase, which respects locale. "café" becomes "CAFÉ" in UPPERCASE and stays "café" in lowercase. For URL slugs that need ASCII output, use the dedicated Slug Generator instead.

Does the tool work with non-Latin scripts?

Mostly. UPPERCASE, lowercase, and Sentence case work correctly for Latin, Cyrillic, and Greek scripts. Title Case relies on word boundaries and works for any space-separated script. Programmer cases (camelCase, snake_case) are designed for ASCII identifiers.

Is the case converter free to use?

Yes. Every variant on the page, including UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, Train-Case, and the rest, is available for free on ToolBook. There is no daily limit on conversions and no character cap.

Does it work on mobile?

Yes. The layout adapts to small screens, the textarea expands to fit pasted text, and the copy and download buttons use the native clipboard and file APIs so they work in Safari on iOS and Chrome on Android.

Is my text saved or sent anywhere?

No. All conversion happens in your browser. Nothing is uploaded, logged, or saved. Paste confidential text safely.

Pick the right case for the job

Title Case vs Sentence case, camelCase vs snake_case, and a short field guide to every text case.

A short field guide to text cases

Every developer, writer, and designer eventually needs to flip text between cases. The trick is knowing which case belongs where — and most "case converter" tools just dump every variant on you without context. Here's the actual map.

The thirteen cases this tool produces

UPPERCASE — every letter capitalized. Used for legal "shouting" (NOTICE, WARNING), brand wordmarks, acronyms (NASA, HTTP), and dramatic emphasis. Avoid in body copy because all-caps text is roughly 10–15% slower to read.

lowercase — no capitals at all. Quietly cool — popular in modern brand wordmarks, hashtags, and identifiers. Reads fast.

Title Case — every word capitalized. Standard for book and article titles ("How to Train Your Dragon"), section headings, and many marketing surfaces. The catch: real-world Title Case keeps short words (a, the, of, and, but) lowercase unless they start the title. Our converter does the simple version — every word capitalized — which is what most CMSes do too.

Sentence case — only the first word and proper nouns capitalized. The default for body copy and increasingly for UI labels and button text on modern apps. Apple, Google Material, and most design systems prefer Sentence case for everything except headings.

Programmer cases

camelCase — first word lowercase, every following word capitalized, no spaces. JavaScript and Java variables, JSON keys, function names. Born for languages where identifiers can't contain spaces or hyphens.

PascalCase — like camelCase but the first letter is also uppercase. Used for class names, type names, React components, and namespaces. The "MyClass" of the world.

snake_case — words separated by underscores, all lowercase. The Python and Ruby standard, and the SQL convention for column names (user_id, created_at). Easier to scan in long identifiers than camelCase.

kebab-case — words separated by hyphens, all lowercase. URLs (/blog/my-post), CSS class names (.btn-primary), npm package names, and HTML attribute values. Hyphens beat underscores here because URL conventions favor them.

CONSTANT_CASE — words separated by underscores, all uppercase. Reserved for constants and environment variables (API_KEY, MAX_RETRIES). Visually shouts "do not change this."

dot.case — words separated by periods. Configuration keys, namespaces, JS object paths.

path/case — words separated by slashes. File paths, route segments.

The fun ones

iNVERSE cASE — flip every letter's case. Mostly useful for catching subtle case-sensitivity bugs.

aLtErNaTiNg cAsE — alternate every other letter. SpongeBob memes. That's the only legitimate use.

Why a single conversion tool beats thirteen

Most online case converters give you UPPERCASE and lowercase, and that's it. Or they give you all the cases on separate pages, which means thirteen tabs to find the one you want. This tool runs every variant in parallel against the same input — paste once, scan the cards, copy the one that matches your target.

The conversion happens entirely in your browser. There's no signup, no rate limit, no daily quota, and your text never leaves the tab. Paste a confidential variable name, an internal class identifier, or a draft tweet — none of it touches a server.

A note on word boundaries

Every case in this tool needs to know where the words start and end. The tokenizer splits in two places: at any non-alphanumeric character (spaces, hyphens, dots, slashes, underscores) and at lowercase-to-uppercase transitions inside an identifier. So "myVariableName", "my-variable-name", "my_variable_name", and "my variable name" all produce the same word list — and any of those four can be converted to any other in one step.