InovoTools
Developer Tools

HTML Entity Encoder and Decoder with Formula and Worked Examples

Encode special characters as HTML entities or decode common named and numeric entities. Paste or type your input and read the result straight away. “<tag>” encodes as “&lt;tag&gt;”.

01

Your inputs

Start with the example, or enter your own values.

Processed in your browser. Your inputs stay on this device.

02

Your result

A little clarity, coming right up.

Make room for the answer.

Enter your values and run the tool. Your result will appear here.

How to use the HTML Entity Encoder and Decoder

Enter the text or HTML entities and the result appears straight away. Everything runs in your browser, so nothing you type is uploaded.

How it works

Replaces common HTML special characters and decodes supported entities.

Examples

  • With the default values
    &lt;InovoTools &amp; global&gt;

Limitations and assumptions

This is not a complete HTML sanitizer and must not be used as the only defence against XSS.

Frequently asked questions

What does the HTML Entity Encoder and Decoder do?

Encode special characters as HTML entities or decode common named and numeric entities.

How does the HTML Entity Encoder and Decoder work?

Enter the text or HTML entities and the result appears straight away. Everything runs in your browser, so nothing you type is uploaded.

What should I keep in mind when using the HTML Entity Encoder and Decoder?

This is not a complete HTML sanitizer and must not be used as the only defence against XSS.

Can I see an example of the HTML Entity Encoder and Decoder?

“<tag>” encodes as “&lt;tag&gt;”.

Is the HTML Entity Encoder and Decoder free to use?

Yes. It is free, needs no account and runs in your browser.