Title Case Converter

ASCIIwordinitialtitlecase,punctuationandnonASCIIunchanged,not editorialheadlineexceptions. Explicitboundedofflineconvention,not authoritative external identity,eligibility,clinical or safe-use determination.

Description

Simple title casing capitalizes each ASCII letter run and lowercases its remaining letters.

Simple title casing capitalizes each ASCII letter run and lowercases its remaining letters.1

Editorial headline rules, language-specific casing and proper-name exceptions need a richer convention.

When to use Title Case Converter

Use this tool to apply the stated title case converter operation with an explicit input and unit basis.

How to use Title Case Converter and how it works

  1. Establish the text or game convention described above.
  2. Enter actualText and run the tool.
  3. Read result.titleCasedText using the output meanings below.
  4. If input is rejected, correct the stated type, range, ordering or alignment issue and rerun; review successful results under the declared convention.
Input fieldMeaningValue typeRequirement
actualTextText, on the basis specified in the algorithm.stringrequired; further conditions in the algorithm

Replace every ASCII letter run with its uppercase first letter and lowercase remainder. Preserve punctuation, spacing and non-ASCII characters; punctuation starts a new run.

word → uppercase(first) + lowercase(rest)

Apply the declared units, ordering and branch conditions.

Output fieldMeaningValue type
resultObject containing the declared output fields.object
result.titleCasedTextASCII word-run capitalization result.string
json
{
  "input": {
    "actualText": "hello WORLD"
  },
  "output": {
    "result": {
      "titleCasedText": "Hello World"
    }
  }
}

Limitations and assumptions

The output applies the declared operation to the values you supply. Establish the measurement basis, units, coefficients and any caller-selected rules before interpreting it. The tool does not independently collect or verify observations or decide whether a model or reference applies.

Supply explicit required fields with the documented types and dense aligned arrays. Unknown fields, wrong types and nonfinite numbers are rejected. Branch-specific constraints are explained above. A successful false boolean, negative signed difference, empty slice or unresolved tie is distinct from an input error. Very large inputs or outputs may be rejected by shared resource limits.

Alternative or Complementary methods

For a related operation, use Text Truncate Tool. Unicode code points and visible characters are different counting units.

For a related operation, use Nickname Shortener Fun. A short nickname can be formed as a prefix of a supplied name.

References

  1. Title Case Converter — tool.io

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies