# Turn HTMl entities back to normal text

**URL:** <https://forum.kirupa.com/t/turn-html-entities-back-to-normal-text/286252>\
**Category:** programming\
**Created:** [April 12, 2009, 9:42pm UTC](https://forum.kirupa.com/t/turn-html-entities-back-to-normal-text/286252 "2009-04-12T21:42:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NeoDreamer](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Post date:** [April 12, 2009, 9:42pm UTC](https://forum.kirupa.com/t/turn-html-entities-back-to-normal-text/286252/1 "2009-04-12T21:42:52Z")

</div>

What is the function that does the reverse of **[htmlentities()](http://us3.php.net/htmlentities)**? I want to turn something like **\<b\>bo&nbsp;ld\</b\>** into **\<b\>bo ld\</b\>**.
