URL Encoder/Decoder
Online URL encoder and decoder with support for both encodeURI and encodeURIComponent modes.
Encoding Mode
📌 Description:
- • encodeURIComponent: Encodes all special characters, including : / ? # [ ] @ ! $ & ' ( ) * + , ; =
- • Suitable for encoding URL parameter values, query strings, etc.
- • Example: "a=1&b=2" → "a%3D1%26b%3D2"
(Attempt to decode multiple times until content stops changing (solves double-encoding))
0 characters
0 characters
Common Character Encoding Reference Table
| Character | encodeURIComponent | encodeURI |
|---|---|---|
| Space | %20 | %20 |
| & | %26 | & (Not encoded) |
| = | %3D | = (Not encoded) |
| ? | %3F | ? (Not encoded) |
| / | %2F | / (Not encoded) |
| : | %3A | : (Not encoded) |
| 中 | %E4%B8%AD | %E4%B8%AD |
About This Tool
A simple and practical URL encoding and decoding tool. It supports standard encodeURI and thorough encodeURIComponent modes, with a new recursive decode feature to solve double-encoding issues. The tool also provides a comparison table for common character encodings, usage examples, and supports one-click paste and copy. All conversions are performed locally in your browser, ensuring your data security.
Features
- 🔐 Two Modes: encodeURI and encodeURIComponent
- 🔄 Recursive Decode: Solve double-encoding issues
- 📋 Smart Actions: One-click copy result and paste input
- 📋 Example Reference: Provide common usage scenario examples
- 📊 Comparison Table: Common character encoding comparison
- ✅ Instant Conversion: Convert as you type
- Privacy Security: Local processing, no data upload