🔗

URL Encoder & Decoder

Percent-Encoding Suite

Encode and decode URL parameters and links safely using standard URI percent-encoding rules.

Understanding URI Encoding

URLs can only be sent over the Internet using the ASCII character-set. Characters outside ASCII must be converted using percent-encoding, where unsafe characters are converted into a % followed by two hexadecimal digits (for example, spaces become %20 or +).

  • encodeURIComponent: Encodes all special symbols including /, ?, &, and =. Use this when encoding query string parameters.
  • encodeURI: Encodes spaces and non-ASCII characters while preserving functional protocol symbols like http:// and paths.