حول هذه الأداة
URL encode/decode tool for special characters and Chinese parameters, using encodeURIComponent/decodeURIComponent to prevent garbled text.
How to use
- Enter a URL or text to encode/decode
- Click "Encode" or "Decode"
- Use the result in request params or links
Example
"你好 world" encodes to %E4%BD%A0%E5%A5%BD%20world.
FAQ
Why does a URL need encoding?
URLs only support ASCII. Chinese, spaces and special chars need percent-encoding to transmit correctly.
encodeURIComponent vs encodeURI?
The former encodes reserved chars (& = ?), ideal for parameter values; the latter keeps URL structure. This tool uses the former.