Developer Tool

HTML Encode Text

HTML Encode Text helps clean or transform pasted text quickly in the browser. Use it online on EasyTools99.

Tool area

Everything runs in the browser.

Use html encode text when you need a direct text cleanup step without opening another editor or writing a quick script.

How to display reserved characters in HTML

To display a tag as text, paste it into the tool and copy the result into the HTML source. Open the page to see the tag characters without creating an element.

InputOutputExplanation
<strong>&lt;strong&gt;Literal tag in the page body.
A & BA &amp; BAmpersand in text or in an HTML attribute value.
"A"&quot;A&quot;Double quotes inside an attribute delimited by double quotes. In a visual editor that already escapes text, paste the plain text to avoid displaying the entity itself.

Related guides

Previous tool HTML Decode Text Next tool Strip HTML Tags