WORKED CASE · SYNTHETIC TEST DATA
Put a search phrase into one URL parameter
An ampersand inside a value must not become the start of a second parameter. Encode the value before assembling a query string.
Input and settings
a b&cRun and interpret
Choose Encode and enter the sample. Space becomes %20 and the literal ampersand becomes %26. Decode this output once to recover the input.
Expected output
a%20b%26cScope and possible misuse
This encodes a component, not a complete URL. Decoding does not convert + into a space as form encoding does. Do not repeatedly decode untrusted values.