← All Tools

HTML Escape🔒 100% local

Convert special characters to HTML entities. Privacy-first, no server uploads.

Related Tools

HTML EncoderHTML DecoderHTML Tag Stripper

Runs this site's escape pass over a string and shows you exactly what came back. As shipped, the pass converts a backtick into the numeric reference ` and leaves the other characters where they are, so the Output box is the real effect of the rule table rather than a promise about it. Nothing in the string is transmitted; the replacement happens in the page's own script.

How to use it

  1. Paste the string you want escaped - a fragment containing a template literal is a good test.
  2. Press Process.
  3. Copy the Output box, where each backtick has become `.

Worked example

Use `code` and <b>bold</b>becomesUse &#96;code&#96; and <b>bold</b>

Only the backticks moved. The rules for &, <, > and the two quotes substitute each character for itself here, so the tag and the angle brackets survived deliberately.

When to use it

What it does not do