HTML escape

Escape HTML special characters or decode character references.

Inputs and results stay on your device

Up to 200 KB of input. Content is not sent to a server.

Result

Check the input and settings, then run the tool.

Input is not saved. Copy any results you want to keep.

How to use HTML escape

  1. 01Fill in the text, values or dates for your task.
  2. 02Choose the settings and run the tool.
  3. 03Review the result, then copy it to use elsewhere.

About HTML escape

Escape HTML special characters or decode character references. Decodes amp, lt, gt, quot, apos, nbsp and numeric references. Input is displayed as text, never executed as HTML.

Escape HTML characters for a code example

Using html escape

Escape HTML special characters or decode character references.

Decodes amp, lt, gt, quot, apos, nbsp and numeric references. Input is displayed as text, never executed as HTML.

Try a related tool

Frequently asked questions

What are the limits?

Decodes amp, lt, gt, quot, apos, nbsp and numeric references. Input is displayed as text, never executed as HTML.

Is my input sent or stored?

This tool does not send your input for processing or persist it in browser storage. Leaving the page clears it, so keep any results you need before you leave.

Is it free to use?

Yes. All tools are free, with no account required.