RFC 3986 URL Percent Encoding Codes Reference Table
In web protocols, url percent encoding replaces non-ASCII and reserved ASCII characters with a % followed by their two hexadecimal digits. Here are the most critical url encoding codes for standard web communication:
| Character | ASCII Code | Percent Code | URI Semantic Meaning |
|---|---|---|---|
Space ( ) |
32 (0x20) | %20 or + |
Space separation in query or path |
Forward Slash (/) |
47 (0x2F) | %2F |
Path segment separator |
Question Mark (?) |
63 (0x3F) | %3F |
Start of query string parameter list |
Ampersand (&) |
38 (0x26) | %26 |
Query string parameter delimiter |
Equals Sign (=) |
61 (0x3D) | %3D |
Key-value query parameter assignment |
Hash Sign (#) |
35 (0x23) | %23 |
Fragment identifier / document anchor |
Colon (:) |
58 (0x3A) | %3A |
Protocol/Scheme separator & Port delimiter |
At Symbol (@) |
64 (0x40) | %40 |
User info / HTTP Basic authentication boundary |