Live demo page is here.
The mapping table from Kanji to roman is based on the dictionary of SKK which is a Japanese input method on Emacs. It was designed by Dr. Masahiko Sato and created in 1987. SKK is an abbreviation of 'Simple Kana to Kanji conversion program'.
Request URL: http://www.kawa.net/works/ajax/romanize/romanize.cgi (POST method)
MODE is required; mode=japanese or mode=kana.
CHARSET is optional; and default value is ie=UTF-8.
QUERY is URL encoded Japanese phrases.
The response from server is a POX, Plain Old XML, format.
<?xml version="1.0" encoding="UTF-8" ?> <ul> <li> <span title="ni">に</span> <span title="ho">ほ</span> <span title="n">ん</span> </li> </ul>