Encode & Decode URL Strings
Convert special characters to URL-safe format and decode percent-encoded strings.
URL encoding (also called percent-encoding) replaces special characters with a % sign followed by hexadecimal digits. This ensures that URLs are transmitted correctly over the internet.
| Space | %20 |
| & | %26 |
| = | %3D |
| ? | %3F |
| / | %2F |
| # | %23 |
Convert text to URL-safe format
Convert encoded URL back to readable text
When passing data in URL query strings like ?search=hello world
When submitting forms using GET method or application/x-www-form-urlencoded
When making HTTP requests with special characters in parameters