HTML Entities Encoder
Escape or unescape HTML special characters safely.
Advertisement
AHow to use
- 01 Paste the text or HTML snippet.
- 02 Click Encode to escape it, or Decode to restore characters.
- 03 Copy the result.
QFAQ
When do I need to encode HTML? +
Whenever code should be displayed as text — tutorial snippets, comments, chat messages. Encoding stops <script> and other tags from being interpreted by the browser.
Which characters are encoded? +
The five that matter in HTML: < > & " and '. Decoding understands all named and numeric entities.