TurantToolsdev</> All tools

// free Β· runs in your browser Β· nothing uploaded

URL Encoder / Decoder

Free URL encoder and decoder: encodeURIComponent and encodeURI, decode %XX and + spaces, and see a URL's protocol, host, path and query parameters. Runs in your browser.

encodeURIComponent: for a single query value or path part (encodes / ? & = too).

Result

https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dcaf%C3%A9%20%26%20bar%26page%3D2

URL parts

protocolhttps:
hostexample.com
path/search
?qcafΓ©
? bar
?page2

Runs in your browser; nothing is sent anywhere.

πŸ’¬ Share this tool

πŸ“š Official sources: RFC 3986: URI syntax

We build every tool from the official rules and re-check them when they change. Always confirm with the official source before you rely on a result.

πŸ› οΈ Spotted a mistake or an out-of-date rule? Tell us

Questions people ask

encodeURI or encodeURIComponent?+

Use encodeURIComponent for a single value (a query parameter or path part); it encodes / ? & = too. Use encodeURI for a whole URL you want to keep working.

Why is + a space?+

HTML forms send spaces as +. This decoder treats + as a space, which is right for query strings.

More free tools