URL Tools
Choose parse, encode, decode, or build query. Parse needs a full URL with a protocol. Query build takes one key=value pair per line.
Choose an action, then Run.
About this tool
The old encode/decode and query-builder URLs redirect here. Parse uses the platform URL constructor. Encode and decode use encodeURIComponent and decodeURIComponent. Query build uses URLSearchParams.
How to use
- Pick an action: Parse parts, encode, decode, or build a query string.
- Enter the input: A full URL, encoded text, or key=value lines.
- Click Run: The result block shows parts, the encoded string, or the query.
- Copy what you need: Select hostname, pathname, or the built query from the output.
Common use cases
- Split a messy link into host, path, query, and hash.
- Encode a URL with spaces before putting it in a query.
- Decode a percent-encoded string you copied from a log.
- Turn a list of pairs into a query string for an API call.
Tips
- Relative paths without a scheme fail parse until you add https://.
- Decode throws if the percent-encoding is malformed.
FAQ
Why do I need a protocol to parse?
The URL constructor requires an absolute URL with a scheme such as https://.
Where did encode/decode and query builder go?
They redirect here. Switch the action in the list.
How are empty query or hash shown?
Parse prints (none) when search or hash is missing.
Is my URL uploaded?
No. All four actions run locally.