URL Encoder / Decoder

Percent-encode or decode URLs and query strings instantly in your browser.

About the URL Encoder / Decoder

URLs can only contain a limited set of characters, so spaces, ampersands, slashes and non-ASCII text must be percent-encoded before they travel safely in a link or query string. The AlarmDaddy URL Encoder / Decoder converts text to and from percent-encoding right in your browser — nothing is sent to a server.

Paste a string to encode it into a URL-safe form, or paste an encoded string to decode it back to readable text. It uses the same encoding as JavaScript's encodeURIComponent, which is what most web frameworks and APIs expect. Developers use it constantly when debugging query parameters, building API calls, and inspecting redirect URLs.

How to use this calculator

  1. 1Choose Encode or Decode.
  2. 2Paste your text or encoded string into the input.
  3. 3Read the result in the output box.
  4. 4Copy the output with one click.

The formula

Percent-encoding: each unsafe byte becomes %XX (its hex value).

Reserved and unsafe characters are replaced by a percent sign followed by their two-digit hexadecimal byte value (UTF-8). Decoding reverses the process. This is the RFC 3986 percent-encoding scheme used across the web.

Frequently asked questions

No. URL encoding and decoding run entirely in your browser. Nothing you paste leaves your device.