URL Parser
Parse URLs into editable component fields (protocol, auth, host, port, path, query, hash). Query table with add / remove / sort / duplicate detection, path segment chips with drag reorder, hostname breakdown (subdomain / SLD / TLD / IP / Punycode), data / mailto / magnet scheme decoders, plus Diff mode and Build mode.
URL
Paste any URL — https, ftp, mailto, magnet, data, file… Live parsing shows you every component below.
Components
Every field is editable — changes rebuild the URL above live. Origin and host are derived.
——Query parameters
Editable table. Drag to reorder. Same key appearing twice is valid — duplicates are flagged.
No query parameters. Add one to get started.
Path segments
Each chip is a segment of the pathname. Drag to reorder, click ✕ to remove.
No path segments (URL points at the root).
Hostname breakdown
Subdomain, domain, and TLD parsed against a small public-suffix shortlist (co.uk, com.tr, …).
Subdomain
—
SLD
—
TLD
—
Apex (eTLD+1)
—
Encoded / Decoded
Side-by-side view of the percent-decoded and canonically-encoded URL.
Decoded
https://user:p@[email protected]:8443/path/to/page?lang=en&tags=ux&tags=tools&ref=hn#section-2Encoded (canonical)
https://user:p%[email protected]:8443/path/to/page?lang=en&tags=ux&tags=tools&ref=hn#section-2Details
Quick verdicts and scheme-specific decoders.
HTTPS
Has credentials
Localhost
IP address
data: URL
mailto:
magnet: