Utinzo

Case Converter

Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, or kebab-case.

Did this tool work for you?

How to use this calculator

  1. 1

    Enter or paste your text in the input field.

  2. 2

    Select the target case format from the dropdown.

  3. 3

    The converted text appears instantly.

Frequently asked questions

Which words stay lowercase in Title Case?

Fifteen short words: a, an, the, and, but, or, for, nor, on, at, to, by, in, of, up. Every other word gets a capital, including is, with, from, as, over and into, which some style guides keep lowercase. The first word is always capitalised, and so is the first word after a colon, so "the lord of the rings: a guide to the film" becomes "The Lord of the Rings: A Guide to the Film". If your house style (AP, Chicago, APA) differs, adjust a few words by hand afterwards.

What happens to acronyms like NASA when I use Title Case or Sentence case?

They are flattened. Both modes lower-case the whole text before capitalising, so "NASA launched the ISS" becomes "Nasa Launched the Iss" in Title Case. The tool cannot tell an acronym from an ordinary word, so restore acronyms, names and the pronoun "I" by hand. Sentence case has the same limit: "john and i went home" becomes "John and i went home".

Does Sentence case capitalise every line?

No. It capitalises the first letter of the text and the first letter after a full stop, exclamation mark or question mark that is followed by a space or line break. A new line that follows no punctuation is not treated as a new sentence, so "first line" and "second line" on separate lines come out as "First line" and "second line". Add the missing full stops, or convert each line separately.

Can it split camelCase or PascalCase text into separate words?

No. The converters read word boundaries from spaces, underscores and hyphens only, and they lower-case everything first. "myVariableName" has no such boundary, so camelCase leaves it as "myvariablename", and snake_case also returns "myvariablename". To convert an existing identifier, first type it with spaces or underscores between the words.

What does it do with punctuation and accented letters in snake_case, kebab-case and CONSTANT_CASE?

It removes everything that is not a letter, a digit or the separator, then collapses repeated separators and trims them from both ends. "Page Title: SEO & Marketing!" becomes "page-title-seo-marketing" in kebab-case, with no double hyphen where the ampersand was. Accented and non-Latin letters are kept, so "Café au lait" becomes "café_au_lait". Check the result before using it as a URL slug, because browsers percent-encode non-ASCII characters in addresses.

How do camelCase and PascalCase treat punctuation and line breaks?

Only spaces, underscores and hyphens are removed. Other punctuation stays where it was, so "hello, big world" becomes "hello,BigWorld". Line breaks count as whitespace, so two lines are joined into one identifier: "line one" and "line two" give "lineOneLineTwo". Clean the text of commas, brackets and quotes before converting if you need a valid variable name.

Why can the result be longer than the original?

Upper-casing follows the Unicode rules of JavaScript, in which some letters expand. The German "ß" becomes "SS", so "dž ß straße" turns into "DŽ SS STRASSE" and grows from 10 to 12 characters. The opposite happens in the programming cases, where removed spaces and punctuation make the result shorter.

Is aLtErNaTiNg CaSe based on letters or on characters?

On characters. The pattern lower-upper-lower-upper counts every character, spaces and punctuation included, starting with a lowercase character at position 0. "Hello World" becomes "hElLo wOrLd": the space uses up a position, so the W lands on an even position and stays lower-case. Counting letters only would have given "hElLo WoRlD". It is a cosmetic effect, not a readability aid.

About case converter

Changing text case: writing styles and code naming

Ten cases, one sample phrase

The same input, "the quick brown fox", comes out as follows in every mode the tool offers. The first four are writing styles, which keep spaces and punctuation. The last five are programming styles, which join the words and drop punctuation, and the alternating pattern sits in between as a purely visual effect.

Input: the quick brown fox
ModeResultTypical use
Title CaseThe Quick Brown FoxHeadlines, book titles
UPPERCASETHE QUICK BROWN FOXWarnings, labels
lowercasethe quick brown foxNormalising text before matching
Sentence caseThe quick brown foxBody copy, UI text
camelCasetheQuickBrownFoxJavaScript and Java variables
PascalCaseTheQuickBrownFoxClass and component names
snake_casethe_quick_brown_foxPython variables, database columns
kebab-casethe-quick-brown-foxURL slugs, CSS class names
CONSTANT_CASETHE_QUICK_BROWN_FOXConstants, environment variables
aLtErNaTiNgtHe qUiCk bRoWn fOxDecoration only

Worked example: a title with a contraction

Entering "don’t STOP the music of the night" in Title Case returns "Don’t Stop the Music of the Night". The shouted word is lower-cased first, "the" and "of" keep their lowercase because they are on the short-word list, and the apostrophe does not split the contraction, so the "t" is not capitalised. Words with accents work too: "élan vital: don’t PANIC" becomes "Élan Vital: Don’t Panic".

Worked example: turning a heading into identifiers

The heading "Page Title: SEO & Marketing!" gives "page-title-seo-marketing" as kebab-case, which is ready to paste into a slug field. The text "Order total (USD) - final" gives "order_total_usd_final" as snake_case and "ORDER_TOTAL_USD_FINAL" as CONSTANT_CASE. In both, the brackets and the stray dash disappear and only a single separator remains between words.

Where the converter does not think for you

Every mode works on the characters you give it and nothing else. It has no dictionary of names, acronyms or brand spellings such as iPhone or NASA, so any mode that lower-cases first will flatten them. The only judgement it makes is the list of short words in Title Case and the sentence-ending marks in Sentence case. Treat the output as a fast first pass and proofread the capitals that matter.

Choosing between the programming cases

Pick the form your language or file format expects rather than the one that looks nicest: camelCase for JavaScript variables and functions, PascalCase for classes and components, snake_case for Python and SQL columns, kebab-case for URL paths and CSS classes, and CONSTANT_CASE for fixed values. Mixing them inside one project makes searches and code reviews harder, so convert whole lists of names in one go and keep a note of the convention you chose.

Case Converter – Utinzo

Learn more from an authoritative source:

Wikipedia
Related tools

Results are estimates for informational purposes only and do not constitute professional financial, medical, legal, or technical advice. Read full disclaimer →