100% Private

URL Encoder & Decoder Tools

URL Percent-Encoding

URLs can only contain certain characters safely. Spaces, special characters, and non-ASCII characters must be percent-encoded—converted to %XX format where XX is the hex value. This ensures URLs transmit correctly through all systems.

Reserved Characters

These characters have special meaning in URLs and need encoding when used literally:

  • Delimiters: / ? # [ ] @
  • Sub-delimiters: ! $ & ' ( ) * + , ; =
  • Percent sign: % (must be encoded as %25)
  • Space: Encoded as %20 or + in query strings

encodeURI vs encodeURIComponent

encodeURI encodes a complete URL, preserving characters like : / ? & that structure URLs. Use for encoding entire URLs.

encodeURIComponent encodes everything except alphanumerics. Use for encoding individual parameter values in query strings.

Unicode Support

Modern URLs support international characters through UTF-8 encoding. A Japanese character becomes a multi-byte percent-encoded sequence. Our encoder handles Unicode correctly for international URLs.


Privacy Notice: This site works entirely in your browser. We don't collect or store your data. Optional analytics help us improve the site. You can deny without affecting functionality.