HTML Escape / Unescape
Escape HTML special characters or unescape HTML entities.
HTML Escape converts special characters (&, <, >, ", ') into their HTML entity equivalents so they render as literal text in HTML. Unescape does the reverse.
How to Use
- 1
Paste your text or HTML
Enter the text containing special characters like <, >, &, or " that you want to display safely in HTML.
- 2
Escape or Unescape
Click "Escape" to convert special characters to HTML entities, or "Unescape" to reverse the encoding.
- 3
Copy the result
Copy the output and embed it safely in your HTML template, CMS, or email.
Frequently Asked Questions
- & → &, < → <, > → >, " → ", and ' → '.
Related Tools
CSS FormatterMinify or beautify CSS stylesheetsJS FormatterMinify or beautify JavaScript codeHTML FormatterBeautify or minify HTML markupHTML StripperRemove all HTML tags to extract plain textHTML EntitiesSearchable reference for all HTML entity codesSQL FormatterBeautify and format SQL queriesXML FormatterFormat, validate, and minify XML documents instantlyYAML ValidatorValidate YAML syntax and preview parsed structure