HTML Encoder/Decoder
Encode text to HTML entities or decode HTML entities back to plain text. Handles < > & " and more.
HTMLencodedecodeentitiesescapeXSS
Output will appear here...Note: Encoding converts < > & " ' to HTML entities so they display safely in web pages. Decoding reverses this. Not for encryption.
HTML encoding
Converts special characters to HTML entities so they display safely in web pages.
Entities
< > & " ' — prevents script injection and displays reserved chars.
Use cases
User-generated content, escaping output, preventing XSS.
Not encryption
Anyone can decode. Use for display safety, not secrecy.
Frequently Asked Questions
Quick answers about usage, privacy, and best practices.
Privacy: Everything runs locally in your browser. No data is sent to a server.
Privacy First: This tool runs entirely in your browser. No data is sent to any server.