Url Encode Url Decoder
More Tools
Other tools: Base64 Decode | Base64 Image Decoder | Base64 Encode | Base64 Image Encoder

C# UrlDecode()

UrlDecode - decodes a string and returns the decoded string.

Function

public string UrlDecode( string s )

Parameters

s - The text string to decode.

Return value

Type: System.String - The decoded text.

Example
String EncodedString = "url+decode";
String DecodedString = Server.UrlDecode( EncodedString );
Response.Write( "http://example.com/?param=" + DecodedString );
Output
http://example.com/?param=url encode