toolpug.com
English

HTML escape

Escape ampersands, angle brackets and quotes for code display.

Input

Example only; use “Try an example” to fill it in.

Load file

Files are processed in this browser, without uploading.

Processed on your device

Result —

Processed on your device · Free to use · No sign-up

Example input and output

Input

<div class="hello">Hello & world</div>

Result

&lt;div class=&quot;hello&quot;&gt;Hello &amp; world&lt;/div&gt;

How to use

  1. Enter or paste your content, or try the example.
  2. Run the tool and review the output.
  3. Copy your result or explore a related tool below.

Input format & limitations

Escape ampersands, angle brackets and quotes for code display.

Frequently asked questions

Do I need to upload data or sign up?

Local tools do not send input. IP and DNS lookups send the query and connection IP to the listed third parties only after a click.

Privacy

You might also need

All tools →