Case Converter

Convention"user profile name" becomesHome turf
camelCaseuserProfileNameJavaScript, Java, Swift variables
PascalCaseUserProfileNameclass names, React components, C# methods
snake_caseuser_profile_namePython, Ruby, SQL columns
kebab-caseuser-profile-nameCSS classes, URLs, HTML data attributes
CONSTANT_CASEUSER_PROFILE_NAMEconstants: env keys, config values
Title CaseUser Profile Nameheadings, book titles (small words lowercase)
Each convention is a tribe marker: JavaScript variables camelCase and Python variables snake_case because the languages grew up with different style bibles, and mixing them in one codebase reads like a switched accent mid-sentence. The table is the cheat sheet when a value crosses tribe boundaries - an API field (snake_case) landing in JavaScript code (camelCase) is the classic rename-this-rename-that argument.
Title Case is the one convention here that is an editorial standard rather than a code dialect: the federal government prints its own capitalization rules, and the GPO Style Manual (U.S. Government Publishing Office, free full text on govinfo) devotes an entire chapter to which words take capitals. Style bibles disagree on exactly which small words stay lowercase - treat this converter's 20-word Title Case list as one reputable dialect, not the law. Related tools: the smart quotes converter (the punctuation half of the cleanup) and the word counter (the length check after the rename).

Paste text, click a case, copy the result. Beyond the basics (UPPERCASE, lowercase, Title Case, Sentence case), it also outputs camelCase, snake_case and kebab-case โ€” the formats developers and writers constantly need for variable names, URLs, filenames and hashtags.

Everything runs locally in your browser, so it is safe for private or sensitive text. There is no length limit โ€” convert a headline or an entire chapter.

How to use

  1. Paste or type your text into the input box.
  2. Click the case style you need โ€” the output box updates instantly.
  3. Use the copy button to grab the converted text.

Frequently asked questions

What is Title Case?

Title Case capitalizes the first letter of each major word ('The Quick Brown Fox'). Minor words like 'a', 'of', 'the' are traditionally lowercase unless they start the title.

What is the difference between camelCase and snake_case?

camelCase removes spaces and capitalizes each word after the first ('myVariableName'). snake_case replaces spaces with underscores and lowercases everything ('my_variable_name'). kebab-case uses hyphens ('my-variable-name').

How do I fix text that's ALL IN CAPS?

Click 'Sentence case' โ€” it lowercases everything except the first letter of each sentence. Or 'Title Case' if it is a heading.

Is my text sent to a server?

No. All conversion happens in your browser with JavaScript. Nothing is uploaded, logged or stored โ€” refresh the page and it is gone.

Which words stay lowercase in Title Case?

Twenty small words stay lowercase mid-title - a, an, and, as, at, but, by, for, if, in, nor, of, on, or, per, the, to, v, via, vs - the standard style-guide list. Any of them that starts the title gets capitalized like every other word, and everything not on the list always capitalizes.

How do hyphens and camelCase survive?

Title Case splits on spaces only, so forty-two keeps its shape. The camel, snake and kebab converters are stricter: they split on every non-letter boundary and on camelCase humps, so phoneNumber becomes phone_number and e-mail becomes e_mail - which is exactly what identifiers want, and what prose does not.

Is Title Case a fixed standard or a style choice?

A style choice with strong dialects. The U.S. Government Publishing Office maintains an entire capitalization chapter in its Style Manual - the full PDF is free on govinfo - and it still differs from AP, Chicago and APA on which small words stay lowercase. This converter's Title Case lowercases a 20-word small list (a, an, the, of, and so on) except as the first word, matching the common newspaper-and-book dialect; when a publication demands a specific style bible, check its small-word list against this one.

Why does sentence case capitalize letters after abbreviations like e.g. or U.S.?

Because the converter cannot tell a sentence end from an abbreviation: it capitalizes after a period, question mark or exclamation mark followed by whitespace, so e.g. this looks exactly like a fresh sentence. Professional editors handle the same ambiguity with a do-not-break list of abbreviations. The practical workflow is to run sentence case first, then fix the handful of false starts it creates - far faster than capitalizing by hand.

What happens to accented and non-Latin letters in camelCase or snake_case?

They are treated as boundaries, not letters: the identifier conversions split on the characters A-Z and a-z only, so cafe with an accent becomes caf and a diaeresis disappears in the output. UPPERCASE and lowercase do not have this problem - they use Unicode-aware case mapping (German sharp s widens to SS, accented vowels keep their accents). If your text is not English, use the case buttons and reserve camel, snake and kebab for ASCII identifiers.

Related tools