URL Escape Code
How URL Escape Code works
URL encoding (percent-encoding) replaces unsafe characters with a percent sign followed by two hex digits representing the byte value. A space becomes
RFC 3986 defines which characters are "unreserved" and safe to use without encoding: A-Z, a-z, 0-9, hyphen, period, underscore, and tilde. Everything else should be percent-encoded in URL paths and query parameters. Common gotcha: the plus sign (+) means space in query strings (application/x-www-form-urlencoded) but is a literal plus in URL paths. Encode and decode URLs with our URL encoder tool.
%20 (hex 20 = decimal 32 = ASCII space). An ampersand becomes %26. A non-ASCII character like "e" (e-acute) becomes %C3%A9 in UTF-8 (two bytes, each percent-encoded).RFC 3986 defines which characters are "unreserved" and safe to use without encoding: A-Z, a-z, 0-9, hyphen, period, underscore, and tilde. Everything else should be percent-encoded in URL paths and query parameters. Common gotcha: the plus sign (+) means space in query strings (application/x-www-form-urlencoded) but is a literal plus in URL paths. Encode and decode URLs with our URL encoder tool.