🔗

Codificador/Decodificador de URL

Codifique e decodifique URLs para transmissão segura pela internet

encoder url

About URL Encoder/Decoder

URL encoding (also known as percent-encoding) is a mechanism for encoding information in a URL. URLs can only be sent over the Internet using ASCII characters. Characters that are not allowed in URLs must be encoded.

When to use URL encoding:

  • When passing data in URL query strings
  • When URLs contain special characters (spaces, &, ?, etc.)
  • When working with API endpoints that require encoded parameters
  • When building dynamic URLs programmatically

Examples:

Original: https://example.com/search?q=hello world

Encoded: https://example.com/search?q=hello%20world

Common encodings:

Space → %20
! → %21
# → %23
& → %26