HTML Entity Encoder/Decoder


Output:

Encode: Converts special characters (&, <, >, ") to HTML entities.
Decode: Converts HTML entities back to readable characters.
Learn about XSS prevention.

'; inputText.value = testInput; updateOutput(); });