Writing & Code Utility

Case Converter

Instantly change the capitalization of any text block. Clean, client-side, and 100% private.

0 characters • 0 words • 0 lines
Sentence case
0 characters • 0 words
Advertisement
Chicago Manual of Style • Developer Clean Code Standards

Grammatical Capitalization Rules & Programming Case Conventions

Text case formatting bridges editorial communication and software engineering. From preparing academic journal titles to refactoring variable identifiers in JavaScript, Python, or SQL, standardized case transformations maintain semantic consistency, improve document readability, and eliminate syntax errors.

Title Case: Capitalizes first/last words and all principal words. Retains lowercase for minor grammatical articles (a, an, the), coordinating conjunctions (and, but, for, nor, or), and short prepositions (in, to, of, on, at, by).
Sentence case: Capitalizes only the opening character of each sentence following terminal punctuation (., !, ?).
Programming Cases: camelCase (standard JS/Java variables) • snake_case (Python/SQL databases) • kebab-case (CSS classes, REST URL slugs) • UPPERCASE (SQL keywords, environment constants).
Realistic Worked Transformation Examples
Source Raw Text: "mastering electrical wire sizing and voltage drop for solar installations"
• Title Case (Editorial): Mastering Electrical Wire Sizing and Voltage Drop for Solar Installations
• Sentence case (Body Copy): Mastering electrical wire sizing and voltage drop for solar installations
• camelCase (JavaScript): masteringElectricalWireSizingAndVoltageDropForSolarInstallations
• snake_case (Python): mastering_electrical_wire_sizing_and_voltage_drop_for_solar_installations
• kebab-case (URL Slug): mastering-electrical-wire-sizing-and-voltage-drop-for-solar-installations
Common Pitfalls to Avoid
  • Accidental Acronym Flattening: Converting full blocks to lowercase or sentence case will flatten industry acronyms (e.g., IEEE, NEC, NASA, SQL, API) unless inspected before publication.
  • Inconsistent Headline Capitalization: Mixing Associated Press (AP) style with Chicago Manual of Style on the same publication causes editorial friction. ConverterMaster applies balanced universal headline rules.
  • Client Privacy Guarantee: Unlike server-side text processors, ConverterMaster transforms your text 100% in your local browser memory using JavaScript regular expressions. Zero text is uploaded or stored.
Conventions: Chicago Manual of Style 17th Ed. • PEP 8 • ECMAScript

How to use the Case Converter

Type or paste your text into the box, choose one of the buttons, and the converted text appears at once. Press Copy to put it on your clipboard, or Clear to start again. Everything is done in your browser, so your text stays on your device, and there is nothing to install or sign up for.

What each case does and when to use it

  • UPPERCASE: turns every letter into a capital. Good for short labels, warnings, and SQL keywords.
  • lowercase: makes every letter small. Handy for email addresses, tags, and cleaning up text typed with Caps Lock on.
  • Title Case: capitalizes the main words of a heading. Use it for article titles, book names, and slide headings.
  • Sentence case: capitalizes the start of each sentence. Best for body text, captions, and fixing text written in all capitals.
  • camelCase: words joined together with a capital at each new word, such as orderTotalPrice. Standard for JavaScript and Java variables.
  • snake_case: lowercase words joined with underscores, such as order_total_price. Common in Python, Ruby, and database column names.
  • kebab-case: lowercase words joined with hyphens, such as order-total-price. Used in CSS class names and web page URLs.
  • tOGGLE cASE: swaps capitals and small letters. Useful to repair text typed with Caps Lock reversed.

Tips for clean results

  • Convert first, then proofread names and acronyms, because no tool can know that “iPhone” or “NASA” should keep its own capitalization.
  • For a web address slug, use kebab-case and remove punctuation first, so the link stays short and readable.
  • Use Sentence case for the long text and Title Case only for headings, since mixing them makes a page look uneven.
  • If you are renaming many code variables, convert one list per line so each name is changed on its own line.

Frequently asked questions

How do I change text to uppercase or lowercase?

Paste or type your text in the box, then press UPPERCASE or lowercase. The result appears straight away and you can copy it with one click.

What is the difference between Title Case and Sentence case?

Title Case capitalizes the main words of a heading and keeps small words such as a, an, the, and, of and in lowercase unless they start or end the title. Sentence case capitalizes only the first word of each sentence and proper nouns you type that way already.

What is camelCase and when should I use it?

camelCase joins words with no spaces and capitalizes every word after the first, for example userAccountName. It is the usual style for variables and functions in JavaScript, Java and many other languages.

What is snake_case and what is kebab-case?

snake_case joins lowercase words with underscores (user_account_name) and is common in Python, Ruby and SQL column names. kebab-case joins lowercase words with hyphens (user-account-name) and is common for CSS classes and URL slugs.

Does the converter keep my acronyms?

Upper and lower case changes apply to the whole text, so an acronym such as NASA or API will change with it. After using Sentence case or Title Case, check acronyms and brand names and fix them by hand.

Is my text uploaded or saved?

No. The conversion runs in your browser, so your text is not sent to any server.

Can I convert a large amount of text?

Yes. You can paste long documents, articles or lists. Line breaks are kept, so each line is converted in place.

What is toggle case?

Toggle case swaps every letter to its opposite: capitals become small letters and small letters become capitals. It is useful for fixing text that was typed with Caps Lock on by mistake.

Advertisement