URL Parser

Paste a URL and see every part of it broken out: scheme, host (split into subdomain / domain / TLD, with IPv4 / IPv6 / IDN detection), port, path segments, query parameters, and fragment. Tweak any field and the rebuilt URL updates live. Pure client-side, no upload, no tracking.

Try:
How URL parsing works here
  • The parser follows RFC 3986: scheme, then //, then userinfo (optional user:pass@), host, :port, path, query, fragment.
  • Hosts are categorised: IPv4 (e.g. 192.0.2.1), IPv6 bracketed (e.g. [2001:db8::1]), or a DNS name. DNS names that contain a xn-- label are flagged as IDN (Internationalised Domain Name in punycode form).
  • Hosts in private / loopback ranges (RFC 1918 IPv4, ::1, link-local fe80::/10, ULA fc00::/7) are flagged in the breakdown.
  • Ports are mapped to their common service name when known — 22 → SSH, 5432 → PostgreSQL, 27017 → MongoDB, and so on. A port that doesn't match the scheme's default is flagged.
  • Path segments and query keys are shown decoded (UTF-8). The original encoded form is preserved for round-tripping.
  • "Looks phishy" fires when (a) userinfo is present, (b) a query parameter looks like password= / passwd= / token=, or (c) the fragment looks like a login page anchor. It's a heuristic, not a verdict.
  • "Canonical" rebuild lowercases scheme + host, strips the default port (e.g. :443 on https://), and sorts the query alphabetically.
  • Nothing is uploaded. The whole thing runs in your browser.