100% Local Browser Processing · Zero Data Leaves Your Device
HTML Entity Encoder & Decoder
Safely escape HTML characters for code snippets and templates, or decode named and numeric HTML entities back into readable text.
Input 0 chars
Output 0 chars
Ready — 100% client-side processing.
Example: Escaping HTML for Documentation
Convert <script>alert('hi')</script> into <script>alert('hi')</script> or decode scraped entities back to UTF-8.
Frequently Asked Questions
Does it decode numeric (©) and hex (') entities?
Yes, both named entities and decimal/hexadecimal numeric character references are supported.
Is it safe for untrusted HTML?
Yes, SafeParse processes text purely with string/regex operations without injecting it into the DOM.