Php html_entity_decode online

This online php html_entity_decode can be used to apply php html_entity_decode function to a given string.

Input string to apply html_entity_decode

(e.g. <&") (char count: )

Decoded string using html_entity_decode

html_entity_decode usage notes

$decoded_value = html_entity_decode (string $string, $flags=ENT_COMPAT, $encoding=ini_get("default_charset"));
Note that default $flag value ENT_COMPAT will decode double-quotes only (not single quotes). Use ENT_QUOTES to decode both double-quotes and single-quotes. For for information please see official html_entity_decode documentation.

Encoded value for special ascii characters

CharHTML entity


Click here to write/view comments