Case to TitleCase
Free and instant online tool to convert normal text, strings, or variables into TitleCase.
Free Online TitleCase Converter
Our string formatting tool instantly transforms your normal text, sentences, or code variables into TitleCase. Simply paste your content, and the tool will automatically handle spaces and capitalization.
1. Paste Case text
Paste or type your Case content into the input area.
2. Conversion Process
Our tool automatically converts your text to TitleCase format with the best possible settings.
3. Copy TitleCase
The conversion is complete. You can now copy the result directly to your clipboard.
Frequently Asked Questions
Conversion Specs
| Input | Case |
| Output | TitleCase |
| Safety | HTTPS / Auto-delete |
| Price | Free |
Using code
titleCase
Converts the input string to title case by first lowercasing the entire string, then capitalizing the first letter of each word. Word boundaries are determined by the `\b` regex anchor, so hyphenated words and other non-alphabetic separators only trigger capitalization at the start of each word boundary segment.
Parameters
| Name | Type | Description |
|---|---|---|
| text | string | The input string. |
Returns
stringThe title cased string.