开发工具

URL编码与解码

编码URL并解析参数。

URL编码与解码

由 UtilBrix 提供支持

输入数据保留在浏览器中,无需账户。

详细方法和示例目前以英语提供。

Step-by-step instructions (English)

  1. Choose whole-URI encoding, component encoding, decoding, or query parsing.
  2. Paste the URL, individual parameter value, or query string that matches that mode.
  3. Run the conversion and inspect reserved characters before copying the result.

公式与方法

URI encoding preserves structural characters such as slashes and colons. URI component encoding also escapes those characters, making it suitable for parameter values. Query parsing lists each key-value pair, preserving duplicate parameter keys.

实际示例

The component hello world becomes hello%20world. Query name=Aman&page=2 produces two key-value pairs.

When this tool is useful

Prepare query parameter values, decode escaped URLs, or inspect repeated parameters in a request. Choosing the operation based on whether you have a whole URL or a single value avoids accidentally changing URL structure.

Common mistakes and limitations

  • Encoding a complete URL as a component escapes separators such as slashes and colons.
  • Encoding an already encoded value can turn percent signs into %25 and create unwanted double encoding.

Practical questions about this tool (English)

Which mode should I use for a parameter containing an ampersand?

Encode URI Component protects the ampersand as part of the value so it does not become a separator between parameters.

Why does a plus sign sometimes become a space?

Query-string parsing follows form-style query conventions, where plus commonly represents a space. Direct URI-component decoding follows a different operation; select the mode that matches your source.

相关工具

安装UtilBrix

从主屏幕快速访问工具。

  1. 打开浏览器菜单(⋮)。
  2. 选择“安装应用”或“添加到主屏幕”。
  3. 确认将UtilBrix添加到主屏幕。

如果找不到此选项,请在Android版Chrome中打开页面。

搜索工具

↑ ↓ Navigate · Enter Open · Esc Close