URL Parser: Split a URL into Parts

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

About URL Parser: Split a URL into Parts

Split a URL into its parts: protocol, origin, hostname, port (with the default for the scheme), path and path segments, query string, fragment, and a list of every query parameter with its decoded value. Repeated parameters are listed separately.

Use it to debug redirects, read long tracking links, check API URLs or explain a URL's structure.

How to use it

  1. Paste a full URL including https://.
  2. Read each part and the decoded parameters.
  3. Copy what you need.

Questions

Is my data uploaded?

No. Everything runs in your browser; nothing you paste or open is sent to a server.

Why does it say the URL is invalid?

The parser needs the scheme. Add https:// to the start of addresses like example.com/page.

Are encoded characters decoded?

Yes. Paths, parameters and the fragment are shown decoded, so %20 appears as a space.

More Developer & Code tools

Home · All Tools · Blog