HTML entity encoder and decoder

Safely show code or special characters in HTML, or turn entities back into plain text.

How to encode HTML entities

  1. 01Choose Encode, Encode (+ non-ASCII) or Decode.
  2. 02Paste your text.
  3. 03Copy the output.

FAQ

No. Everything runs in your browser with JavaScript. Nothing you type is uploaded, and closing the tab clears it.