URL Encoder / Decoder
Percent-encode URLs and query parameters or decode them back.
Query value: encodes :, /, ? too — for values after ?q= · Full URL: keeps :, /, ? — for whole addresses
Result
Related Tools
Percent-encode URLs and query parameters or decode them back.
Query value: encodes :, /, ? too — for values after ?q= · Full URL: keeps :, /, ? — for whole addresses
Result
Every URL travels through systems that only understand a narrow set of ASCII characters. Percent-encoding (RFC 3986) is the bridge: any byte outside the safe set becomes a % followed by its hexadecimal value. Korean text, spaces, and special symbols all pass through the web this way.
encodeURIComponent escapes everything — perfect for a single parameter value. encodeURI preserves :, /, ?, # so a whole address keeps its structure. Using the wrong one is a classic bug: double-encoded parameters or broken paths.
Double encoding (%2520 instead of %20) happens when an already-encoded string is encoded again. Decode errors usually mean a stray % not followed by two hex digits. When in doubt, decode repeatedly until the text stops changing.