HTML Entity Encode / Decode
Encode special characters like `<`, `>`, `&`, and `"` into HTML entities, or decode entities back to their original characters. Named and numeric entities are both supported.
Runs locally in your browser
Plain text
0 chars · 1 line
Encoded HTML
Output will appear here…
Related tools
About HTML Entity Encode / Decode
Encode special characters like `<`, `>`, `&`, and `"` into HTML entities, or decode entities back to their original characters. Named and numeric entities are both supported.
HTML Entity Encode / Decode is part of FizzKit — a collection of focused, browser-based tools. Because everything runs locally, it works offline once loaded and never exposes your data to a remote server.
Frequently asked questions
Whenever user input is rendered into HTML. Encoding prevents XSS by neutralizing `<script>` tags and attribute-break attacks.