Parse any URL into its parts and build query strings visually — all in your browser.

Rebuilt URL

URL components
Scheme
Username
Password
Hostname
Port
Path
Fragment
Query parameters
Key Value

Encode / decode helper

URL-encode or decode any text with encodeURIComponent / decodeURIComponent.

Result

Everything runs in your browser. URLs are never sent to a server.


About URL Parser & Query Builder

The URL Parser splits any web address into its components: scheme, username, password, hostname, port, path and fragment, each shown in its own labeled field. It is the fastest way to see exactly what a long, encoded link actually contains — or to confirm which part of a URL your code should be reading.

Query parameters get special treatment: every key–value pair appears in an editable table where you can change values, add parameters or remove them, and the rebuilt URL updates live above. Copy the whole URL, just the query string or just the host with dedicated buttons.

A built-in encode/decode helper applies encodeURIComponent and decodeURIComponent to any text, handy for crafting safe parameter values or deciphering percent-encoded strings. Everything runs in your browser; URLs are never sent to a server.

How to use URL Parser & Query Builder

  1. Paste the URL into the input field, or click “Load example” to see a fully featured one.
  2. Read the components table: scheme, credentials, hostname, port, path and fragment.
  3. Edit, add or remove query parameters in the parameters table.
  4. Watch the rebuilt URL update live, then copy it — or just the query string or host.
  5. Use the encode/decode helper to percent-encode or decode any text snippet.

Frequently asked questions

The path identifies the resource on the server and is sent with every request. The fragment — everything after # — never leaves the browser; it targets a position or state within the loaded page.

The parser needs a scheme to interpret the rest correctly. Prefix the address with https:// (or another scheme) and it will parse — bare strings like example.com/page are ambiguous without one.

Yes. Start with a base URL, then add key–value pairs in the parameters table. Each pair is encoded correctly and appended to the rebuilt URL, which you can copy in full or as the query string alone.

Whenever you insert user data into a parameter value. It escapes characters that would otherwise break the URL structure — &, =, ?, spaces and non-ASCII text — so the value survives the round trip intact. The helper applies it for you.

Yes. It is free, and parsing happens entirely in your browser — the URLs you inspect are never transmitted, logged or stored anywhere.


Popular searches
url parser online query string builder url query parameter editor parse url components online url encode decode tool add query parameters to url percent encoding tool edit url parts online
Need help?
Found an issue with this tool? Let our team know.
Report an issue

Add this free tool to your own website — copy and paste the code below.