Quickly convert raw HTML and special characters into safe HTML entities, or decode entity strings back into clean code. Protect against cross-site scripting (XSS) and embed code snippets safely.
0
Input Characters
0
Output Characters
0
Entities Processed
0%
Size Expansion
Raw HTML / Text Source
Safe Escaped Result
How to Use This Tool
- Choose Escape HTML to convert special characters like
&,<,>, and quotes into safe HTML entities. - Choose Unescape HTML to decode existing entity sequences (such as
&,©, or numeric entities) back into raw code. - Enable Escape Unicode to convert international or emoji characters into numeric decimal entities (e.g.
★). - Click Render Preview to test how the browser natively interprets your output.
- Use Swap to switch inputs and outputs back and forth seamlessly.
Entity Reference & Privacy
& → & • < → < • > → > • " → " • ' → '
100% private in-browser string transformation. Nothing is sent to external servers or logged.