This Website shows the php-extension libidn2 in action. A url can be transformed into punycode.

For example: stra├če.de --> xn--strae-oqa.de