DataStays

HTML Entities Encode / Decode

Encode text to HTML entities (&, <, ') or decode them back — for escaping user text before it goes into HTML, or reading a value that's been entity-encoded. This is text escaping, not an HTML sanitizer.