Encoders & Decoders

Convert internationalised domain names to and from Punycode (RFC 3492): bücher.example ⇄ xn--bcher-kva.example.

Punycode & IDN Converter. Operations: to-ascii — Encode each Unicode label as an xn-- label (one domain, email or URL per line; labels are NFC-normalised and lowercased). to-unicode — Decode each xn-- label back to Unicode (one domain, email or URL per line). encode — Encode one string with the bare RFC 3492 algorithm (no xn-- prefix, case kept). decode — Decode one bare Punycode string (no xn-- prefix) with the RFC 3492 algorithm.

post/api/v1/punycode

Request

  • Base URL: https://programmes.net
  • URL: https://programmes.net/api/v1/punycode
  • Auth: none declared

Request body

OR
OR
OR

Response

The operation ran.

okunknown required
tool'punycode' required
operation'to-ascii' | 'to-unicode' | 'encode' | 'decode' required
resultunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.