URL Parser

Break down any URL into its protocol, host, path, query parameters, and hash. Free online URL parser, no signup required.

Preparing private browser tool…

Your file will stay on this device.

Frequently asked questions

Does it support all URL schemes?
Yes. Any URL the browser’s native URL() constructor accepts - http, https, ftp, mailto, data, file, custom schemes, etc. Relative URLs need a base.
What is the difference between host and hostname?
Hostname is just the domain (example.com). Host includes the port if present (example.com:8080).
How are query parameters parsed?
Using URLSearchParams. Values are automatically URL-decoded. Duplicate keys are kept separately - both ?a=1&a=2 pairs are shown.
What is the origin field?
Protocol + host (+ port) combined: https://example.com:8080. It is what the browser uses to enforce the same-origin security policy.