Writing content is an art. We have all heard about the Content is King! but it’s way too easy to the loose sight of better readability. Turn your content’s titles and headings into the Title Case with TitleCaseIt.


Convert any text to title case.

Use the free web tool at TitleCaseIt.AhmadAwais.com
npm install @ahmadawais/titlecaseit
const titleCaseIt = require('@ahmadawais/titlecaseit');
titleCaseIt('the quick brown fox');
//=> 'The Quick Brown Fox'
titleCaseIt('a tale of two cities');
//=> 'A Tale of Two Cities'
import titleCaseIt from '@ahmadawais/titlecaseit';
titleCaseIt('the quick brown fox');
//=> 'The Quick Brown Fox'
Words like a, an, the, and, but, or, for, nor, on, at, to, by, in, of, per, vs, via, en, as, if are kept lowercase unless they are the first or last word. Words with internal capitals (like iPhone) or dots (like U.S.A.) are left unchanged.
Read the CHANGELOG.md for details.
GPL-2.0 (C) Ahmad Awais