websystemer / url-encoder

URL Encoder, Decoder & Parser

Encode and decode URLs and query strings, and break any URL into protocol, host, path and parameters. Runs in your browser.

Input
Output

      

Component or full URL?

Encode component escapes everything that has meaning in a URL, including / ? # & =. Use it for a single query value or path segment. Encode full URL leaves those separators alone and only escapes characters that can never appear raw, such as spaces and non-ASCII letters.

URL breakdown

Whenever the input is a complete URL, the table lists its protocol, host, port, path, fragment and every query parameter with decoded values.

Privacy

The work is done with encodeURIComponent, encodeURI and the URL class in your browser. Nothing is uploaded.

More tools