Skip to content

URL Encoder & Decoder

Encode and decode URL components with support for full URLs and query parameters.

Encode Type:

Text to Encode

0 characters

Output

About URL Encoding

What is URL Encoding?

URL encoding converts characters into a format that can be transmitted over the Internet. Special characters are replaced with a "%" followed by two hexadecimal digits.

Common Use Cases

  • ✅ Encoding query parameters in URLs
  • ✅ Passing data in URL strings
  • ✅ API request parameters
  • ✅ Form data submission

Encoding Types

  • encodeURIComponent: Encodes all special characters. Use for query parameters and path segments.
  • encodeURI: Encodes most characters but preserves URL structure. Use for full URLs.

Common Encodings

  • space → %20
  • ! → %21
  • # → %23
  • $ → %24
  • & → %26
  • @ → %40