HTML entity converter

Paste text and pick encode or decode.

HTML entities escape special characters so they display safely in HTML: &, <, >, " and '. "5 < 6 & 7 > 2" encodes to "5 < 6 & 7 > 2". All in your browser.