HTML Entity Encoder / Decoder
Encode special characters to HTML entities or decode entities back to characters. Prevent XSS and display issues.
Frequently Asked Questions
What are HTML entities?
HTML entities are special codes that represent characters which have special meaning in HTML, such as < (<), > (>), and & (&).
Why encode HTML entities?
Encoding prevents browsers from interpreting characters as HTML tags, which prevents display issues and XSS security vulnerabilities.
What characters need encoding?
At minimum: < > & " and '. Any non-ASCII character can also be encoded using numeric entities.