Skip to main content

Encoding & Number Bases

HTML Entity Encoder

Convert input into HTML Entity. Enter the data, choose the input and output formats, then copy the result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Options

Your result appears here

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

  1. Provide text or data for this tool.
  2. Choose named or numeric entity output.
  3. Compare the output with a known HTML Entity Encoder sample.
  4. 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: &lt;p&gt;Hi&lt;/p&gt;

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.