Common URL Encodings

Character Encoded Description
(space) %20 Space
! %21 Exclamation mark
# %23 Hash
$ %24 Dollar sign
& %26 Ampersand
+ %2B Plus sign
/ %2F Forward slash
= %3D Equals sign
? %3F Question mark

About URL Encoder

URL encoding (also called percent-encoding) is a mechanism for encoding information in a Uniform Resource Identifier (URI). It replaces unsafe ASCII characters with a percent sign followed by two hexadecimal digits.

When to Use URL Encoding:

  • Query Parameters - When passing special characters in URL query strings
  • Form Data - When submitting forms via GET method
  • API Requests - When constructing URLs with special characters
  • Data Validation - When you need to safely transmit text in URLs