URL Encode & Decode Online Free
Convert special characters in URLs to their percent-encoded equivalents, or decode percent-encoded URLs back to readable text. This free tool runs in your browser for instant, private URL encoding.
How It Works
Encode:
Input: https://example.com/search?q=hello world&lang=en
Output: https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dhello%20world%26lang%3Den
Decode:
Input: %E4%BD%A0%E5%A5%BD
Output: 你好Common Use Cases
- Encoding query parameters for REST API calls
- Decoding URLs copied from browser address bars
- Preparing redirect URLs for OAuth flows
- Encoding form data for application/x-www-form-urlencoded submissions
Frequently Asked Questions
- What is the difference between encodeURI and encodeURIComponent?
- encodeURI encodes a full URI but preserves characters like : / ? & =. encodeURIComponent encodes everything including those characters. This tool lets you choose which mode to use.
- Does this handle Unicode characters?
- Yes. The tool correctly encodes multi-byte Unicode characters into their UTF-8 percent-encoded form, supporting all international characters.
- Is my URL data private?
- Yes. All encoding and decoding happens locally in your browser. No data is transmitted to any server.
100% Private & Secure
This tool runs entirely in your browser. Your files and data never leave your device.