Free URL Encoder / Decoder
Encode special characters for use in URLs, or decode percent-encoded strings. Perfect for building QR code content.
Encode URL
Decode URL
What is URL Encoding?
URL encoding (also called percent-encoding) replaces special characters with a % followed by their hexadecimal ASCII value. This ensures URLs are transmitted correctly, since many characters have special meaning in URLs.
encodeURIComponent vs encodeURI
- encodeURIComponent — encodes everything except
A-Z a-z 0-9 - _ . ~ ! * ' ( ). Use for query parameter values. - encodeURI — preserves URL structure characters like
: / ? # [ ] @ ! $ & ' ( ) * + , ; =. Use for complete URLs.
Common Encoded Characters
| Character | Encoded | Description |
|---|---|---|
| (space) | %20 | Space character |
| & | %26 | Ampersand |
| = | %3D | Equals sign |
| ? | %3F | Question mark |
| # | %23 | Hash / fragment |
| / | %2F | Forward slash |
Scan QR Codes with Encoded URLs
The Scan & Generate app automatically handles encoded URLs in QR codes, opening links and decoding content with a single tap.