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.
