免费URL编码器和解码器
使用百分比编码(RFC 3986)对URL进行编码和解码。
Frequently Asked Questions
What is URL encoding and why is it needed?
URLs can only contain a limited set of characters. Special characters (spaces, &, =, ?, #, etc.) must be percent-encoded as %XX where XX is the hex ASCII value. Without encoding, browsers misinterpret the URL structure.
What is the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URL and leaves URL structure characters (/, ?, &, =, #) alone. encodeURIComponent encodes everything except letters, digits, and - _ . ! ~ * ' ( ) — use it for query parameter values.
How is a space encoded in a URL?
Standard URL encoding converts space to %20. HTML form encoding converts space to + (plus sign). Both are valid in different contexts — query parameters in HTML forms often use +.
Can I encode a full URL with query parameters?
Enter just the query parameter values for encoding, not the full URL. Encoding the full URL would encode the slashes and colons too, breaking the URL structure. Encode individual parameter values, then assemble the URL.
What characters don't need URL encoding?
A-Z, a-z, 0-9, and the unreserved characters - _ . ~ are safe in any URL context and don't need encoding. Everything else should be percent-encoded when used in query string values.
Is the URL编解码 free to use?
Yes, the URL编解码 on Allio Tools is completely free with no sign-up or registration required. It works directly in your browser.
How does the URL编解码 work?
使用百分比编码(RFC 3986)对URL进行编码和解码。 No data is sent to a server — everything runs locally in your browser for maximum privacy and speed.
Do I need to install anything to use the URL编解码?
No installation needed. The URL编解码 runs entirely in your web browser on any device — desktop, tablet, or mobile.
Is my data safe when using the URL编解码?
Completely safe. The URL编解码 processes everything locally in your browser. No input data, results, or usage information is ever transmitted to or stored on any server.
Does the URL编解码 work offline?
After the page loads for the first time, the URL编解码 works without an internet connection for all client-side processing. Tools that fetch live external data (such as DNS or network lookups) require an active connection.
Can I use the URL编解码 output in commercial projects?
Yes. The URL编解码 is a utility tool and its output carries no licensing restrictions. You are free to use results in any project, commercial or personal.
Does the URL编解码 follow official standards?
Yes. The URL编解码 is built to comply with the relevant industry standard or specification for this utility type. If you encounter an unexpected result, verify your input against the specification — edge cases outside the standard may produce undefined behaviour.
Does the URL编解码 work on all browsers?
Yes. The URL编解码 is built with standard browser APIs and works on all modern browsers including Chrome, Firefox, Safari, and Edge — on both desktop and mobile. No plugins, extensions, or third-party software are required.
How do I save or export my results from the URL编解码?
Select and copy the result text to paste into any document or app. For image tools, a Download button saves the file directly to your device. Your browser's built-in screenshot function also captures results quickly. No account or login is required.