URL Encode and Decode

Percent-encode an address or a single value inside one.

The right answer depends on which. Encoding a whole URL as a value turns every slash into %2F; encoding a value as an address leaves the characters that would break it.