URL Encoder/Decoder
Features
- Encode URLs: Convert special characters in URLs into their percent-encoded format.
- Decode URLs: Convert percent-encoded URLs back into their original format.
- Direct Input: Paste or type the URL you want to encode or decode.
- Instant Results: View the encoded or decoded output immediately.
How to Use
-
Input URL:
- Enter the URL you want to encode or decode in the input area.
-
Select Operation:
- To Encode: Click the "Encode" button to convert the URL into its percent-encoded format.
- To Decode: Click the "Decode" button to convert the percent-encoded URL back into its original format.
-
View and Use Results:
- The output will be displayed in the results area below.
- Use the copy button to copy the result.
What is URL Encoding?
URL encoding converts special characters in a URL into a format that can be transmitted over the Internet. For example, a space is encoded as %20. This ensures that URLs are properly interpreted by web servers and browsers.
Example
URL Encoding Example
Input URL:
https://example.com/search?q=hello world&lang=en
Encoded URL:
https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dhello%2520world%26lang%3Den
URL Decoding Example
Encoded URL:
https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dhello%2520world%26lang%3Den
Decoded URL:
https://example.com/search?q=hello world&lang=en