{"uid":"cap_D7hcf7OFXpfux-aN5w0Ow","slug":"punycode-domain-converter-6bd25430","name":"Punycode Domain Converter","description":"Convert a domain to punycode (xn--) or back to Unicode label by label per RFC 3492, flagging mixed scripts.","url":"https://url-text-tools.x402tookit.com/punycode?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","description":"A domain name, Unicode or xn-- form, for example münchen.de"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"ascii":{"type":["null","string"]},"input":{"type":["null","string"]},"labels":{"type":["array","null"],"items":{"type":"object","properties":{"ascii":{"type":["null","string"]},"input":{"type":["null","string"]},"unicode":{"type":["null","string"]}}}},"source":{"type":["null","string"]},"reasons":{"type":["array","null"]},"summary":{"type":["null","string"]},"unicode":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"scriptsSeen":{"type":["array","null"],"items":{"type":"string"}},"mixedScriptLabel":{"type":["boolean","null"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R4W5ftcKmVLO7BiaF9u4d","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a domain name between Unicode and Punycode (xn--) representation label by label per RFC 3492, with mixed-script detection.","exampleAgentPrompt":"Can you convert münchen.de to its punycode xn-- form, and tell me if any of its labels mix scripts?","exampleUseCases":[{"title":"Internationalized domain to DNS-safe form","prompt":"I need to register café.com but my DNS provider only accepts ASCII — can you give me the punycode version of café.com so I can use it?"},{"title":"Phishing domain mixed-script check","prompt":"Someone sent me a link to аpple.com — can you convert that domain to punycode and check whether it mixes Cyrillic and Latin characters?"},{"title":"Decode xn-- domain for display","prompt":"I have the domain xn--mnchen-3ya.de in my database and need to show users the readable Unicode version — can you decode it?"}],"resultDescription":"Returns the ASCII punycode encoding, the Unicode form, a label-by-label breakdown (each with its ASCII, Unicode, and original input forms), the scripts seen across labels, a boolean flag for mixed-script labels, a verdict string, a human-readable summary, and a degraded/disclaimer notice if the conversion was only partially successful.","failureModes":["Invalid or malformed domain input returns an error or degraded result","Domain already fully ASCII with no IDN labels may return trivial identity conversion","Extremely long labels exceeding DNS limits may fail or be flagged","Network timeout or service unavailability returns a non-200 response","Missing required 'domain' query parameter causes a validation error"],"whenToPreferThis":"Use this endpoint when you need standards-compliant RFC 3492 punycode conversion with per-label detail and mixed-script detection, especially for IDN security checks (homograph attack detection) or preparing internationalized domains for DNS registration. Prefer it over generic string-encoding tools because it understands DNS label structure and Unicode script categorization.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:20:08.399Z","isFirstParty":false,"canonicalSlug":"punycode-domain-converter-6bd25430"}