Tiny Online Tools logoTiny Online Toolssearch搜索工具…grid_view全部工具
首页chevron_right开发者工具chevron_rightURL 解码器URL 解码器

URL 解码器

解码编码的 URL。

相似工具

URL 编码器

URL 编码器

对 URL 进行编码以安全传输。

Base64 解码器

Base64 解码器

解码 Base64 编码的文本。

Base64转图片

Base64转图片

将Base64字符串解码为图片文件。

JSON 格式化工具

JSON 格式化工具

格式化和美化 JSON 数据。

删除重复行

删除重复行

删除重复行从 text.

文本转 snake_case

文本转 snake_case

把句子和短语转换为 snake_case 格式。

HTML 转 Markdown

HTML 转 Markdown

将 HTML 标记转换为干净易读的 Markdown 文本。

apps

更多工具

浏览我们完整的免费在线工具集合。

解码 Percent-Encoded URLs & Query Strings

URLs can't contain certain characters—spaces, special punctuation, non-ASCII characters. So 浏览器s and servers percent-encode them: replacing special characters with % followed by their hexadecimal code. A space becomes %20, a slash becomes %2F, and emoji become multi-character sequences. When you copy URLs from 浏览器s or logs, they often appear heavily encoded and are nearly unreadable. This URL 解码r instantly 转换s them back to human-readable form.

Drop in an encoded URL or query string and see the original, 解码d version immediately.

What Gets 解码d

Percent-Encoded Characters: Any %XX sequence (where XX is hex) 转换s back to its character:

  • %20 → space
  • %2F/
  • %3A:
  • %26&
  • And so on for all 256 possible byte values

Unicode Sequences: Multi-byte UTF-8 encoded characters (like emoji or non-ASCII characters) are properly reassembled from their percent-encoded parts.

Preserves Structure: The rest of the URL (scheme, domain, path, fragment) remains intact, so you get a fully readable URL.

Why You Need This

URL Inspection: 浏览器 address bars often show 解码d URLs, but logs, API responses, and HTTP headers show encoded versions. Decoding makes them readable for debugging.

API Debugging: When inspecting API requests and responses, URLs are percent-encoded. 解码 them to understand what URLs were being called and what parameters were sent.

Log Analysis: Server logs, 浏览器 console logs, and request logs all contain percent-encoded URLs. Decoding helps you quickly understand which resources were accessed.

Query Parameter Inspection: URL query strings are heavily encoded. 解码 the entire URL to see parameter names and values clearly:

  • Encoded: https://example.com/search?q=hello%20world&category=tech%2Fai
  • 解码d: https://example.com/search?q=hello world&category=tech/ai

Redirect Debugging: When investigating redirects, encoded redirect URLs are hard to read. 解码 them to understand where the redirect goes.

Error Reporting

If the URL contains malformed encoding (odd number of hex digits after %, invalid hex characters, etc.), the tool reports the specific error. This helps you identify and fix encoding issues.

Common Debugging Scenarios

Network Tab Inspection: Copy a URL from the 浏览器 DevTools Network tab (which shows encoded URLs) and paste it here to read it clearly.

CI/CD Logs: Deployment logs often contain percent-encoded URLs. 解码 them to verify the right resource was accessed.

Email URLs: URLs in emails are sometimes encoded. 解码 to verify they're safe before clicking.

Database Content: If URLs are stored in your database, they may be encoded. 解码 them for readability and verification.

OAuth & API Flows: Redirect URLs in OAuth flows and API documentation are often percent-encoded. 解码 to understand the flow.

One-Click Copy

解码d output copies to your 剪贴板 with a single click. Paste directly into your 浏览器, documentation, or testing tools.

100% Local Decoding

Decoding happens entirely in your 浏览器 using standard JavaScript functions. Your URLs never leave your machine, so you can safely 解码 URLs containing sensitive in格式化ion, internal paths, or proprietary data.