Skip to content
Text Mechanic
Encoding

HTML Encode

Escape the characters that carry meaning in HTML.

Replaces <, >, &, " and ' with their entity equivalents, so the text displays literally instead of being parsed as markup. This is the transformation that turns a would-be script tag into visible text, which is why it matters anywhere user input is rendered into a page.

Options

Emits numeric references such as &#233; for é.

InputText is processed entirely in your browser.
0lines0words0characters0 B
Output
0lines0words0characters0 B

Options explained

  • Also escape all non-ASCII charactersEmits numeric references such as &#233; for é.