Skip to content
Q3.Labs, Home

Free Tool

Case Converter

Convert text between UPPERCASE, lowercase, Sentence case, Title Case and programming styles like camelCase, snake_case and kebab-case. Paste your text, choose a case, and copy the result. It all happens in your browser, and your text is never uploaded.

  • Free
  • · No signup
  • · Nothing uploaded
  • · 14 text & code cases

Private by design. Your text is converted locally in your browser. It is not uploaded to Q3 Labs, not stored, not put in the URL, and never sent to analytics. No account is needed.

0 characters · 0 words · 0 lines

Choose a case

Text

Programming

What is a case converter?

A case converter rewrites text in a different letter case or naming style, so you don't have to retype it. Writers use one to fix text typed with caps lock on, to format headlines, or to tidy up copied content. Developers use one to turn a phrase into a variable name, a URL slug or a constant.

There are two families of "case". Text cases (uppercase, lowercase, sentence, title) change capitalization inside normal writing and keep the spaces, punctuation and line breaks. Programming cases (camelCase, snake_case and friends) turn a phrase into a single identifier with no spaces, following a naming convention.

Text cases with examples

These examples are produced by the same conversion code the tool above uses.

Text case conversion examples
CaseInputResult
UPPERCASEhello worldHELLO WORLD
lowercaseHELLO WORLDhello world
Sentence casehello WORLD. THIS is a TEST.Hello world. This is a test.
Title Casethe quick brown fox jumps over the lazy dogThe Quick Brown Fox Jumps Over the Lazy Dog
Capitalized Casehello world from q3 labsHello World From Q3 Labs
aLtErNaTiNg CaSehello worldHeLlO WoRlD
InVeRsE CaSeHello WorldhELLO wORLD

Uppercase vs lowercase

UPPERCASE turns every letter into a capital, and lowercase turns every letter into its small form. They're the simplest conversions, and they change nothing but the letters: digits, punctuation, spacing and line breaks stay put. Use uppercase for emphasis, acronyms and constants, and lowercase to normalize text, for example before comparing or searching it.

Long stretches of all capitals are harder to read, so avoid them for body text.

Sentence case

Sentence case is how you normally write: the first letter of each sentence is a capital and the rest is lower case. This converter lower-cases the text and then capitalizes the first letter of the text, of every new line or paragraph, and of every sentence that follows a full stop, question mark, exclamation mark or ellipsis.

It's a rule of thumb, not grammar. It can't know that "london" or "q3 labs" should keep their own capitalization, and it will treat the text after an abbreviation like "e.g." as a new sentence, so give the result a quick read.

Title Case

Title case is used for headlines, book titles and headings. There is no single universal standard: different style guides make different choices about which short words to leave lower case, how to treat hyphenated words and what to do after a colon.

This converter uses one simple, predictable rule. Every word is capitalized except these small words: a, an, the, and, or, but, for, nor, on, at, to, from, by, in, of. Those stay lower case unless they are the first or last word of a line, or come right after a colon. The rest of each word is lower-cased. If your style guide differs, treat the result as a starting point.

Capitalized Case

Capitalized Case is simpler than title case: the first letter of every word is a capital and the rest is lower case, with no exceptions for small words. It suits names, labels and menu items. Compare "The Lord of the Rings" (title case) with "The Lord Of The Rings" (capitalized case).

camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE

Programming naming styles join the words of a phrase into one identifier. Here is how "Q3 Labs Website Development Project" looks in each one. These are generated by the same code as the tool.

Programming case examples
CaseResultCommonly used for
camelCaseq3LabsWebsiteDevelopmentProjectVariables and functions in JavaScript, Java and others
PascalCaseQ3LabsWebsiteDevelopmentProjectClasses, types and UI components
snake_caseq3_labs_website_development_projectPython and Ruby variables, database columns
kebab-caseq3-labs-website-development-projectURLs, CSS classes and file names
CONSTANT_CASEQ3_LABS_WEBSITE_DEVELOPMENT_PROJECTConstants and environment variables
dot.caseq3.labs.website.development.projectConfiguration keys and namespaces
path/caseq3/labs/website/development/projectRoute paths and folder structures

camelCase starts with a lower-case word and capitalizes each following word. PascalCase capitalizes every word, including the first. snake_case and kebab-case use underscores or hyphens between lower-case words. CONSTANT_CASE is snake_case in capitals.

How the programming cases split your text

Before joining, the converter breaks each line into words. It treats these as word boundaries:

  • spaces, tabs, hyphens, underscores, periods, slashes and other punctuation;
  • camelCase and PascalCase humps, so helloWorld becomes hello + World;
  • acronyms followed by a word, so XMLParser becomes XML + Parser.

Letters and digits stay together (Q3 is one word), numbers are always kept, and apostrophes inside words are dropped (don't becomes dont). Emoji and symbols act as separators and are removed. This is a practical rule-based approach and not a linguistic analysis, so unusual names such as "O'Neil" may split in surprising ways.

When to use each text case

  • UPPERCASE: acronyms, short labels, emphasis. Use sparingly.
  • lowercase: normalizing text, email addresses, tags and search terms.
  • Sentence case: body copy, button text, and headings in a calm, modern style.
  • Title Case: headlines, book and article titles, some navigation labels.
  • Capitalized Case: names, product lists and menu items.
  • aLtErNaTiNg and InVeRsE: stylistic or playful text; not for anything that needs to be read easily.

Text case for programming and for writing

For programming, case is part of the syntax and the culture of a language: JavaScript favours camelCase for variables and PascalCase for components, Python favours snake_case, CSS and URLs favour kebab-case, and constants are usually CONSTANT_CASE. Following a project's convention keeps code readable. If you're building software, our web development team works with these conventions every day.

For writing, case is about readability and tone. Consistent capitalization in headings, buttons and lists makes content look professional, and it matters for content marketing and SEO copy where headlines are the first thing people read.

How to convert text case

  1. Enter your text. Type or paste into the box. Use "Try an example" if you just want to see it work.
  2. Choose a case. The result updates instantly and stays in step as you keep typing.
  3. Copy the result. Press Copy, or "Use result as input" to convert it again in another case.
  4. Compare. Tick "Show every case at once" to see all 14 results side by side, each with its own copy button.

Unicode and other languages

The converter uses JavaScript's standard Unicode case mapping, so accented Latin letters, Greek and Cyrillic convert as you would expect, and characters without case (Chinese, Japanese, Korean, emoji) are left untouched. Combining accents stay attached to their letters.

That is basic character-level case conversion, not language-aware editorial capitalization. It doesn't know that German nouns are capitalized, that Turkish has a dotted and a dotless i, or how titles are capitalized in French or Spanish. For those, use the result as a starting point and edit it yourself.

Privacy

Conversion runs entirely in your browser. Your text isn't uploaded, isn't stored by Q3 Labs, isn't written to the URL or your browser's storage, and is never sent to analytics. Closing or refreshing the page clears it.

Frequently Asked Questions

Explore more

Count what you've written with the Character Counter or the Word Counter. Generate identifiers with the UUID Generator, or create a strong login with the Password Generator. Need a URL rather than kebab-case? The Slug Generator also removes punctuation and accents. Browse all our free tools.

Related tools & resources

Related tools

  • Image Size FinderCheck an image's width, height, aspect ratio and file size in your browser. Nothing is uploaded.
  • Placeholder Image GeneratorCreate custom placeholder images with your own size, text and colors, and download them as PNG, JPEG or WebP.
  • Character CounterCount characters, characters without spaces, words, sentences and more instantly in your browser.

Learn more

  • Content MarketingMost content programs produce volume without strategy: articles that rank for nothing and convert no one.

Related articles

We use cookies for analytics to understand site usage. Privacy Policy