URL Encoder and Decoder
Safely encode text for a URL component or decode percent escapes back to readable text.
Browser-only processing
What URL Encoder and Decoder does
Component encoding is appropriate for query values and path segments; encoding an entire URL can also escape structural characters.
Supported formats or input: Accepts plain Unicode text and percent-encoded URL text.
How to use URL Encoder and Decoder
- Paste the text or URL component.
- Choose encode or decode.
- Copy the transformed value and test it in context.
Example and processing method
Example: Encoding summer sale & shoes as a query value produces summer%20sale%20%26%20shoes.
The tool uses standards-based URI component conversion and reports malformed percent sequences.
Common mistakes and limitations
Common mistake: Avoid double-encoding an already encoded value, which turns %20 into %2520.
The tool does not test whether a destination URL exists or is safe.
Privacy
Values remain in the browser.
Related tools
Frequently asked questions
Should I encode a full URL or one parameter?
Usually encode individual parameter values so separators such as : / ? and & retain their structural meaning.
Why does decoding fail?
A percent sign must be followed by two valid hexadecimal characters.