Skip to content
PBPasteBench

URL Parser

Break a URL into its parts and read the query string as a table, with repeated parameters kept separate and escaping decoded.

Scheme

https

Username

user

Password

••

Host

shop.example.co.uk

Port

8443

Path

/catalogue/shoes

Query

colour=blue%20green&size=42&size=43

Fragment

reviews

Origin

https://shop.example.co.uk:8443

Path segments

  1. catalogue/
  2. shoes

Query parameters

2
KeyValue (decoded)
colour
blue green
size
42
43
repeated 2 times
Copies a link that reopens this tool with your input.

Common questions

What happens to repeated query parameters?+

They are kept separately. ?size=42&size=43 is legal and meaningful — many frameworks read it as an array — so collapsing it to one value would hide real data.

Why does my URL fail to parse without https://?+

A URL needs a scheme to be a URL rather than a path. example.com/page is ambiguous; https://example.com/page is not.

More tools