🔗 URL Encoder/Decoder
Encode and decode URLs with percent encoding
💡 Quick Examples
📚 URL Encoding Reference
📖 About URL Encoding
What is URL Encoding? URL encoding (percent-encoding) converts characters into a format that can be transmitted over the Internet. Special characters are replaced with a % followed by their hex value.
encodeURIComponent encodes all characters except: A-Z a-z 0-9 - _ . ! ~ * ' ( )
Use for: query parameters, form data
encodeURI preserves URL structure characters like : / ? # [ ] @
Use for: complete URLs where you want to keep the structure
Form encoding (+) is like encodeURIComponent but represents spaces as + instead of %20. Common in HTML form submissions.