URL

Break a URL into parts, edit query parameters and compare percent-encodings.

Runs in your browser

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

  1. Paste a URL.
  2. Read or edit its parts and query parameters.
  3. 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.

Related tools