Title Case that follows a style guide
Capitalizing every word is not title case. AP and most publishers keep short articles, conjunctions and prepositions lowercase unless they start or end the title: "What Is the Best Way to Launch on Product Hunt", not "What Is The Best Way To Launch On Product Hunt".
This converter lowercases a, an, the, and, but, or, nor, for, so, yet, as, at, by, in, of, off, on, out, per, to, up and via in the middle of a title. It always capitalizes the first and last word and the word after a colon. Brand names with inner capitals such as iPhone or GitHub, and acronyms like NASA and API, keep their casing unless the whole input is in capitals.
Sentence case for interfaces
Most product teams now write buttons, menus and headings in sentence case: "Create new project", not "Create New Project". It is easier to read and avoids arguments about which words to capitalize. Sentence case here capitalizes the first word of each sentence and the pronoun "I", and leaves acronyms alone.
Code cases
- camelCase: JavaScript and Java variables, JSON keys.
- PascalCase: classes, React components, TypeScript types.
- snake_case: Python, Ruby and database columns.
- kebab-case: URLs, CSS classes and file names.
- CONSTANT_CASE: environment variables and constants.
Code cases split on spaces, punctuation and existing capitals, so "parseHTTPResponse" becomes parsehttpresponse. Each line converts separately, so you can paste a list of names. For URL slugs with accents and stop words removed, use the slug generator.