URL Encoder / Decoder

Encode and decode URLs and URI components with real-time feedback and an interactive query parameter editor.

Query Parameters2 found

KeyValueActions

About URL Percent Encoding

URL encoding (also known as Percent-encoding) translates characters into a format that can be transmitted over the Internet within Uniform Resource Identifiers (URIs). Characters that are not standard unreserved ASCII characters (such as spaces, ampersands, slashes, or emojis) are represented with a % followed by two hexadecimal digits.

encodeURI vs encodeURIComponent

  • encodeURI: Preserves characters that have special meaning in a complete URL (such as : / ? # [ ] @).
  • encodeURIComponent: Encodes all characters except unreserved alphanumeric characters, hyphens, underscores, dots, and tildes. Perfect for query parameter values.

Common Encoded Characters

  • Space = %20 or +
  • & (Ampersand) = %26
  • ? (Question mark) = %3F
  • = (Equals) = %3D
  • / (Slash) = %2F

Rate this tool

Log in to share your feedback on this tool.