Encode & Decode HTML Entities
Convert special characters to HTML entities for safe display in web pages.
HTML entities are special codes that represent characters that have special meaning in HTML, like < > &. Encoding prevents XSS attacks and ensures characters display correctly.
| < | < | Less than |
| > | > | Greater than |
| & | & | Ampersand |
| " | " | Quote |
| ' | ' | Apostrophe |
| © | © | Copyright |
Convert characters like < > & to safe HTML entities
Convert HTML entities back to readable characters
<script>alert('Hacked!')</script>
<script>alert('Hacked!')</script>