development tool

HTML Entity Escape and Restore

Convert common special characters and numeric character entities in HTML.

HTML Entity Escape and Restore User manual

  1. Fill in the parameters or select the file according to the form, and check the unit and format first.
  2. Convert <div> to a physical form that can be displayed as a text.
  3. Click the processing button to view the results, you can copy or download and save.

Calculation method and processing rules

Encoding processing &, angle brackets and quotation marks; decoding processing AMP, LT, GT, quot, APOS, NBSP and decimal/hex digital entities.

scope of use

Only do one round of conversion, do not contain all the HTML named entities, not XSS filters; the output is always displayed as text.

Can HTML entity conversion prevent all script injections?

Can't. It is a text conversion tool, and it is not known that the output will be put into the HTML, attribute, CSS or script context. The decoding results are only displayed as text on this site, and they still need to be safely processed according to the specific context when using them in other systems.

Will the input content be saved on the server?

This tool handles input in the browser, and does not upload files or form content. Typing practice scores are only saved in the native browser.

Why may the result be different from other tools?

Only do one round of conversion, do not contain all the HTML named entities, not XSS filters; the output is always displayed as text. Please compare the input unit, rounding method, applicable rules and data version first.