DevToolsHub

HTML Entity Encoder & Decoder

Encode plain text to HTML entities (<, &, etc.) or decode entity strings back to text. Share with ?data= or ?entities= in the URL.

Ad unit (leaderboard)
Ad unit (rectangle)

How to use

  1. Encode: Paste text with special characters; output shows safe HTML entity form for use in attributes or HTML source.
  2. Numeric entities: Check the option to encode every character as numeric codes (e.g. &#65; for A).
  3. Decode: Paste strings like &lt;span&gt; to get plain <span> text.
  4. Use Copy or Share URL to reuse results elsewhere.