If you want to make romaji, I built Pingtype:

https://pingtype.github.io/japanese.html

It also supports line breaking, so that words don't get cut in half when wrapping text.