Skip to content
Reembun
Case converter icon
Text

Case converter

Convert text between upper, lower, title, sentence, camel, Pascal, snake, kebab and constant case, plus alternating and inverse case.

0 words · 0 characters

Convert to

Ready. Runs locally on your device.

Your files stay on your device. The tool works directly in your browser, using your device to process your files. Nothing is sent to our servers, and we never receive, store, or see your files or figures.

Share

Share this page

Share result

Your results

Use the tool above first. Whatever it works out shows up here, ready to copy or share.

Cite

Cite this page

Reembun. (2026, July 27). Case converter. https://reembun.com/case-converter
Pick a style, then copy the reference. The access date is today.

How to use it

  1. Paste your text

    Type it or paste it into the box. It is converted in your browser and never uploaded.

  2. Pick a case

    Sentence case, Title Case, UPPER CASE, lower case, camelCase, PascalCase, kebab-case, CONSTANT_CASE, alternating and inverse are one click each.

  3. Chain a second pass

    Replace the input with the converted text feeds the result back into the box, so you can run another conversion on top of it.

  4. Copy the result

    Copy result puts the converted text on the clipboard.

The cases, and where each belongs

CaseExampleUsed for
UPPER CASEHELLO WORLDAcronyms, emphasis, legal headings
lower casehello worldNormalising input, URLs, tags
Title CaseHello WorldHeadlines, book and article titles
Sentence caseHello worldBody prose, UI labels, buttons
camelCasehelloWorldJS/Java variables and functions
PascalCaseHelloWorldClasses, React components, C# methods
snake_casehello_worldPython, Ruby, SQL columns
kebab-casehello-worldURLs, CSS classes, HTML attributes
CONSTANT_CASEHELLO_WORLDEnvironment variables, constants
aLtErNaTiNghElLo WoRlDMocking tone in memes
iNVERSEhELLO wORLDFixing accidental caps-lock text

How the programming cases split words

Converting getUserName to snake_case requires knowing where the words are. The splitter inserts a boundary before any capital letter that follows a lowercase letter or digit, then splits on spaces, hyphens, underscores and dots.

So getUserName, get-user-name, get user name and GET_USER_NAME all reduce to the same three tokens and convert identically. This means you can move between any two conventions in one step without an intermediate pass.

One caveat: consecutive capitals are treated as a single token, so parseHTMLDocument becomes parse_htmldocument rather than parse_html_document. Acronym handling has no universally agreed rule, and every library makes a different choice here.

Title Case is not one thing

The three widely used style guides disagree:

  • AP style lowercases prepositions of three letters or fewer.
  • Chicago style lowercases all prepositions regardless of length, so “Notes on a Scandal” keeps “on” lowercase.
  • APA style capitalises words of four or more letters, including prepositions.

This converter follows the AP-leaning convention, which is the most common in web publishing. For anything going to a publisher, verify against their guide.

Sentence case for interfaces

Most modern design systems, including Google’s Material and Apple’s Human Interface Guidelines, specify sentence case for buttons, labels and headings. It reads faster, handles long strings better, and translates more gracefully, since many languages have no equivalent of English title case.

If you are converting an interface from Title Case to sentence case, expect to fix proper nouns and product names by hand afterwards.

Fixing caps-lock accidents

Inverse case is genuinely useful once: you typed a sentence with caps lock on and Shift held, producing hELLO wORLD. Inverse case restores it exactly. Upper or lower case would destroy the original capitalisation instead.

Common questions

Which words stay lowercase in Title Case?

This converter leaves articles, coordinating conjunctions and short prepositions lowercase unless they are the first or last word: a, an, the, and, but, or, for, nor, at, by, in, of, on, to, up, via, as, from, into, over, with. That follows the common AP and Chicago approach. Note that style guides genuinely disagree, particularly on prepositions of four or more letters, so check your house style for published work.

What is the difference between camelCase and PascalCase?

Only the first letter. camelCase starts lowercase (userName), PascalCase starts uppercase (UserName). By convention JavaScript uses camelCase for variables and functions and PascalCase for classes and components, while C# uses PascalCase for methods too.

Will it handle text that is already in a mixed case?

Yes. The programming cases split on capital letters as well as spaces, hyphens, underscores and dots, so getUserName, get-user-name and get_user_name all convert to the same result in any target case.

Why did Sentence case not capitalise a name?

Sentence case capitalises the first letter after each sentence-ending punctuation mark and lowercases everything else. It cannot know that "paris" is a proper noun. Proper nouns need a manual pass afterwards.

Last reviewed