| Character | URL | HTML Entity | Hex |
|---|---|---|---|
| & | %26 | & | 26 |
| < | %3C | < | 3C |
| > | %3E | > | 3E |
| " | %22 | " | 22 |
| ' | %27 | ' | 27 |
| Space | %20 | | 20 |
| # | %23 | # | 23 |
| ? | %3F | ? | 3F |
Frequently Asked Questions
URL encoding (percent-encoding) converts characters that are not allowed in a URL into a % followed by two hex digits. For example, a space becomes %20 and & becomes %26. It ensures that URLs remain valid and unambiguous when sent over the internet.
Base64 encodes binary data (like images or files) into ASCII text so it can be safely transmitted in text-based protocols such as email (MIME), JSON, or data URIs in HTML/CSS. It increases the data size by about 33% but makes any binary data safely text-transportable.
HTML entity encoding replaces special characters with entity references that browsers interpret correctly. For example, < becomes < so it displays as a less-than sign rather than being interpreted as an HTML tag. This is essential for preventing XSS (cross-site scripting) vulnerabilities.