🔗 URL Encoder Decoder
Online URL encoding and decoding, supports Chinese URL conversion
🔒 All conversions are done locally in your browser, no data uploaded to server
Output Result
📚 User Guide
What is URL Encoding?
URL encoding (Percent-encoding) is a method to convert special characters into percent signs (%) plus two hexadecimal digits for safe data transmission in URLs.
Why need URL Encoding?
- URLs only allow ASCII characters
- Some characters have special meaning in URLs (such as &, ?, =)
- Chinese and other non-ASCII characters need encoding to use in URLs
- Spaces and special symbols need escaping
Common Encoding Examples
- Space → %20
- Chinese "Hello" → %E4%BD%A0%E5%A5%BD
- & → %26
- = → %3D
- ? → %3F
- / → %2F
Use Cases
- Pass Chinese in URL parameters
- GET request parameter encoding
- Search engine keywords
- Filename contains special characters
Notes
- Do not encode repeatedly, avoid %25xx situation
- Different parts of URL may need different encoding
- Some characters (such as - _ . ~) usually do not need encoding