ToolMill.io

HTML Entity Encode / Decode — Escape & Unescape HTML

HTML Entity Encode / Decode converts special characters like <, >, &, and quotes into safe HTML entities (and decodes them back). Use it when working with HTML attributes, templates, CMS editors, Markdown docs, or when debugging copy/paste issues. Handles common named entities (e.g. &lt;, &gt;, &amp;, &quot;) and numeric entities. Runs 100% locally in your browser — no uploads — and works offline after installing ToolMill as a PWA.

кодирование

Попробуй.

Примеры

Закодировать HTML для объектов
Ввод
<div>"x" & y</div>
выход
&lt;div&gt;&quot;x&quot; &amp; y&lt;/div&gt;
Декодировать HTML-объекты
Ввод
&lt;span title=&quot;Tom &amp; Jerry&quot;&gt;5 &amp;lt; 10&lt;/span&gt;
выход
<span title="Tom & Jerry">5 < 10</span>

Связанные инструменты