URL Encoder / Decoder

Encode text to URL-safe format or decode URLs back to text.

Input
Output

Why encode URLs?

URLs can only be sent over the Internet using the ASCII character-set. Since URLs often contain characters outside the ASCII set, the URL has to be converted into a valid ASCII format. URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits.

Common Encoded Characters

  • Space → %20
  • ! → %21
  • # → %23
  • $ → %24
  • & → %26