How to use it
- Paste the plain text you want to display literally.
- Select Escape HTML.
- Copy the encoded text into the appropriate HTML text context.
Common questions
- What happens to < and &?
- The tool replaces them with entity references so HTML parsers display the characters instead of interpreting markup.
- Is this a complete HTML sanitizer?
- No. Use context-appropriate escaping and sanitization for HTML attributes, scripts, CSS, and untrusted HTML documents.
The tool processes your input in this browser. It does not upload the input itself.