URL Encoder & Decoder

Percent-encode and decode URLs and query parameters online. Encode a whole URL or a single component. Fast, free, and fully client-side.

// urlencodecomponent○ ready
Plain
Encoded

About this URL encoder & decoder

URLs may only contain a limited set of characters, so spaces, ampersands, and non-English letters must be percent-encoded (for example, a space becomes %20). This tool encodes text for safe use in URLs and query strings, and decodes percent-encoded URLs back into readable text.

When to use which mode

  • Encoding a value to drop into ?key=value? Use Component.
  • Encoding a full link that already has its structure? Use Whole URL.
  • Reading an encoded link? Use Decode.

Frequently asked questions

What is the difference between “Component” and “Whole URL”?
“Component” (encodeURIComponent) escapes everything that is not safe inside a single value, including &, =, ?, and /. Use it for query-parameter values. “Whole URL” (encodeURI) keeps URL-structure characters intact, so it is for encoding a complete address.
Why does my decoded text show spaces where + used to be?
In query strings, + often means a space. The decoder converts + to a space before decoding, matching how form data is typically encoded.
Is anything uploaded?
No. Encoding and decoding run entirely in your browser.

// More tools