HTML entities encoder and decoder
Escape or unescape HTML entities.
Runs on this device
Input
Ctrl ↵ Add to workflow
More in Developer
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
- Paste your text or HTML into the input.
- Choose Encode or Decode.
- Switch on non-ASCII encoding if the target cannot handle accented letters or symbols.
- 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.