HTML Escape
Escape &, <, >, " and ' so a string is safe to embed inline in HTML.
HTML Escape converts only the five characters that can break out of markup — &, <, >, " and ' — so a string is safe to drop inside an HTML attribute or render as literal text. Use HTML Encoder instead when you want a full entity encoding of the whole document, including slashes, backticks and equals signs.
Input
Output
Output will appear here…