punycode

A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.

punycodeunicodeidnurldomain

http://mths.be/punycode