Encode or decode HTML and XML entities. Escape special characters for safe display in web pages. Built for developers and technical teams who need fast, accurate, repeatable workflows.
HTML encoding converts special characters into HTML entities so they display correctly in web browsers. Characters like <, >, &, and quotes have special meaning in HTML and must be escaped to prevent rendering issues or security vulnerabilities like XSS attacks.
XML encoding is similar but follows stricter rules. The main difference is that XML uses ' for apostrophes while HTML uses '. Both are essential for building secure, well-formed web documents.
Enter or paste your HTML or text in the input field.
Select Encode or Decode mode.
The result is generated automatically. Click to copy.
Developer utilities