TitleCase for chapter and section titles

I am pretty inconsistent about title case in my projects, and I always wind up going back through section headings to fix them. I would love a right click context action that modified the case of section titles to be title case or first letter capitalized, or lowercase. This could also be buried in the edit menu or it could be applied only to multiple selected sections since there are lots of things that people do by right clicking on a single section.

There is a nifty little utility called PopClip, which is what I use for this sort of thing – https://pilotmoon.com/popclip/. It is presently half price in their New Year sale.