URL Parser

Parse and Edit Any URL

Break a URL into its components, edit query parameters live, and rebuild the URL — all in your browser.

URL Components

Protocol

https:

Username

user

Password

pass

Hostname

example.com

Port

8080

Pathname

/search

Hash

#results

Origin

https://example.com:8080

Query Parameters

Encoded: hello%20world

Encoded: js

Encoded: web

Share

About the URL Parser

This free tool breaks any URL down into its protocol, credentials, hostname, port, path, query parameters, and hash. Edit individual query parameters in a live table, add or remove rows, and instantly see the rebuilt URL — everything runs locally in your browser.

Features:

  • Breaks URLs into protocol, host, path, and more
  • Editable query parameter table with live rebuilding
  • Supports relative URLs with an optional base URL
  • Copy any component or the full rebuilt URL instantly

How to Parse a URL

  1. Paste a URL into the input field
  2. Review the protocol, host, path, and other components
  3. Edit, add, or remove query parameters in the table
  4. Copy the rebuilt URL with one click

Frequently Asked Questions

What does the URL parser show me?

It breaks a URL into its protocol, username, password, hostname, port, pathname, hash, origin, and every query parameter, each shown separately and ready to copy.

Can I edit the query parameters?

Yes. Each query parameter appears in an editable table — change a value, add a new row, or delete one, and the full URL rebuilds automatically.

Does this tool support relative URLs?

Yes. If you paste a relative URL like /path?x=1, add an absolute base URL in the optional field and it will resolve correctly.

What's the difference between origin, host, and hostname?

The hostname is just the domain, like example.com. The host adds the port if present, like example.com:8080. The origin adds the protocol too, like https://example.com:8080. Origin never includes the path or query.

Why does my URL show an error?

The browser's native URL parser requires a valid absolute URL, or a relative URL plus a base URL. Check for typos, missing protocols, or invalid characters.

Are my URL parameters sent anywhere?

No. Parsing and rebuilding happen entirely in your browser using the native URL API — nothing you type is ever uploaded or logged.

Privacy First

All parsing and editing happen locally in your browser. No URL, parameter, or credential is ever uploaded, logged, or stored on our servers.

Standards & References

Last updated: 2026-07-24