URL Parser Online — Break a URL into Components
Parse a URL online into protocol, host, port, path, query parameters and fragment locally in your browser.
About this tool
This URL parser uses the native URL API and returns structured JSON for the protocol, credentials, hostname, port, pathname, search, fragment, origin and decoded query keys. Passwords are masked in output.
How to use
- Paste a complete absolute URL.
- Run the parser to generate structured component data.
- Inspect the host, path, query and fragment values.
Features
- Uses the browser native URL parser.
- Returns query parameters as a JSON object.
- Masks a URL password in displayed output.
Common use cases
- Debug redirect and callback URLs.
- Inspect tracking or API query parameters.
- Separate a URL before rewriting it.
Common issues and tips
- Relative paths require a base URL and are not accepted alone.
- Repeated query keys collapse to the last value in the output object.
Privacy
URL parsing runs locally in your browser. The entered URL is not uploaded to Tools12345.
Frequently asked questions
Does the tool open the URL?
No. It only parses the text with the browser URL API.
Are query values decoded?
The URL API exposes decoded query keys and values in the query object.
Why is the password hidden?
If credentials are present, the displayed password is masked to reduce accidental exposure.