Just wrote this tonight: an improved converter for hanyu pinyin.
This will change hp with tone numbers (e.g., Tai2bei3) to show it with tone marks instead.
I need to add a few comments on Unicode use and Web pages, along with some introductory remarks, but it’s basically ready to go.