Developer & Data

HTML Entity Encoder & Decoder

Convert reserved HTML characters to entities or decode entities back to characters.

№ 019Runs locally

What this tool does

HTML Entity Encoder & Decoder. Convert reserved HTML characters to entities or decode entities back to characters.

When to use it

Use it when displaying markup-like text safely or checking how encoded HTML will read.

How to use

  1. Try this sample input first: <p>Tea & cake</p>.
  2. Choose or adjust the options this tool provides; leave unrelated settings at their defaults.
  3. Run the tool and read any validation or status message. Correct the input format before trying again if needed.
  4. Check whether the result matches the example output: &lt;p&gt;Tea &amp; cake&lt;/p&gt;. Then copy or download it.

Your input and files are processed in this browser. They are not uploaded by this toolbox.

Input and output example

Sample input
<p>Tea & cake</p>
Sample output
&lt;p&gt;Tea &amp; cake&lt;/p&gt;