URL Encoder & Decoder

Percent-encode text so it is safe inside a URL, or decode a URL that is full of %20 and %3D.

  • Free, no sign-up
  • Runs in your browser
  • Verified

How to use it

  1. Choose a mode.
  2. Paste your text or URL.
  3. Copy the result.

How it works

“Encode a value” escapes every reserved character, including / ? & = and #, which is what you want for one query-string value (like JavaScript’s encodeURIComponent). “Encode a whole URL” leaves those structural characters alone (like encodeURI).

Decoding reverses percent-escapes. Forms often write a space as +; choose that option to decode them.

Examples

  • “a b&c” as a value becomes a%20b%26c.
  • %E2%9C%93 decodes to ✓.

Limitations

  • A lone % that is not followed by two hex digits cannot be decoded and gives an error.
  • Internationalised domain names (punycode) are not converted.

References

Last verified . See our Accuracy & Editorial Policy. Found a problem? Email [email protected].