The Punycode Converter handles one domain name of up to 1,000 Unicode code points, not arbitrary large text or a batch of domains.

That limit makes the tool suitable for a long internationalized domain or a multi-label name that fits within the accepted range. It does not encode paragraphs, translate prose, transliterate documents, or turn arbitrary text into a URL. For a collection of domains, convert one complete domain at a time.

Punycode is the reversible ASCII representation used for internationalized domain labels. The Punycode Converter performs raw RFC 3492 Bootstring conversion locally in your browser. The pasted domain is processed in the browser tab rather than sent to a remote conversion API.

punycode converter large text
Punycode Converter for Large Text: Limits and Workflow

What “large text” means for this converter

Here, “large text” means one potentially long domain value rather than a prose document. The complete input may include several labels, but it must be a domain name and no more than 1,000 Unicode code points. A value above 1,000 is rejected, so a genuinely oversized single domain cannot be completed with this tool.

The limit is measured in Unicode code points, not bytes or UTF-16 units. The implementation iterates code points rather than UTF-16 halves, so supplementary characters remain intact instead of being split into surrogate pairs. This distinction matters when a domain contains characters outside the Basic Multilingual Plane.

Full stops divide the input into labels before conversion. Unicode full stops commonly used in CJK text are normalized to an ASCII dot. Empty labels are rejected, and malformed Bootstring input is not silently repaired.

A collection of domains is outside the accepted input format. Do not paste several names together and expect them to be split into a list. Repeat the conversion for each valid domain, keeping every label and its surrounding dot structure unchanged.

Match the conversion mode to the task

Choose the direction according to the form you have and the form the receiving system needs.

Input or goal Mode Expected behavior
Readable Unicode IDN for a DNS or certificate field Unicode-to-ASCII Each label containing non-ASCII code points receives the xn-- prefix.
An ASCII domain containing xn-- labels that you want to inspect ASCII-Punycode-to-Unicode Only labels carrying the xn-- prefix undergo Bootstring decoding.
A multi-label domain within the size limit Either direction Labels are processed separately, and label boundaries are preserved.
A complete application URL Neither directly Extract the hostname first because schemes, ports, paths, queries, and fragments are outside the tool’s scope.
A paragraph, domain list, or other general text Not supported Use one domain per conversion; arbitrary text and multi-domain lists are outside the accepted format.

The xn-- marker operates at the label level, not across the entire domain. Existing ASCII characters are copied first, while non-ASCII values are encoded through variable-length deltas. A label containing non-ASCII code points receives xn-- after encoding; an ordinary ASCII label is lowercased and otherwise left unchanged.

Decode mode is narrower still. It applies Bootstring decoding only to labels carrying xn--, so decoding a domain does not attempt to translate ordinary labels or infer a spoken language.

Convert a long domain in the browser

  1. Prepare exactly one domain name. Remove the scheme, port, path, query string, and fragment. If your source is a full URL, isolate the hostname first. The converter is intentionally narrower than a browser URL parser and does not perform percent decoding.
  2. Check the size of the complete input. It must contain no more than 1,000 Unicode code points. Empty labels, malformed digits, invalid Unicode scalar values, and inputs above the limit are rejected. A single over-limit domain cannot be completed by truncating it because that would change the hostname.
  3. Select the appropriate direction. Choose Unicode-to-ASCII when a DNS or certificate field needs the ASCII form. Choose ASCII-Punycode-to-Unicode when you want to inspect an xn-- domain before using it.
  4. Run the conversion. The converter separates the domain into labels and processes each label according to RFC 3492 Bootstring rules. Malformed encoded sequences are rejected rather than returned as partial results.
  5. Inspect every label. During encoding, a label containing non-ASCII code points receives xn--; an ordinary ASCII label is lowercased and otherwise left unchanged. During decoding, the prefix should be consumed only from appropriately marked labels. Confirm that no scheme or trailing slash was introduced.
  6. Copy the converted domain. The copy action copies only the converted domain, without adding a scheme or trailing slash. Use that exact result in the next application.
  7. Validate the final name. Pass the ASCII result through the target registry or a standards-compliant URL library. Check label-length and registry policies separately, because a syntactically valid conversion can still be too long, reserved, blocked, or unavailable.
  8. Review the organization and characters. Compare each label, writing system, and organization independently. If a registrar rejects the result, follow its IDN policy rather than altering characters blindly.

What a successful conversion proves

A successful result proves that the value could be converted under the converter’s documented raw Punycode convention. For example, bücher.example becomes xn--bcher-kva.example, and the ASCII form can be decoded back to the readable label. The transformation is reversible, but it does not alter the domain’s intended owner or meaning.

Decoded Unicode reveals the spelling represented by an ASCII label. It does not tell you how the name should be pronounced or whether the organization resembles the one you expect. Characters from different writing systems can look nearly identical, so a valid conversion is not proof that a domain is trustworthy.

Likewise, the converter does not resolve DNS, check WHOIS, test registration availability, or contact a registry. Keep these availability and security checks outside the encoding step. A domain can convert successfully and still fail a later registry, DNS, certificate, or application policy.

Why browser and registry results can differ

RFC 3492 defines the Bootstring transformation, but production URL systems often apply Unicode normalization, contextual rules, and UTS #46 mapping before Punycode encoding. This converter exposes the documented raw label conversion and does not promise the same acceptance decisions as every browser or registry. Its output is deterministic for that declared raw convention, not for every possible internationalized-domain policy.

For a complete application URL, let a standards-compliant URL library handle the URL rather than treating the whole URL as domain input. The WHATWG URL Standard provides the relevant browser-oriented URL-processing context. The target registry remains authoritative for its own IDN requirements.

For large-domain workflows, keep three questions separate: whether the labels convert, whether the resulting name satisfies length and registry policies, and whether the organization behind the name is legitimate. Punycode answers only the first question.

Checklist for processing a large set of domains

Use this sequence for each domain in a larger collection:

  • Keep one hostname in the input and remove every non-domain component.
  • Confirm that the complete value is within 1,000 Unicode code points and contains no empty labels.
  • Select the conversion direction that matches your source and destination format.
  • Review every label and confirm that xn-- appears only at valid label boundaries.
  • Copy the exact converted domain without adding a scheme or trailing slash.
  • Validate the final ASCII name with the target registry or URL library.
  • Inspect look-alike characters, writing systems, and the claimed organization independently.
  • If validation fails, follow the authoritative IDN policy instead of changing characters without understanding the effect.

Keep security filters and registry validation separate from this reversible encoding step. That separation makes large batches easier to audit because every conversion has one defined input and output, while acceptance and trust decisions remain with the systems responsible for them.

If you're weighing options, Rail Fence Cipher Decoder on Mac: Exact-Text Steps covers this in detail.

If you're weighing options, Hide a Message in Text: Does the Visible Sentence Change? covers this in detail.