How to use the URL Encode/Decode
The URL encoder converts special characters into percent-encoded form and decodes them back.
What you need to enter
- Action
- Text
The formula
Characters are replaced by % followed by two hex digits of their UTF-8 bytes.
Worked example
Using the default values in the calculator:
- Action: Encode
- Text: https://example.com/a b?x=1&y=é
| Result | https%3A%2F%2Fexample.com%2Fa%20b%3Fx%3D1%26y%3D%C3%A9 |
Tips for better results
- Encode query values, not the whole URL structure.
- Spaces become %20.
Common mistakes to avoid
- Double-encoding.
- Decoding untrusted input blindly.
Please note: Results are estimates for general use. For safety-critical work such as electrical or building projects, check with a qualified professional and local codes. See our Disclaimer.