URL Encoder/Decoder

Percent-encode URLs containing special characters, or decode percent-encoded URLs back to readable text.

Type
Input
Result

How to Use

1
Pick a mode

Choose Encode or Decode. In Encode, you can additionally pick component (encodes ?, &, =) or full URL (preserves URL syntax).

2
Enter text

Paste or type your text into the input. Results update live as you type.

3
Copy or swap

Copy the result with one click, or swap input and output to chain conversions.

FAQ

What's the difference between encodeURI and encodeURIComponent?

encodeURI keeps URL delimiters (: / ? # & =) intact when encoding a whole URL. encodeURIComponent encodes those too, which is what you want for query parameter values. For most query string work, use component.

Why do Korean or non-ASCII characters become %EA%B0%80?

That's the expected UTF-8 percent-encoded form. Decoding the result returns the original characters.

Decoding throws an error.

You probably have an invalid percent-encoded sequence (e.g. %ZZ, %A). Fix the malformed parts and try again.

Should + become a space?

In application/x-www-form-urlencoded form data, + means space. In standard URL decoding (decodeURIComponent), + stays as +. Toggle the "+ as space" option when decoding form data.

Is anything sent to a server?

No. All encoding and decoding happens in your browser. Input never leaves the page.