About this tool
Convert characters to HTML entities and back for safe rendering in web pages, email templates, and XML-like documents.
Your input is processed in the browser. We do not upload tool payloads to our servers.
Common use cases
- Escape user input before displaying in HTML.
- Decode entities copied from web pages into plain text.
- Prepare snippets for documentation that must show literal angle brackets.
Examples
Escape angle brackets
<script> becomes <script> when encoded for HTML context.
FAQ
- When should I use entities vs escaping in code?
- Prefer framework auto-escaping in apps. This tool helps for static HTML, emails, or quick checks.