How this tool computes its result
Encodes text via sequential replacements: & -> &, < -> <, > -> >, " -> ", ' -> '. Decoding leverages a textarea element set to innerHTML with the input; reading its value returns the decoded string. This works because the browser's HTML parser automatically decodes entities assigned to textarea.innerHTML. Both transformations are synchronous in-memory operations with no network calls.
