專業百分比編碼和解碼用於安全 URL 傳輸
Encode and decode URLs with real-time processing
專業 URL 編碼工具,適用於網頁開發者、API 設計師,以及安全專業人士
完整 URL 和元件編碼,具有百分比編碼標準合規和驗證
查詢參數、路徑元件,以及複雜 URL 結構的專門編碼
即時編碼和解碼,具有即時驗證和字元分析回饋
全面 URL 結構驗證,具有格式檢查和合規驗證
可自訂編碼設定、批次處理,以及專業設定選項
所有 URL 處理發生在您的瀏覽器中本地,具有完整資料隱私和安全
Common questions about URL encoding and percent encoding
URL encoding (percent encoding) converts special characters like spaces, ampersands, and non-ASCII characters into a format safe for URLs. You need it when passing user input as query parameters, handling file names with spaces, or working with international characters in URLs.
encodeURIComponent encodes everything except letters, digits, and - _ . ~ — use it for query parameter values. encodeURI preserves URL structure characters like :, /, and ? — use it for full URLs. Our tool supports both modes.
Spaces are encoded as %20 in URL paths (RFC 3986) and as + in query strings (HTML form encoding). Our tool handles both standards. Most modern APIs expect %20, while legacy HTML forms use the + convention.
Unicode characters are first converted to UTF-8 bytes, then each byte is percent-encoded. For example, 'é' becomes %C3%A9 (two bytes). Emoji like 🎉 become four percent-encoded bytes. Our tool handles the full Unicode range.
Yes. Missing or double-encoding can lead to URL injection, open redirect vulnerabilities, and cross-site scripting (XSS). Always encode user-supplied values before inserting them into URLs, and decode exactly once on the receiving end.
All encoding and decoding happens locally in your browser. No data is sent to any server. You can safely encode URLs containing API keys, tokens, or sensitive parameters without any privacy concerns.