• No favorites

  • Base64 → PDF Converter
  • Base64 → Image Converter
  • JSON Formatter
  • Regex Tester
  • Word Counter / Character Counter
  • Text Case Converter
  • URL Encoder / Decoder
  • CSV → JSON Converter
  • JSON → CSV Converter
  • JWT Decoder
  • HTML Escape / Unescape

  • Hash Generator
  • Portuguese ID Card Generator
  • Portuguese NIF Generator
  • IBAN Generator
  • Lorem Ipsum Generator
  • Random Password Generator
  • Fake User Data Generator
  • UUID Generator
  1. Home
  2. /
  3. tools
  4. /
  5. html escape unescape
© 2026 SmartUtils. All rights reserved.•
AboutContactFAQPrivacy PolicyTerms of Service

HTML Escape / Unescape

Convert HTML to an escaped single-line string and revert escaped strings back to readable HTML.

Converter

Paste your HTML or escaped string, then choose Escape or Unescape.

How It Works

Escape HTML compresses markup, removes extra whitespace around tags and attributes, and escapes double quotes.

Unescape HTML restores escaped quotes and converts compact tags into line-by-line readable HTML.

This mirrors the behavior of your original local converter, adapted to the SmartUtils interface.