Skip to main content
SwiftTools

HTML Entities Encoder

Free HTML entities encoder and decoder. Encode or decode HTML entities like & and < instantly.

Encoded
Tom & "Jerry" < site
Decoded
Tom & "Jerry" < site

Encoding and decoding happen in your browser. Nothing is uploaded.

About HTML Entities Encoder

Encode special characters to HTML entities or decode them back to readable text for safe markup. It runs locally in your browser.

How to use it

  1. 1Enter your text.
  2. 2Choose encode or decode.
  3. 3Read the result.

Examples

Encode

Input
Tom & "Jerry" < site
Result
Tom &amp; &quot;Jerry&quot; &lt; site

Frequently asked questions

Why encode HTML entities?

Encoding characters like &amp; &lt; &gt; &quot; prevents them from being read as HTML tags, so your text displays correctly.