Back to Tools
Encoding & DecodingAvailable

HTML Entity Encoder

Encode special characters into HTML entities to safely embed user content in HTML, or decode entities back to plain text. Useful for preventing XSS vulnerabilities.

Quick presets

Plain text / HTML
HTML entities
Output will appear here…