Encoding
Unicode / URL encoding conversion
📖 Encoding Converter Guide
Introduction
The Encoding Converter supports Unicode (\\uXXXX) encoding/decoding and URL percent-encoding/decoding for safely transmitting special characters in web applications.
Features
- Unicode encode: Convert characters to \uXXXX format
- Unicode decode: Restore \uXXXX to original text
- URL encode: Convert special chars to %XX format
- URL decode: Restore %XX to original text
How to Use
- Select encoding type (Unicode or URL)
- Choose direction (encode or decode)
- Enter text to convert
- View and copy results
Example
URL encode: 你好 → %E4%BD%A0%E5%A5%BD
Unicode encode: 站长工具 → \u7ad9\u957f\u5de5\u5177
Use Cases
- Debugging URLs with special characters
- Encoding Chinese characters in JSON
- Processing form submissions
- Writing portable JavaScript source code