Text Lab
Text to HTML escape
Escape &, <, >, quotes for safe HTML, optionally wrapping paragraphs in <p> and lines in <br>.
- 1Fill in the values
- 2Click Run
- 3See results instantly
Limits
- Escapes the five HTML-significant characters only; other characters are left as typed.
- Output is text to copy; it is never rendered as HTML here.
Ask the AI chat
The AI chat can run this tool for you. Try:
- “html escape: <b>Tom & Jerry</b>”
- “html escape "a < b"”