softpcapps Software CODE HELP BLOG

Shareware and Freeware Open Source Windows Software Applications and Free Online Tools

How to HTML Decode a String

To HTML decode a string do the following :

		string html_decoded_string = HttpUtility.HtmlDecode(text_to_decode);

Please note that you have to also add "using System.Web;" on the top and also add a reference to the System.Web library.

Download Demo Project

Encode Decode Demo Project