Springr
URL Codec
All tools

URL Codec

Encode, decode and inspect URLs and their query strings.

Preserves reserved URL characters (:/?#&=).

Decoded
Encoded

Query parameters

About URL Codec

Encode, decode and inspect URLs and their query strings. Break a URL into its parts, read percent-encoded parameters and build safe values for requests and links.

How to use it

  1. Paste a URL, a query string or a plain value.
  2. Choose encode or decode, and inspect the parsed parts of the URL.
  3. Copy the result into your code or request.

Frequently asked questions

What is URL (percent) encoding?
Percent-encoding replaces characters that are not safe in a URL with a percent sign and two hex digits, for example a space becomes %20.
When should I encode a full URL versus a single value?
Use encodeURIComponent for a single value such as a query parameter. Use encodeURI for a full URL where characters like / ? & should stay as they are.