FileBrixNo upload · Private
Processed locally — your file never leaves your device

HTML Encode

Encode text to HTML entities (&, <, >, ", ') entirely in your browser.

How it works

  1. Paste text, or open a file.
  2. Click Encode.
  3. Copy or download the HTML-encoded result.

Frequently asked questions

Is my text sent anywhere?
No. Encoding happens entirely on your device.
Which characters are encoded?
The 5 predefined HTML/XML entities: & → &amp;, < → &lt;, > → &gt;, " → &quot;, and ' → &#39;.
Why would I need this?
To safely include arbitrary text inside HTML markup without it being misread as tags or attributes — for example, showing a code sample or user-submitted text on a web page.