HTML Encode
Encode markup so it can be shown as text in HTML.
Try this example
Encode the sample. The angle brackets and ampersand become HTML entities.
<p>Tea & coffee</p>Expected result
<p>Tea & coffee</p>Choose this when displaying markup as a literal example in HTML text. Other output contexts can require different escaping.
Related walkthrough · Prepare a safe test copy before using an online tool