John Gruber has released a clever Perl script that transforms selected text into title case (without simply capitalizing the first letter of each word as many so-called title case functions do).

The script uses a list of “small words” which are not capitalized based on guidelines from the New York Times Manual of Style.

It’s a Perl script, so save it as a text file and you can use it anywhere where Perl works. I use it as a system-wide service (with the shortcut Command-Shift-T) via Jesper’s excellent (and free) ThisService utility.

Thanks for a very useful addition to the writer’s toolbox!