encode($decoded); } catch (Exception $e) { /* just swallow */ } } if (isset($_REQUEST['decode'])) { $encoded = isset($_REQUEST['encoded'])? $_REQUEST['encoded'] : ''; try { $decoded = $idn->decode($encoded); } catch (Exception $e) { /* just swallow */ } } if (!isset($encoded)) { $encoded = ''; } if (!isset($decoded)) { $decoded = ''; } ?> Punycode Converter
IDNA Converter
See RFC3490, RFC3491, RFC3492 and RFC3454

This converter allows you to transfer domain names between the encoded (Punycode) notation and the decoded (UTF-8) notation.
Just enter the domain name in the respective field and click on the button right beside it to have it converted. Please be aware, that you might even enter complete domain names (like jürgen-müller.de), but without the protocol (DO NOT enter http://müller.de) or an email address.
Since the underlying library is still buggy, we cannot guarantee its usefulness and correctness. You should always doublecheck the results given here by converting them back to the original form.
Any productive use is discouraged and prone to fail.

Make sure, that your browser is capable of the UTF-8 character encoding.

Original Punycode