jump totool workspace
ToolHub

URL parsing

Unpack URL structure and query parameters.

Runs the entire process locally
views
—
favorites
—
URL username and password are removed from results and copied data. Query parameters and fragments are kept.
Agreementhttps://
Hostexample.com:8080
path/path
Query?q=1
fragment#hash

Parse results

FieldvalueOperation
hrefhttps://example.com:8080/path?q=1#hash
protocolhttps
hostexample.com:8080
hostnameexample.com
port8080
pathname/path
search?q=1
hash#hash
originhttps://example.com:8080
Parameter q1

Tool description and FAQ

Tool Guide

01Parse according to browser URL standards

Using native URLs and URLSearchParams, enter the full URL; defaults to https when protocol is omitted. Showing protocols, hosts, paths, queries and fragments, parameters maintain duplicate keys and original order.

02Copy fields with JSON

Each field can be copied independently, or the complete parsed JSON can be copied. Query parameters will be decoded according to URL rules, + represents a space in the query; the path will not be decoded repeatedly as a query.

FAQ

Q1Why is the port empty?

When using the protocol's default port, the URL standard may omit it. For example, 443 for https is not left alone.

Q2Why are the parameters decoded?

URLSearchParams returns decoded parameter values, with the original encoded query still viewable in the search field.

Q3Will content be uploaded or saved automatically?

Input, results and files are only processed locally and are not uploaded or automatically saved. Copying and downloading are done on your own initiative.