HomeToolboxURL Encoder/Decoder

URL Encoder/Decoder

Encode or decode URL query parameters and components with full UTF-8 support.

Encode or decode strings using Percent-encoding (URL Encoding). Features standard component encoding and full character encoding options. Essential for fixing query parameters, encoding Chinese characters in links, and sanitizing path inputs.

How to use

  1. 1Enter or paste the URL or plain text to modify
  2. 2Click 'Encode' or 'Decode' button
  3. 3Choose encoding range options if encoding
  4. 4Copy the formatted result generated instantly in the output panel
正在载入 URL 编解码引擎...

FAQ

encodeURI vs encodeURIComponent?
encodeURI keeps structural characters like / ? = for whole URLs. encodeURIComponent escapes everything—use for query parameter values.
How are Chinese and emoji encoded?
UTF-8 bytes become percent-escapes, e.g. Chinese characters to %E4%B8%AD%E6%96%87; emoji follow the same rules.
Are + and %20 the same when decoding?
In application/x-www-form-urlencoded, + often means space. The decoder applies standard rules to avoid double-decoding.