Home / Developer Tools / URL Encoder and Decoder
Free online tool

URL Encoder and Decoder

Percent-encode text for use in URL components or decode valid percent-encoded sequences into readable text. Processing takes place locally in your browser.

Start using

URL Encoder and Decoder

Paste up to 500,000 UTF-16 code units and choose parameter encoding with encodeURIComponent, whole-URL encoding with encodeURI, or percent-decoding with decodeURIComponent.

Parameter encoding turns a space into percent-20 and also escapes URL separators such as slash and question mark. Whole-URL encoding preserves structural separators while escaping spaces and unsafe characters.

Decoding converts valid percent-encoded UTF-8 sequences back to text. A malformed percent escape or invalid UTF-8 byte sequence is reported as an error.

The decoder applies decodeURIComponent to the entire input and does not translate plus signs to spaces as HTML form decoding would. The page does not parse or validate URL components.

Everything runs in the browser. This is text transformation, not a URL shortener, redirect checker, punycode converter, security scanner or guarantee that the result is a reachable URL.

Processing takes place locally in your browser.