- Protocol
- https:
- Host
- api.example.com
- Port
- 8443
- Path
- /users/list
- Hash / fragment
- #results
Query parameters
| Key | Value |
|---|---|
| page | 2 |
| active | true |
Build a URL
Online URL Parser and Builder
Break any complete URL into readable parts, inspect decoded query parameters, and build a properly encoded URL in reverse. It helps developers troubleshoot redirect links, API endpoints, callback URLs, and encoded query parameters.
What is a URL parser?
A URL parser separates a web address into its protocol, host, port, path, query string, and fragment. Seeing those pieces individually makes debugging redirects, API endpoints, and browser links much easier.
How to use this URL tool
Paste a complete URL and choose Parse URL. The result shows each component and a table of query parameters. Use the builder below to edit the same parts and produce a new URL.
URL parsing stays local
The browser's built-in URL API performs the parsing in this page. No URL is sent to a server or retained after you leave.
How to use URL Parser for related tasks
Parse URL components first, inspect the decoded query table, then edit the builder fields to create a corrected endpoint.
Related tools: Query String Parser, Slug Generator.
Frequently asked questions
Does URL parsing change my input?
No. The URL is parsed locally with the browser URL API, and nothing is transmitted or saved.
What is the difference between a host and a hostname?
The hostname is the domain or IP address, while the host includes the hostname and an explicit port when one is present.
Are query parameter values decoded?
Yes. The table shows decoded key and value text, while the builder re-encodes values correctly when it creates the URL.
How do I break a URL into parts?
Paste a complete address with its protocol; the parser separates protocol, hostname, port, pathname, query parameters, and fragment.