REKLAMA 728×90
<>

HTML Encode / Decode

Encode and decode HTML entities (&amp; &lt; &gt; etc.).

About this tool

Processing happens directly in your browser. No files are uploaded to the server.

HTML Encode converts special characters (< > & \" ') to safe HTML entities so they render as text in a browser instead of being interpreted as markup. Decode does the reverse.

How to use

  1. 1 Paste your text into the input box.
  2. 2 Choose Encode or Decode mode.
  3. 3 The result appears instantly.
  4. 4 Copy the output for use in HTML, emails or code.

Frequently asked questions

Which characters are encoded?

< → &lt; > → &gt; & → &amp; \" → &quot; ' → &#39;

What is the \"Full Unicode\" option?

It encodes every non-ASCII character as a numeric entity (&#xxxx;), safe for all encodings.

When should I use HTML encoding?

When inserting user-generated content into HTML to prevent XSS attacks.

Is my data uploaded?

No. Everything runs locally.