A Punycode converter on iPhone can run in Safari as a browser-based tool that encodes Unicode domain labels to ASCII or decodes xn-- labels back to Unicode.

The tool covered here processes each label locally in the browser, so it requires no native app installation. This guide covers that web workflow rather than an App Store download. Punycode is a reversible domain-label encoding, not a language translator.

Use Unicode-to-ASCII when a DNS or certificate field needs an ASCII domain. Use ASCII-Punycode-to-Unicode to inspect an xn-- name before visiting it.

punycode converter on iphone
Punycode Converter on iPhone: Browser Workflow

Convert a Domain in Safari on iPhone

  1. Open Safari and load the Punycode Converter. The product is a web page, so this workflow does not depend on an App Store installation.
  2. Tap the input field and paste one domain name only. Examples include bücher.example and xn--bcher-kva.example. Do not include a scheme, path, port, query, or fragment. If your starting point is a full address, extract the domain from the URL first instead of trying to make the complete URL fit the converter.
  3. Select Unicode-to-ASCII for a readable Unicode domain that needs an ASCII form. Select ASCII-Punycode-to-Unicode when you want to inspect a domain containing xn-- labels.
  4. Inspect every label in the result. The xn-- prefix is added or removed only at label boundaries, so check each part of the domain rather than treating the whole address as one encoded string.
  5. Use the copy button to copy the result. It copies only the converted domain, without adding a scheme or trailing slash.
  6. Paste the result into the target registry's validation flow or a standards-compliant URL library. Compare the labels and writing systems carefully, and check for characters that resemble one another.

For example, encoding bücher.example produces xn--bcher-kva.example, while decoding that ASCII form returns bücher.example. A valid conversion does not tell you how to pronounce the decoded spelling, whether the domain is available, or whether it belongs to the organization it resembles.

Because the scope is one domain name rather than an entire web address, it is better to perform the Punycode step separately from URL parsing, DNS checks, and registry validation.

Choose Encode or Decode

The two modes are reversible views of the same domain-label operation, but each serves a different task.

Mode Use it when What the converter does Expected result
Unicode-to-ASCII A DNS or certificate field requires ASCII. Encodes each non-ASCII label and adds xn-- to that label. An ASCII domain with xn-- only where needed.
ASCII-Punycode-to-Unicode You want to inspect an xn-- domain before visiting it. Applies Bootstring decoding only to labels carrying the xn-- prefix. A Unicode domain, with unprefixed labels remaining in ASCII form.

The converter separates domain labels before applying Bootstring. A label containing non-ASCII code points receives the xn-- prefix after encoding, while an ordinary ASCII label is lowercased and otherwise unchanged. Unicode full stops commonly used in CJK text are normalized to an ASCII dot. In decode mode, labels without xn-- are not treated as encoded payloads.

Punycode represents Unicode code points with basic ASCII letters, digits, and hyphens. The Bootstring procedure defined in RFC 3492 encodes non-ASCII values as variable-length deltas and adapts its bias as values are processed. This implementation iterates Unicode code points rather than UTF-16 halves, so supplementary characters remain intact.

Inspect Labels and Check for Look-Alikes

A successful conversion establishes only that the label was encoded or decoded under the documented raw convention. It does not prove that the domain exists, is available, is safe to visit, or is controlled by a particular organization. The converter makes no DNS, WHOIS, or registrar request.

Decoded Unicode exposes the spelling represented by an ASCII label, but it does not establish the meaning, pronunciation, or ownership of that spelling. Characters from different writing systems can look nearly identical, so a decoded domain should be compared character by character with the name you expected.

Verify the organization through a trusted, independent channel. Pay particular attention to visually similar letters, unexpected script changes, and substitutions inside any one label. A domain can be technically valid and still be deceptive.

Encoding also does not settle registry policy. A syntactically encoded label may be too long, reserved, blocked, or unavailable. Check those conditions in the authoritative system that will actually use the final ASCII name.

Input Rules and Rejected Values

The converter accepts a narrowly defined input, so removing characters at random from a full URL is not a reliable way to make it fit.

Input or condition Result
One domain name containing Unicode or ASCII labels Accepted and processed one label at a time.
Scheme, path, port, query, or fragment Not accepted; extract the domain first.
An empty label Rejected.
Malformed digits or an incomplete encoded sequence Rejected as malformed Bootstring input.
An invalid Unicode scalar value Rejected.
More than 1,000 code points Rejected.

The tool is intentionally narrower than a complete browser URL parser. It does not percent-decode a URL, resolve DNS, test registration availability, or contact a registry. Its copy action produces a domain name rather than a complete URL, so add the scheme and path separately only when the destination application requires them.

Even a correctly converted label remains subject to DNS label-length limits and registry policies after the Punycode step. Keep those checks in the registry or URL-handling system responsible for them.

Why Browser Results Can Differ

This page exposes raw RFC 3492 label conversion. Production URL systems often apply Unicode normalization, contextual rules, and UTS #46 mapping before RFC 3492 encoding. The WHATWG URL Standard describes browser URL processing, so Safari, another browser, or a registry can present or accept a different spelling.

A difference does not automatically mean that the Punycode result is incorrect. It can mean that another system applied additional internationalized-domain rules before encoding. Use a standards-compliant URL library for a full application URL and compare its host with the raw converter output when diagnosing the difference.

If a registrar rejects a converted domain, follow that registry's IDN policy rather than altering characters blindly. Keep security filtering and registry validation separate from this reversible encoding step: Punycode can show the represented spelling, but it cannot establish that the destination is legitimate.

For a deeper look, see Punycode Converter on Mac: Local Browser Workflow.