logo

Text

HTML Entities

Encode & decode HTML entities with minimal or full escaping, live preview, and double-encoding protection. Crafted by Tolyo.

TextTrending
Input
Chars: 158Lines: 3Entities: 5
Mode & Options

Include " and ' in escaping.

Prevent double-encoding (keeps  , etc.).

Convert characters above ASCII (e.g. € → €).

Live Preview
Encoding
<div class="price">Tom & Jerry — 5 < 10 & "good"</div> Euro: € Snowman: ☃ Non-breaking space:   Already encoded: &lt;strong&gt;safe&amp;sound&lt;/strong&gt;
Result

Tips

  • Use Encode to safely render user text on web pages (&, <, >, quotes).
  • Turn on Protect existing entities to avoid double-encoding strings that already contain entities.
  • Non-ASCII → entities helps when transporting text through ASCII-only systems.
HTML Entities — Tolyo | Encode & Decode · Tolyo