HTML Entities

About HTML Entities

Escape characters such as <, > and & into HTML entities so they display as text, or decode entities back to plain characters. You can also encode every non-ASCII character. It runs on your device.

How to use HTML Entities

  1. Paste your text or HTML into the input.
  2. Choose Encode or Decode.
  3. Switch on non-ASCII encoding if the target cannot handle accented letters or symbols.
  4. Copy the result.

Questions and answers

When should I escape HTML?

Whenever you want markup characters shown as text on a web page instead of being read as tags.

Does escaping make user input safe?

It is one part of output safety, but escaping by hand is no substitute for your framework's own escaping and a proper security review.

Does it send my text anywhere?

No.

Related tools