Advertisement

URL Encoder / Decoder

Encode text to be safely included in a URL, or decode percent-encoded URLs back to readable text.

Text to Encode
Encoded Output
Advertisement
Special Characters
CharEncoded
%20
!%21
&%26
=%3D
?%3F
#%23
+%2B
/%2F

About URL Encoding

URL encoding (also called percent-encoding) replaces unsafe ASCII characters in a URL with a % followed by two hexadecimal digits. For example, a space becomes %20 or + in query strings.

When to use encodeURIComponent vs encodeURI