How to use
- Paste a URL or param.
- Click encode or decode.
- Copy the result.
FAQ
Is the text still Chinese after encoding?
It becomes %XX form (e.g. 中 → %E4%B8%AD); decoding restores the Chinese, and no raw Chinese travels in the URL.
When do I need URL encoding?
When building query strings or links containing Chinese, spaces, or & = ? # — to avoid breaking the URL structure.
Is a space + or %20?
Form submission often uses +, while %20 is the general form. This tool uses standard encodeURIComponent and decodes both.
Decode fails or looks garbled?
Usually the source was truncated or double-encoded; decode once, and if it is still %XX, decode again for the extra layer.
Why doesn't the address bar encode my Chinese?
Modern browsers encode on send, but when you concatenate manually in code/API you must encode first or the server may misparse.
Are URI and URL encoding the same?
Same percent-encoding principle; URL is a subset of URI, and "URL encoding" colloquially means this rule set.
About this URL Encode / Decode
Uses standard encodeURIComponent / decodeURIComponent. Local only.