How to Use the HTML Entity Encoder and Decoder: Steps and a Worked Example
Encode special characters as HTML entities or decode common named and numeric entities. This guide shows what to enter, a worked example, and the limits to keep in mind. The HTML Entity Encoder and Decoder tool is free, needs no account and runs in your browser.
What you need
- Text or HTML entities, for example <InovoTools & global>
- Action: choose Encode entities, Decode entities
Step by step
- Open the HTML Entity Encoder and Decoder tool.
- Fill in Text or HTML entities.
- Choose Action.
- Read the result, which updates as soon as the inputs change.
Worked example
With these inputs:
- Text or HTML entities: <InovoTools & global>
- Action: Encode entities
the tool returns:
<InovoTools & global>
How it works
Replaces common HTML special characters and decodes supported entities. Enter the text or HTML entities and the result appears straight away. Everything runs in your browser, so nothing you type is uploaded.
Things to keep in mind
This is not a complete HTML sanitizer and must not be used as the only defence against XSS.
Related tools
If this is not quite what you need, try HTML Entity Decoder, Base64 Encoder and Decoder or URL Encoder and Decoder.