HTML Entity Encoder & Decoder

Encode reserved HTML characters into safe named or numeric entities to prevent XSS and rendering bugs, or decode entities back to readable text.

Input Text / HTML0 chars
Converted Output

What are HTML Entities?

In HTML, characters like <, >, and & are reserved because they define tag syntax. To display these characters as text in web browsers without breaking HTML parsing, they must be converted into character entities.