HTML Entity Encoder & Decoder

Encode special characters to HTML entities (< > &) or decode entities back to plain text.

What HTML Entities Are For

In HTML, characters like <, >, and & have special meaning. When you want to show them as plain text, you need entity versions such as &lt; and &gt;. This tool converts text into that safe format or turns encoded text back into readable characters.

Common Use Cases

Is this the same as URL encoding?

No. HTML entity encoding protects text inside HTML documents; URL encoding protects text inside links and query strings.