AbraCalc

HTML Entity Encoder / Decoder

Encode special characters to HTML entities or decode entities back to plain text, entirely in your browser.

Pure browser JavaScript — uses the DOM text node API.

Embed this tool on your site

How to use this tool

  1. Paste text containing special characters.
  2. Click Encode entities to convert < > & " to < > & ".
  3. Or click Decode entities to reverse.

Encode special characters to HTML entities or decode entities back to plain text, entirely in your browser.

Frequently asked questions

Why encode HTML entities?
To safely embed user-supplied text in HTML without risking XSS injection.

References & sources