--- title: "encode punycode()" slug: "basic-punycode-encoder" updated: 2025-09-17T20:19:26Z published: 2025-09-22T09:16:10Z canonical: "docs.lobstersoftware.com/basic-punycode-encoder" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # encode punycode() This function generates a Punycode value out of parameter value **a**. ## Parameters | Parameter | Description | | --- | --- | | a | The value to be encoded. | ## Example | Parameter a | Result | | --- | --- | | bügeleisen.de | xn--bgeleisen-q9a.de |