ENCODING / DEVDESK
URL Encoder / Decoder
Percent-encode or decode one URL component. This converts text; it does not preserve or normalize a complete URL.
This handles one URL component, not a full URL. Spaces become %20, and + remains a literal plus sign.
Input and output examples
Example 1
Input
name=Dev Desk&lang=enOutput
name%3DDev%20Desk%26lang%3DenExample 2
Input
hello worldOutput
hello%20worldHow to use it
- Enter the component to encode or decode.
- Choose the conversion direction.
- Copy the result into the appropriate part of your URL.
Frequently asked questions
Does it encode a complete URL?
No. It converts a component such as a path fragment or query value. Separators are encoded if you enter a whole URL.
Are spaces converted to plus signs?
Component encoding represents spaces as %20. Form encoding uses a different plus-sign convention.
What happens to malformed percent escapes?
The decoder reports an error and keeps the original input intact.