Back
URL encoder/decoder
Encoding
Loading
Loading tool
Preparing the tool. The remaining time is not yet known.
All processing for this tool happens in your browser. Your input is not sent to a server.
About this tool
Encode or decode a URL component with UTF-8 percent escapes.
Common uses
- Encode or decode a URL component with UTF-8 percent escapes.
- Choose encoding for a query value or path segment, or decoding for percent-encoded text.
How to use it
- 1.Choose encoding for a query value or path segment, or decoding for percent-encoded text.
- 2.Run the conversion and copy the component into the appropriate part of your URL.
Worked example
Input and result
a+b c
a%2Bb%20c
Encode a query value: the plus sign is escaped, not treated as a space.
Limits and notes
- This uses encodeURIComponent/decodeURIComponent, not whole-URL parsing. A plus sign stays + when decoding; malformed percent escapes and invalid UTF-8 fail.
Frequently asked questions
What does this tool do?
Encode or decode a URL component with UTF-8 percent escapes.
What should I check before using the result?
This uses encodeURIComponent/decodeURIComponent, not whole-URL parsing. A plus sign stays + when decoding; malformed percent escapes and invalid UTF-8 fail.