HTML Escape Tool

Quickly encode and decode HTML special characters

Waiting for raw HTML string...

Instructions

  • Enter or paste the raw character blob you want to convert into the left input area.
  • Click 'HTML Escape' to safely convert special markup characters (angle brackets, quotes, etc.) into safe browser entities such as lt, gt, amp.
  • Click 'HTML Unescape' to reverse the operation, bringing encoded entities back to human readable symbols.
  • This process runs entirely offline and strictly in your browser. None of your private code snippets will ever leak to the internet.

Common HTML Entities Reference Table

CharacterEntity NameEntity NumberDescription
<&lt;&#60;小于号 (Less than)
>&gt;&#62;大于号 (Greater than)
&&amp;&#38;和号/由于号 (Ampersand)
"&quot;&#34;双引号 (Double quote)
'&#39;&#39;单引号 (Single quote)