HTML Encode / Decode

Escape text into HTML entities or decode entities back to text, in your browser.

How to use HTML Encode / Decode

  1. Type or paste your text.
  2. Click Encode or Decode.
  3. Copy the result from the output box.

HTML Encode / Decode

Encoding replaces characters like &, <, >, " and ' with HTML entities so text displays safely inside markup; decoding reverses it. Everything runs locally in your browser, so your text is never uploaded.

Is my text uploaded?
No. The conversion runs entirely in your browser using JavaScript.
Is there a size limit?
Only your device's memory; there are no server-side limits.

Related tools