URL 编码解码器
在线编码和解码 URL 字符串。将特殊字符转换为 URL 安全格式,反之亦然。
要编码的文本
功能介绍
The URL Encoder & Decoder tool converts special characters in URLs to safe encoded form and back again. It helps you build reliable query strings, debug redirect links, and avoid encoding bugs that break your pages.
什么时候用这个工具?
Use this tool whenever you need to encode or decode URLs: generating share links, debugging callback URLs, working with OAuth redirects, or inspecting complex query parameters.
使用步骤
Choose encode or decode
Decide whether you need to turn plain text into a URL-safe string, or convert an encoded URL back to readable text.
Paste your text or URL
Paste a full URL, query string, or any text containing special characters that need to be encoded or decoded.
Run the conversion
Click the convert button to instantly see the encoded or decoded result in the output area.
Copy the final value
Copy the processed string into your code, configuration, or browser address bar to verify behavior.
使用示例
Building safe query parameters
When a parameter value contains spaces, symbols, or non-ASCII characters, encode it here to avoid broken URLs or misinterpreted values.
Debugging redirect and callback URLs
Paste long, encoded redirect URLs into the decoder to clearly see the original parameters and diagnose integration issues.
