AP, Chicago, and the tool.
Input: 'the art of working from home'. Chicago output: 'The Art of Working from Home', with of and from lowercase as prepositions and The capitalized only because it leads. AP output: 'The Art of Working From Home', identical except From, promoted for having four letters.
The Title Case Converter has a Style guide menu with AP, APA, Chicago, MLA, Bluebook, AMA, the New York Times and Wikipedia, so you don't have to guess which list it uses, and it highlights every word it changed. With AP selected, 'the art of working from home' comes out as 'The Art of Working From Home'. Switch to Chicago or MLA and from drops to lowercase. 'a room with a view' behaves the same way: 'A Room With a View' in AP and APA, 'A Room with a View' in Chicago and MLA.
A few rules apply in every style. The first and last words are always capitalized, and so is the word after a colon. Acronyms like NASA and brand names like iPhone are kept as typed, while a headline typed entirely in capitals is treated as ordinary text. Paste several headlines, one per line, and each line is converted as its own title.