首页
Tom Utilities

URL 编码 / 解码

编码与解码

对文本进行百分号编码以用于安全 URL,或将编码后的 URL 解码为文本。

输入

结果

使用方法

Encoding URLs

Encode uses the component encoder so reserved characters become percent escapes. Decode reverses it.

  1. Paste a URL or text.
  2. Press Encode or Decode.
  3. Copy the result.

常见问题

Which characters are encoded?

Everything except the unreserved set A to Z, a to z, 0 to 9, dash, underscore, dot and tilde.

Does it encode spaces as plus?

No, spaces become percent twenty because that is correct for URL components.