URL 解碼將 URL 編碼的字元轉換回其原始格式。URL 只能使用 ASCII 字元集通過 Internet 發送,因此特殊字元使用“%”後跟兩個十六進位數位進行編碼。
URL decoding reverses this process, converting encoded characters (like "%20" for a space) back into their original form, making the URL human-readable and easier to process programmatically.
常見用例
解碼從 Web 表單接收的 URL 參數
在 Web 應用程式中處理查詢字串
解碼 API 回應 URL
調試編碼的 URL
在遺留系統中使用編碼數據
URL 解碼示例
特殊字元
%20 → Space ( ) %3F → Question mark (?) %26 → Ampersand (&) %3D → Equals sign (=) %2B → Plus sign (+)