HttpServerUtility.UrlDecode Method


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Decodes a string that was encoded for HTTP transmission and then sent to the server in a URL.

To encode or decode values outside of a web application, use the WebUtility class.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)


URL-decodes a string and returns the decoded string.

System_CAPS_pubmethodUrlDecode(String, TextWriter)

Decodes an HTML string received in a URL and sends the resulting output to a TextWriter output stream.

Return to top