HTML Encode / Decode
Developer ToolsEscape or unescape &, <, >, quotes so markup stays literal.
Calculated Result
<p class="x">A & B</p>
Formula: & < > " ' β HTML entities
About this calculator
Paste a snippet that must sit inside HTML. Encode before you embed it in a page. Decode when you copied entities from a view-source dump.
How It Works & Formula
Formula& < > " ' β HTML entities
Replace & < > " ' with named/numeric entities; decode reverses the same five.