About URL
Paste a URL to see its parts: protocol, host, port, path, query parameters and fragment. Edit the parameters in a table and the URL updates.
The encoding comparison shows how the same text looks under different percent-encoding rules, which helps when a value breaks in a link.
How to use it
- Paste a URL.
- Read or edit its parts and query parameters.
- Copy the rebuilt URL.
Frequently asked questions
- What is percent-encoding?
- It replaces unsafe characters in a URL with % followed by two hex digits, such as %20 for a space.
- What is the difference between encodeURI and encodeURIComponent?
- encodeURI keeps characters that structure a URL, such as / and ?, while encodeURIComponent encodes them too and is meant for single values.