URL Parser

Paste an absolute URL to inspect its parts, list query parameters, and copy a pretty JSON object of the query string.

Result

Parsed parts

Paste a full URL to parse.

How to parse a URL

  1. Paste an absolute URL including the scheme (https://…).
  2. Click Parse to split protocol, host, path, and query.
  3. Review protocol, host, port, path, query table, and hash.
  4. Copy Query → JSON when you need the query string as an object.

FAQ

The parser uses the browser URL API, which requires an absolute URL with a scheme. Relative paths without a protocol are rejected with a clear suggestion.
The parameter table keeps every pair. Query → JSON uses an array when the same key appears more than once.
No. Parsing runs entirely in your browser.
Yes. http://localhost:3000/path?foo=1 is valid. Host, port, pathname, search, and hash are all split into separate fields.
Use the parameter table for a single key, or copy Query → JSON and read the property you need. Duplicate keys appear as arrays in the JSON view.

Related tools