专业的百分比编码和解码,用于安全的URL传输
Encode and decode URLs with real-time processing
专业的URL编码工具,适用于Web开发者、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.