URL Encoder/Decoder

Encode and decode URLs and analyze their components

โ† Back to Tools

URL Encoder/Decoder

Encode and decode URLs and analyze their components

๐ŸŽฎ Encoding Methods
For query parameters
For complete URLs
Decode URL
Swap / Clear
๐Ÿ“ Plain Text / URL
๐Ÿ”— URL Encoded
๐Ÿš€ Quick Examples
๐Ÿ’ก About URL Encoding
What is URL Encoding?

URL encoding is a mechanism to convert characters into a format that can be transmitted over the Internet.

When to Use:
  • โ€ข Query parameters with spaces/special chars
  • โ€ข Form data submission
  • โ€ข API requests with special characters
  • โ€ข File names in URLs
Encoding Methods:

encodeURIComponent(): Encodes all special characters except: A-Z a-z 0-9 - _ . ~
encodeURI(): Preserves URL structure characters like : / ? # [ ] @

Common Encodings:
  • โ€ข Space: %20
  • โ€ข Plus: %2B
  • โ€ข Ampersand: %26
  • โ€ข Question mark: %3F