Escape HTML special characters into named or numeric entities, or decode existing entities back into plain text. Handles ampersands, angle brackets, quotes, and non-ASCII Unicode characters entirely in your browser.
HTML uses characters such as <, >, and & as part of its syntax. When those characters must appear as literal text, they are written as entities. Encoding and decoding entities is a routine task when escaping content, debugging rendered markup, or migrating legacy HTML.
<div>Price: $10 & stock > 5</div>
<div>Price: $10 & stock > 5</div>
Format messy HTML into clean, consistently indented markup with configurable indentation.
Encode and decode URLs and query parameters with percent-encoding and UTF-8 support.
Test regular expressions in real-time with match highlighting and preset cheatsheets.