URL Decoder is used to decode portions of the URL that have been encoded using URL encoding and restore them to their original form.
Output: Decoded text
Encode text using u r l encoding for safe transmission in the u r l
View ToolCertain characters need to be encoded (escaped) in URL. This is also called as Percent encoding. Read more at wikipedia
Example Substitutions
Character | Encoded Value |
---|---|
newline | %0A or %0D or %0D%0A |
space | %20 |
" | %22 |
% | %25 |
- | %2D |
. | %2E |
< | %3C |
> | %3E |
\ | %5C |
^ | %5E |
_ | %5F |
` | %60 |
{ | %7B |
| | %7C |
} | %7D |
~ | %7E |
How to do URL encoding in various programming languages
- Language: C#
- Encode:
System.Web.HttpUtility.UrlEncode()
- Decode:
System.Web.HttpUtility.UrlDecode()
- Example: UrlEncode() UrlDecode()
- Documentation: UrlEncode() UrlDecode()
- Language: VB .NET
- Encode:
System.Web.HttpUtility.UrlEncode()
- Decode:
System.Web.HttpUtility.UrlDecode()
- Example: UrlEncode() UrlDecode()
- Documentation: UrlEncode() UrlDecode()
- Language: JavaScript
- Encode:
encodeURI()
- Decode:
decodeURI()
- Example: encodeURI() decodeURI()
- Documentation: encodeURI() decodeURI()
- Language: Python
- Encode:
urllib.urlencode()
- Decode:
urllib.unquote()
- Example: urlencode() unquote()
- Documentation: urlencode() unquote()
- Language: Ruby
- Encode:
uri.URI.escape()
- Decode:
uri.URI.unescape()
- Example: escape() unescape()
- Documentation: Documentation
History
- Oct 1, 2017
- Tool Launched
Comments 0