Free URL Encoder / Decoder

Encode special characters for use in URLs, or decode percent-encoded strings. Perfect for building QR code content.

Encode URL

Decode URL

What is URL Encoding?

URL encoding (also called percent-encoding) replaces special characters with a % followed by their hexadecimal ASCII value. This ensures URLs are transmitted correctly, since many characters have special meaning in URLs.

encodeURIComponent vs encodeURI

  • encodeURIComponent — encodes everything except A-Z a-z 0-9 - _ . ~ ! * ' ( ). Use for query parameter values.
  • encodeURI — preserves URL structure characters like : / ? # [ ] @ ! $ & ' ( ) * + , ; =. Use for complete URLs.

Common Encoded Characters

CharacterEncodedDescription
(space)%20Space character
&%26Ampersand
=%3DEquals sign
?%3FQuestion mark
#%23Hash / fragment
/%2FForward slash

Scan QR Codes with Encoded URLs

The Scan & Generate app automatically handles encoded URLs in QR codes, opening links and decoding content with a single tap.