URL Parser – Split & Edit URL Parts
NEWURL parser that splits a link into protocol, host, port, path segments, decoded query parameters and hash, then lets you edit params and rebuild the URL.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
| Protocol | https: |
|---|---|
| Username | user |
| Password | secret |
| Host | shop.example.com:8443 |
| Hostname | shop.example.com |
| Port | 8443(explicit) |
| Origin | https://shop.example.com:8443 |
| Path | /products/red%20shoes/42 |
| Query | ?color=red&size=42&tag=sale&tag=new&q=running+shoes |
| Hash | reviews(decoded) |
Path segments (3)
- 1products
- 2red shoes
- 342
Query parameters (5) · decoded, editable
| Key | Value | Remove |
|---|---|---|
Highlighted keys are repeated; servers may read the first, the last or all values.
Parameters are re-encoded like URLSearchParams (space becomes +). Need JSON? Try Query Params to JSON.
Quick Examples
Typical inputs and the results this tool produces.
Overview
Long URLs with tracking codes, credentials and encoded characters are hard to read. This URL parser breaks a link into its components exactly as a browser sees them: protocol, username and password, host, hostname, port (including the default port for the scheme), origin, path segments, query string and hash.
Query parameters are listed in a decoded table that keeps repeated keys in order, so tag=a&tag=b shows as two rows. You can edit keys and values, add or remove parameters, change the hash, and copy the rebuilt URL. Relative links such as ../img/logo.png can be resolved against a base URL to see the final address.
Parsing uses the browser's built-in WHATWG URL parser, so results match what Chrome, Firefox and Node.js do. Nothing you paste is sent anywhere.
Why use this tool?
- Read messy tracking links at a glance
- Edit query parameters without breaking encoding
- Resolve relative links against a base URL
- Spot repeated keys and default ports
- Runs locally, URLs never uploaded
Features
Every component
Protocol, credentials, host, hostname, port, origin, path, query and hash in one table.
Path segments
The path is split into numbered, decoded segments.
Decoded query table
Parameters are decoded and repeated keys are kept and highlighted.
Edit and rebuild
Change, add or remove parameters and the hash, then copy the rebuilt URL.
Relative URLs
Resolve ./ and ../ links against a base URL, like a browser does.
Default ports and IDN
Shows the implied port for http, https, ws, wss and ftp, and flags punycode host names.
How to Use
Paste a URL
Paste a full URL, or a relative one plus a base URL.
Read the parts
Check the component table, path segments and query parameters.
Edit parameters
Change values, add or remove rows, or edit the hash.
Copy the result
Copy the rebuilt URL with the Copy button.