No Signup Required

URL Encoder & Decoder

Percent-encode or decode URLs and query values, and see every parameter at a glance.

  • Runs in your browser — nothing uploaded
  • Instant, no waiting in a queue
  • Free, no watermark, no daily limits

Encode text so it is safe to put in a URL, or decode a percent-encoded string back to readable text. Component mode works like JavaScript’s encodeURIComponent for single query values, while Full URL mode works like encodeURI and keeps characters such as : / ? & = intact. Turn on “Spaces as +” for HTML form encoding. When the input is a full URL, its protocol, host, path, hash and decoded query parameters are listed below.

How to URL Encode or Decode Text

  1. 1

    Choose Encode or Decode

    Pick the direction, then Component mode for a single value or Full URL mode for a whole link.

  2. 2

    Paste the text

    Paste text or an encoded URL — the result updates as you type.

  3. 3

    Copy and inspect

    Copy the result, or check the URL breakdown table for each query parameter.

Why use ToolzBank URL Encoder / Decoder?

  • encodeURIComponent and encodeURI modes
  • Form encoding with + for spaces
  • Clear error for malformed % sequences
  • URL breakdown: protocol, host, path, hash
  • Decoded query-parameter table
  • Swap result back into the input

Frequently asked questions

What is URL encoding?
URL encoding (percent-encoding) replaces characters that are not allowed in a URL with % followed by two hex digits — for example a space becomes %20 and & becomes %26.
What is the difference between encodeURI and encodeURIComponent?
encodeURI leaves URL structure characters like : / ? & = # alone so a full link still works, while encodeURIComponent encodes them too, which is what you want for a single query-string value.
Should spaces be %20 or +?
In the path and most of a URL a space is %20. In HTML form submissions (application/x-www-form-urlencoded) spaces are sent as +. Use the “Spaces as +” option to match form encoding.
Why do I get a “malformed” error when decoding?
The text contains a % that is not followed by two valid hex digits, or a byte sequence that is not valid UTF-8. Check for a stray % sign in the input.
Is my URL sent anywhere?
No. The tool runs entirely in your browser — nothing you paste is sent to a server.

More free developer tools