Free tools • Fresh ideas

HTML Entity Encoder

Escape characters that have special meaning in HTML.

Processing takes place in your browser.

How to use the HTML Entity Encoder

Paste the result into a text node to display characters literally. HTML escaping is not a JavaScript, CSS or URL sanitiser. Prefer a template engine that escapes for the correct context.

Example input

<strong>Books & maps</strong>

Related tools

Related guides

Browse learning guides