URL Parser

Parse and analyze URL components

FreeNo sign-upDeveloper Tools →

URL Parser splits a web address into its parts: protocol, host, hostname, port, origin, pathname, query string and fragment. Query parameters are listed separately as name and value pairs, decoded so you can read them.

Each part has its own copy button. Parsing uses the same URL implementation as the browser, so what you see is exactly how a browser would interpret the address. The URL must include its protocol, such as https://, to be parsed.

Advertisement

How to use URL Parser

1

Paste a URL

Include the protocol.

2

Read the components

Each part is shown on its own row.

3

Copy a part

Use the copy button beside it.

Use Cases

  • Reading tracking parameters on a long link
  • Debugging a redirect URL
  • Extracting the origin for a CORS setting

Frequently Asked Questions