URL Encoder/Decoder

Encode and decode URLs with support for different encoding methods.

Input

Output

output

                

About URL Encoding

Encoding Methods

  • encodeURIComponent - Encodes all special characters (recommended for query params)
  • encodeURI - Preserves URL structure characters like : / ? &
  • escape - Legacy method, not recommended for new code