URL-encode text containing Japanese or spaces, and decode percent notation back to the original text. Choose a format for query values, complete URLs or form submissions.
URL encode / decode — how to use
- Choose encode or decode, then paste text into the input.
- Choose “Query value / component” for query values, or “Entire URL” to preserve URL separators.
- Review and copy the result. Use “Swap” to convert it in the opposite direction.
Input and output examples
Use a URL as a query value
Settings: Encode / query value / component
https://street.after6labo.com/https%3A%2F%2Fstreet.after6labo.com%2FHandle spaces in form format
Settings: Encode / form format
日本 語%E6%97%A5%E6%9C%AC+%E8%AA%9EFrequently asked questions
What is the difference between %20 and +?
The regular format encodes spaces as %20. Form format encodes them as + and decodes + back to spaces. Regular decoding leaves + unchanged.
Why does decoding show an error?
Incomplete hexadecimal digits after % or bytes that cannot be interpreted as UTF-8 cause errors. Check the input and conversion format.
Specifications and limits
Query value / component uses encodeURIComponent / decodeURIComponent. Entire URL uses encodeURI / decodeURI, preserving separators such as : / ? & =. Form format treats spaces as +.