URL Encoding
Encode text for a URL component, a full URI, or a form body, and decode any of those back into text.
Encode text for a URL component, a full URI, or a form body, and decode any of those back into text.
URLs encode characters that are not allowed as-is. A space can be %20 or +, and the right choice depends on where the text goes.
A component encodes : / ? & and similar characters. A full URI leaves those characters alone so the address structure stays intact.
In an HTML form body. Elsewhere a space is %20. Choose “Form body” for the plus sign.