Encodes all special characters including : / ? # — best for query parameters
Common URL Encodings
| Character | Encoded | Description |
|---|---|---|
| (space) | %20 | Space |
| ! | %21 | Exclamation mark |
| # | %23 | Hash / Fragment |
| $ | %24 | Dollar sign |
| & | %26 | Ampersand |
| + | %2B | Plus sign |
| / | %2F | Slash |
| : | %3A | Colon |
| = | %3D | Equals sign |
| ? | %3F | Question mark |
| @ | %40 | At sign |