Surftown IDN (ACE/Punycode) encoder and decoder

This standard has now officially replaced the RACE standard previously used for internationalized .com/.net/.org domains.
IDN-encoded 2. level domains always begins with 'xn--', then follows the level 2 segment encoded in punycode.

Domain (raw or IDN'ized):


Coding/Standard References:

Written by Per Gøtterup - Copyright © 2004-2012 by Surftown A/S - Update: 2012-05-18 // PG