Encoding & Number Bases
HTML Entity Encoder
Convert input into HTML Entity. Enter the data, choose the input and output formats, then copy the result.
This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.
HTML Entity Encoder converts data between formats in your browser. For a correct result, encode only the context that needs entities.
<p>Hi</p> Processing runs in the browser.
Instructions
- Provide text or data for this tool.
- Choose named or numeric entity output.
- Compare the output with a known HTML Entity Encoder sample.
- Keep the original value until the receiving system accepts the result.
Example
Input: <p>Hi</p>
Settings: HTML Entity Encoder: choose named or numeric entity output
Result: <p>Hi</p>
Limits
- HTML Entity Encoder: HTML entity encoding is context-specific
- HTML Entity Encoder: The operation does not detect a different input format automatically.
- HTML Entity Encoder: Processing stays in the browser.