Skip to content
Toolseta
Runs in your browser

URL Encoder / Decoder

Percent-encode or decode URLs and query parameters and inspect query strings.

Result

Query parameters

KeyValue (decoded)

About URL Encoder / Decoder

Percent-encode text so it can be safely placed in a URL, or decode an encoded URL back into readable form. Component mode encodes everything including / ? & =, while full-URL mode keeps the URL structure intact. Query parameters are listed in a table for quick debugging.

How it works

  1. 1

    Paste text or a URL.

  2. 2

    Choose Encode or Decode and the encoding mode.

  3. 3

    Copy the result or inspect the parsed query parameters.

Frequently asked questions

What is the difference between the two modes?

Component mode (encodeURIComponent) is for single parameter values. Full-URL mode (encodeURI) keeps characters such as : / ? & intact.

Why is a space sometimes + and sometimes %20?

HTML form encoding uses +, while RFC 3986 uses %20. The decoder understands both.