Articles on URL encoding.
Deeper explanations of the things our tool handles for you. Aimed at developers, marketers, and curious readers who want to understand why, not just how.
Start here.
Percent-encoding and RFC 3986
The spec that governs every URL on the web.
Spaces in URLs: %20 vs +
The two ways to encode a space and which one to use when.
Encoding emoji and Unicode in URLs
How UTF-8 multibyte sequences become percent-encoded.
Ten common URL encoding mistakes
The errors I see in production code, ranked by frequency.
URL encoding in your language.
URL encoding in JavaScript
encodeURI, encodeURIComponent, URLSearchParams.
URL encoding in Python
urllib.parse.quote, unquote, urlencode — every variant explained.
URL encoding in PHP
urlencode vs rawurlencode, http_build_query, and the legacy + behavior.
URL encoding in Java
URLEncoder, the + problem, and using URI / URLBuilder correctly.
URL encoding in Go
QueryEscape, PathEscape, url.Values, and url.URL.
URL encoding in C#
Uri.EscapeDataString vs HttpUtility.UrlEncode and when to use each.
URL encoding in cURL
--data-urlencode and how curl handles encoding for GET and POST.
encodeURI vs encodeURIComponent
Two JavaScript functions, one common mistake.
URL encoding vs other schemes.
URL encoding vs HTML encoding
Different jobs, different schemes — when to use which.
URL encoding vs Base64
When percent-encoding wins and when Base64 does.
Double URL encoding, explained
Why %2520 happens, how to detect it, and how to fix it.
URL encoding in the real world.
URL encoding for REST APIs
Path params, query params, and the encoding gotchas in real APIs.
URL encoding for OAuth signing
OAuth 1.0a strict encoding, AWS SigV4, and signature base strings.
URL encoding for UTM tracking links
Building campaign URLs that survive every channel.
URL length limits by browser and server
How long is too long, and what to do about it.
About this page. Written and maintained by Sri Murugan Systems, the developer of urlencodedecode.com. Every technical claim on this page is verified against primary sources — the RFCs (3986, 3629, 4648, 7578), the WHATWG URL Standard, and official vendor or language documentation — rather than second-hand summaries. When a source contradicts a common assumption, we follow the source and note the discrepancy. Corrections: contactus@urlencodedecode.com.