User Rating 0.0 β˜…β˜…β˜…β˜…β˜…
Total Usage 0 times
0 characters 0 words
Is this tool helpful?

Your feedback helps us improve.

β˜… β˜… β˜… β˜… β˜…

About

Incorrect capitalization degrades readability, breaks code conventions, and signals unprofessionalism in published content. Title Case alone has multiple competing standards (AP, APA, Chicago) that disagree on whether words like "with" or "between" should be lowercased. This tool applies rule-based capitalization across 10 distinct modes, including developer-oriented transforms like camelCase, PascalCase, snake_case, and kebab-case. The Title Case algorithm lowercases English minor words (articles, short prepositions, coordinating conjunctions) unless they appear at the start of the string, following a simplified AP Stylebook heuristic.

Limitations: the tool operates on Unicode Basic Latin and common extended characters. It does not perform natural-language parsing, so proper nouns inside sentences are not auto-detected in Sentence Case mode. For programmatic identifiers, non-alphanumeric characters are stripped during conversion to camelCase and PascalCase. Pro tip: paste your headline, cycle through Title Case and Sentence Case, then compare which reads better for your audience before committing.

capitalize words title case converter text capitalization string case converter uppercase lowercase camelCase converter text formatting tool

Formulas

Each mode applies a deterministic character-level transformation. The core operation for basic capitalization is a character code shift:

Cupper = fromCharCode(charCodeAt(c) βˆ’ 32) if 97 ≀ charCodeAt(c) ≀ 122

Where c is the input character. The offset 32 is the distance between lowercase and uppercase ASCII Latin letters (97 for "a", 65 for 'A'). For Smart Title Case, a set M of minor words is defined:

M = {a, an, the, and, but, or, nor, for, in, on, at, to, by, of, up, as, is, it, so, if, vs}

A word wi is lowercased when wi ∈ M ∧ i β‰  0. For developer cases, words are first extracted by splitting on non-alphanumeric boundaries, then joined with the target delimiter (_ for snake, - for kebab, empty string for camel/Pascal).

Reference Data

ModeInput ExampleOutput ExampleUse Case
Title Casethe quick brown foxThe Quick Brown FoxHeadlines, Book Titles
Sentence casehello world. goodbye world.Hello world. Goodbye world.Body text, Paragraphs
UPPER CASEhello worldHELLO WORLDAcronyms, Emphasis
lower caseHello Worldhello worldNormalization, Search keys
camelCaseget user namegetUserNameJavaScript variables
PascalCaseget user nameGetUserNameClass names, C# methods
snake_caseGet User Nameget_user_namePython, Ruby, SQL columns
kebab-caseGet User Nameget-user-nameCSS classes, URL slugs
tOGGLE cASEHello WorldhELLO wORLDStylistic, Memes
aLtErNaTiNghello worldhElLo WoRlDSarcasm text, Mocking
CONSTANT_CASEmax retry countMAX_RETRY_COUNTConstants in code
dot.caseGet User Nameget.user.nameObject paths, Config keys
Capitalize Firsthello worldHello worldForm fields, Labels
Smart Title Casewar of the worldsWar of the WorldsAP/Chicago-style titles

Frequently Asked Questions

Basic Title Case capitalizes the first letter of every word indiscriminately. Smart Title Case lowercases minor English words - articles (a, an, the), short prepositions (in, on, at, to, by, of), and coordinating conjunctions (and, but, or, nor, for) - unless they appear as the first word. This follows a simplified AP Stylebook convention. Words longer than 3 characters are always capitalized.
The tool uses JavaScript's native toUpperCase() and toLowerCase() methods, which support Unicode beyond Basic Latin. Characters like Γ±, ΓΌ, ΓΈ, and Γ© are correctly transformed. However, developer modes (camelCase, snake_case, etc.) strip non-alphanumeric characters during word boundary detection, which may remove diacritics in identifier output.
The algorithm splits input on any sequence of non-alphanumeric characters (spaces, hyphens, underscores, dots, etc.) using a regex pattern. Each resulting token is lowercased, then the first character is uppercased (for PascalCase, all tokens; for camelCase, all except the first). Empty tokens from consecutive delimiters are discarded.
No. Sentence Case operates syntactically, not semantically. It lowercases all characters, then capitalizes the first letter after each sentence terminator (., !, ?) followed by whitespace, plus the very first character. Proper nouns like country names or personal names will be lowercased unless you manually correct them after conversion.
Yes. The tool preserves all whitespace, including line breaks and multiple spaces. Sentence Case recognizes terminators across lines. Developer modes (camelCase, snake_case) treat line breaks as word boundaries, so multi-line input produces a single concatenated identifier - paste one phrase per conversion for best results.
The tool processes text in-browser with no server round-trip. Practical limits depend on your device's memory. Strings up to 500,000 characters convert in under 100 ms on modern hardware. LocalStorage persistence is capped at approximately 5 MB per origin, roughly 2.5 million UTF-16 characters.