HTML Decode Example in PHP

    $str = '<h1>Hello Brother ! </h1>';
    echo html_entity_decode($str);

HTML Decode Example in C#

    var str = "<h1>Hello Brother ! </h1>";
    var result = HttpUtility.HtmlDecode(data);

How HTML Encode Decode Online?

You can easily decode HTML encoded string using this online tool. To decode just enter encoded html string into the textbox provided and press decode button.


You can also check similar HTML Encode tool.