HTML Entity Converter

Escape or unescape HTML entities — keep code visible and safe. Convert text to HTML entities or decode entities back to plain text. Escape &, <, >, quotes and non-ASCII characters. Free online HTML encoder.

Alat ini berjalan 100% di peramban Anda. Masukan Anda tidak pernah dikirim ke server mana pun — Anda bahkan bisa offline setelah halaman dimuat.

Tentang HTML Entity Converter

If you paste raw code into a web page, the browser tries to render it — turning your example snippet into a broken layout. Escaping converts characters like &lt; and &amp; into safe entities so they display literally, and it is the first line of defence against accidental HTML injection in user content. This converter escapes only what is necessary (or everything, including non-ASCII, for maximum portability) and decodes existing entities back to readable text.

Cara memakai HTML Entity Converter

  1. Paste the text or HTML you want to convert.
  2. Click Encode to escape, or Decode to unescape.
  3. Toggle full escaping if you need non-ASCII covered.
  4. Copy the entity-safe result.

Fitur utama

Which characters must always be escaped in HTML?
The ampersand (&), less-than (<) and greater-than (>) must be escaped whenever they are not part of real markup; quotes matter inside attribute values.
What do &amp;nbsp; and numeric entities mean?
Named entities like &nbsp; are readable aliases; numeric ones like &#8212; refer to unicode code points directly. This tool decodes both.

Alat Alat Pengembang terkait

Lebih banyak utilitas dari kategori yang sama.

Lihat semua →