URL encoder, decoder and parser

Encodes everything except letters, digits and - _ . ~ – right for a single value such as a parameter.

Output

https%3A%2F%2Fexample.com%2Fsearch%3Fq%3DVoilakit%20tools%26lang%3Dde%23top

URL parts

Protocol
https
Host
example.com
Path
/search
Fragment
top

Query parameters

q
Voilakit tools
lang
de
Help & info

About this tool

Pick encode or decode and the kind: a single component (such as a parameter value), a whole URL, or HTML form encoding where a space becomes +. If the text looks like a URL, it is also split into protocol, host, port, path, fragment and query parameters.

Good to know

Encode each parameter value on its own, not the whole URL with “component”, or the : / ? & = characters get encoded too. Decoding fails when the text contains a % that is not followed by two hex digits.

More tools