URL Decode

Decode percent-encoded text from a URL.

Local Your input is processed locally in your browser. Found a problem? Report an issue

What URL Decode does

URL Decode turns percent-encoded text such as %7B%22a%22%7D back into readable text, decoding multi-byte UTF-8 sequences correctly.

URL Decode examples

The built-in sample

Input

say%20%22hello%22%20%26%20%3Cb%3Ebye%3C%2Fb%3E

Output

say "hello" & <b>bye</b>

This is the input that the Load sample button fills in.

A plus sign is not a space

Input

caf%C3%A9+au+lait%20%2B%201

Output

café+au+lait + 1

%C3%A9 is the two-byte UTF-8 form of é, %20 is a space and %2B is a plus sign. The literal plus signs stay plus signs.

Each output was produced by running this tool on the input above it.

How it works

Decoding uses JavaScript's decodeURIComponent: every %XX sequence is turned back into a byte and the bytes are read as UTF-8. A % that is not followed by two hexadecimal digits is reported as an error.

EncodedCharacter
%20space
%26&
%3D=
%3F?
%2F/
%23#
%2B+
%25%
%C3%A9é
%E2%82%AC€

Details and limits

  • The text is decoded once. %252F becomes %2F; run the tool again if the value was encoded twice.
  • Spaces and line breaks at the start and end of the input are trimmed before decoding.
  • Bytes that are not valid UTF-8, for example %E9 on its own from a Latin-1 system, are reported as malformed rather than guessed.

Common errors

Message or symptomWhat it means
Malformed percent-encodingA % is not followed by two hexadecimal digits, for example a lone % or %G1.
A plus sign stays as +In query strings submitted by HTML forms, + means a space. Replace + with %20 before decoding if that applies.
Text is decoded twiceDecode only once; decoding an already-decoded value can turn a literal %25 into %.

Questions

Is my data uploaded when I use URL Decode?

No. The tool runs in your browser, so what you paste or open is processed on your own device and is not sent to a server.

What does URL Decode do?

URL Decode turns percent-encoded text such as %7B%22a%22%7D back into readable text, decoding multi-byte UTF-8 sequences correctly.

How does URL Decode work?

Decoding uses JavaScript's decodeURIComponent: every %XX sequence is turned back into a byte and the bytes are read as UTF-8. A % that is not followed by two hexadecimal digits is reported as an error.

Are there any limits I should know about?

The text is decoded once. %252F becomes %2F; run the tool again if the value was encoded twice. Spaces and line breaks at the start and end of the input are trimmed before decoding.

Is there a size limit?

There is no fixed size limit. Everything happens on your device, so very large inputs depend on its memory and can take longer on a phone than on a computer.

Does it work on phones, and is it free?

Yes. It works in any current browser on Android phones, iPhones, tablets and computers. It is free and needs no account or sign-up.