Your files

Each file stays available at its link for 48 hours and is then deleted from our server automatically. You can delete it earlier at any time.

No files yet. Files you convert appear here and stay available for 48 hours.

HTML Encoder / Decoder

Escape text for safe use in HTML, or turn HTML entities back into readable characters — results appear as you type.

Result

Encode and Decode HTML Entities

Characters like <, >, & and quotes have a special meaning in HTML. To show them as text — code samples, user input, attribute values — they must be written as entities such as &lt; and &amp;. Paste text to escape it, or paste HTML with entities to decode it back into plain characters.

Optionally every non-ASCII character can be encoded too, as named entities like &copy; and &euro; or numeric ones like &#1046;, for systems that only accept ASCII. Decoding understands every named and numeric entity. Everything runs in your browser.

Why Use This HTML Entity Converter?

  • Escape <, >, &, " and ' for safe HTML
  • Decode every named and numeric HTML entity
  • Optionally encode all non-ASCII characters
  • Instant, in your browser — nothing is uploaded

How to Encode or Decode HTML

  1. Choose "Encode" or "Decode"
  2. Paste your text or HTML into the input field
  3. Copy the result

Frequently Asked Questions

Is this HTML encoder free?

Yes, it is completely free and has no limits.

Which characters are encoded?

The five characters with a special meaning in HTML: & < > " and '. With the extra option, every character outside ASCII is encoded as well — as a named entity where one exists, otherwise as a numeric entity.

When do I need to encode HTML?

Whenever text should be shown literally on a web page instead of being interpreted as markup — for example code examples, or user input, where escaping also prevents cross-site scripting (XSS).

Is my text sent to a server?

No. Everything happens in your browser.

Related tools

TOP