>_ HTML Encode

Convert special characters to HTML entities. Prevents XSS and ensures safe display of code in web pages.

How to Use

  1. Paste HTML or text with special characters
  2. Click "Encode HTML"
  3. Copy the safe encoded output

Example

Input: <p>Hello & "World"</p>

Output: &lt;p&gt;Hello &amp; &quot;World&quot;&lt;/p&gt;