Raw Punycode Encoder & Decoder
Encode bare text as raw punycode or decode raw punycode lines back to Unicode without hostname parsing, IDN normalization, or xn-- prefixes.
Quick samples
Raw punycode batch
Paste one raw value per line. This utility works on bare RFC 3492 payloads only, so do not include xn-- prefixes or full hostnames. Use Punycode Converter for hostname and IDN label work.
Per-line results
Review each input line, its converted output, and any line-level decode errors.
Run a batch to inspect the line-by-line output and error states.
Documentation
Raw Punycode Encoder & Decoder
About this tool
Raw Punycode Encode / Decode converts bare text to raw punycode and decodes raw punycode back to Unicode. It is for RFC 3492 payloads, not full hostnames.
Modes and inputs
Encode mode accepts raw text, one value per line.
Decode mode accepts bare punycode only. Do not include xn--, dots, full hostnames, URLs, or email addresses.
Blank lines are preserved and counted as skipped lines.
Gotchas
Invalid decode lines stay in the batch output so line positions remain stable. Use Punycode Converter when you are working with real hostname labels or domains.
Key use cases
- -Debug raw punycode values used in tests or libraries.
- -Convert multiple lines while keeping line order.
- -Work with punycode before an
xn--hostname prefix is added.