URL Encode/Decode
Percent-encode or decode URLs to ensure parameters are correct during network transmission.
Encode
Decode
Input Content
Output Result

                  

What is URL Encoding?

URL encoding (also known as percent-encoding) is a mechanism for encoding information in a Uniform Resource Identifier (URI).

🎯

Key Benefits

  • Safe transmission
  • Special character handling
  • Standard compliance
📋

Content

  • Query parameters
  • Path segments
  • Special symbols
🚀

Scenarios

  • API requests
  • Deep links
  • Form submission
💎

Features

  • RFC 3986 standard
  • UTF-8 support
  • Reversible

How to Use

  • Enter text
  • Select mode
  • Click execute
  • Copy result

FAQ

encodeURI vs encodeURIComponent?
encodeURI encodes the entire URL but skips characters with special meaning (: / ? #); encodeURIComponent encodes all special characters, ideal for query parameters.
Why encode Chinese?
URLs only allow specific ASCII characters; non-ASCII characters like Chinese must be encoded for reliable transmission.