URL Parser

Break a URL into protocol, host, port, path, query parameters and hash.

About this tool

Uses the browser URL parser, so results match what fetch() and links see. Query values are percent-decoded.

Related: JSON Formatter & Validator · Base64 Encode & Decode · URL Encoder & Decoder · SHA-256 / SHA-1 Hash Generator · Unix Timestamp Converter

Frequently asked questions

What are the parts of a URL?

Protocol (scheme), host, optional port, path, query string and hash fragment.

How are query parameters split?

Pairs are separated by & and keys from values by =; values are percent-decoded for display.

Is my URL sent anywhere?

No. Parsing runs in your browser.