URL Encode / Decode
Paste a URL to encode in the left editor, or paste an encoded URL to decode in the right editor.
Plaintext
After Encoding
FAQ
What is URL encoding (percent-encoding)?
URL encoding (also known as percent-encoding) is a mechanism for encoding special characters within a Uniform Resource Locator (URL). Since URLs can only contain letters, digits, and a few special symbols, other characters (such as Chinese text, spaces, question marks, equals signs, etc.) must be converted to a `%` followed by two hexadecimal digits.
What does the "Preserve URL Structure" option do?
It skips encoding URL structural characters like http://, /, ?, &, =, and only encodes text such as Chinese characters or spaces. This is ideal for encoding a complete URL link.
Why does decoding show a "Parse Error"?
If the input contains characters that do not conform to percent-encoding rules (e.g., a standalone `%` not followed by two hexadecimal digits, or invalid UTF-8 sequences), the browser will throw an error during decoding. Please check that your string is complete.
Will my data be uploaded?
No. All data on this tool site is processed locally in your browser — no user data or information is ever uploaded or saved.