Skip to main content

HTML Entity Encoder

Convert HTML special characters to entities and back. Supports & < > and numeric character references.

Common HTML Entity Reference

&โ†’&
<โ†’&lt;
>โ†’&gt;
"โ†’&quot;
'โ†’&#39;
/โ†’&#x2F;
`โ†’&#x60;
=โ†’&#x3D;
Share this tool
๐Ÿ“–

How to Use

Step 1

Input

Input

Paste your HTML code or text into the input field

Step 2

Select

Select

Choose encode or decode mode

Step 3

Result

Result

Results are displayed in real-time, ready to copy

โœจ

Features

Real-time Conversion

Encoding and decoding results appear as you type

XSS Prevention

Use for HTML escaping to prevent injection attacks

Browser-based

All processing happens in your browser

โ“

FAQ

HTML entities are alternative representations for characters with special meaning in HTML (< > & "). For example, < is written as &lt;.