HTML Entity Encoder / Decoder
Encode and decode HTML entities like & < > ". Free, no signup, works in your browser.
All encoding/decoding happens in your browser. No data is sent to any server.
About HTML Entity Encoder / Decoder
This tool converts special characters like <, >, &, and " into their HTML entity equivalents (< > & ") and back. Encoding prevents browsers from interpreting characters as HTML tags, which is essential for displaying code snippets, preventing XSS attacks, and sanitizing user input. The decoder converts encoded entities back to readable text. Supports all named HTML entities and numeric character references.
Frequently Asked Questions
What characters does the encoder convert?
Why do I need to encode HTML entities?
Does the decoder support named and numeric entities?
Related Tools
Base64 Encode & Decode
Encode text to Base64 or decode Base64 to text
JSON Formatter & Beautifier
Format, beautify, and validate JSON data
URL Encoder Decoder
Encode and decode URL-encoded strings
Diff Checker
Compare two blocks of text and see the differences highlighted
CSS Minifier & Beautifier
Minify CSS to reduce file size or beautify compressed CSS
JavaScript Minifier
Minify JavaScript to reduce file size for production