URL Encoder Decoder

URL Encoder Decoder is a free developer tool that runs directly in your browser with no account required.

About this tool

Percent-encode text for safe use in URLs, or decode an encoded component back to readable text. The tool uses the browser's encodeURIComponent and decodeURIComponent, which makes it ideal for query-string values, path segments, and callback parameters.

How to use

  1. Paste the value into the Text field.
  2. Pick Encode or Decode in the Mode dropdown.
  3. Copy the converted result from the output.

Frequently asked questions

Should I encode a full URL or just part of it?

This tool applies component encoding, which escapes characters like :, /, ?, and &. Encode individual pieces (a query value, a path segment) rather than a complete URL, or the URL's own structure gets escaped too.

Which characters get encoded?

Everything except letters, digits, and - _ . ! ~ * ' ( ) is converted to percent-encoded UTF-8 byte sequences, matching the behavior of JavaScript's encodeURIComponent.

Why do I get an error when decoding?

Decoding fails when the input contains a malformed percent sequence, such as a stray % not followed by two hex digits. The tool reports this instead of returning partial output.

Does it handle spaces as + signs?

No. Spaces encode to %20. The + convention comes from the older form-urlencoded format; convert + to %20 (or to a space before decoding) if you are working with form data.

Is the URL I paste logged or sent anywhere?

No. Conversion runs locally in your browser using built-in JavaScript functions, so URLs containing tokens or IDs never leave your device.

Related tools