Punycode Converter
Convert internationalized hostnames between Unicode and ASCII. Inspect each label, see normalization changes, or work with raw RFC 3492 strings.
Runs locally · No DNS requests · Up to 100 entries
Ready. Enter a hostname or load an example.
Results
Conversion does not establish ownership, registration, reachability, or safety. Similar-looking characters can occur within a single script. Script observations below are limited hints, never a phishing verdict.
Errors are excluded from this list; CSV and JSON include every entry.
Choose the right layer
Browser hostname mode uses this browser’s URL implementation for nontransitional UTS #46 compatibility processing. It may lowercase, apply NFC, map fullwidth characters and alternate dots, or remove ignored characters. For example, FOO.com becomes foo.com; faß.de normally becomes xn--fa-hia.de. The label inspector shows the before and after.
This tool additionally checks ASCII letters/digits/hyphens, leading or trailing hyphens, reserved third/fourth-position hyphens, canonical nonempty A-labels, and the 63-byte label / 255-byte DNS wire limits. Some hostnames accepted by a browser are deliberately rejected here. A final root dot is preserved and counted once in the wire length.
Raw mode encodes or decodes each entire line as one RFC 3492 string. It does not split at dots, add or remove xn--, lowercase, or normalize. bücher becomes bcher-kva; plain ASCII abc becomes abc-. Spaces and punctuation are literal data. Raw output is not an A-label or a domain-validity result.
Validation, Unicode, and inspection limits
- UTS #46 differs from strict IDNA2008 and from older IDNA2003 libraries. Browsers and operating systems ship different Unicode data versions. This tool does not bundle Unicode mapping, contextual, or confusable databases, and cannot pin their versions.
- Browser mode relies on the runtime for Unicode disallowed-character, bidi, and joining-context processing. A-labels are decoded and checked through the Unicode path, with normalization and re-encoding checks, rather than trusting ASCII URL acceptance alone. Success means these tool checks passed, not complete IDNA2008 compliance.
- Script hints recognize a limited named set through Unicode property escapes. Common and inherited characters are not counted as separate scripts. Right-to-left and invisible-character hints are range checks; they are not a bidi validator or a complete confusable detector. Always inspect the code points and verify a domain through a trusted source.
- No hostname is fetched or opened. No conversion input is saved by this tool. Unicode output is isolated for display; controls and invisible format characters are shown as
\u{…}in inspection text. Copy and exports retain the actual output characters. - Limits: 100 nonempty lines, 32,768 UTF-16 units total, 1,024 units per line; raw strings are limited to 256 Unicode scalars. Empty lines are skipped. Browser mode trims outer whitespace and reports that change. Raw mode preserves spaces.
- CSV includes errors and prefixes potentially active spreadsheet formulas with an apostrophe. JSON preserves exact values and includes label details, code points, and the processing model.
References: RFC 3492 · RFC 5890 · Unicode UTS #46 · WHATWG URL