Encoding Tools

HTML Entity Encoder

Encode reserved HTML characters so text can appear safely inside markup examples.

Processed locally — your data never leaves this browser. Input: Text Output: HTML-encoded text
Text

Processed locally — your data never leaves this browser.

HTML-encoded text

Example input and output

Markup text

<button title="Save & close">Save</button>
&lt;button title=&quot;Save &amp; close&quot;&gt;Save&lt;/button&gt;

How to use HTML Entity Encoder

Paste or enter your text, adjust any options, then run the tool. The result appears in the output panel where you can copy or download it.

What this tool does

The HTML Entity Encoder replaces characters such as ampersands, angle brackets and quotes with HTML entities for examples, templates and documentation. It is free to use and designed for technical workflows where pasted data should stay private.

Common use cases

  • Show markup in docs
  • Escape template examples
  • Prevent accidental tag interpretation

Privacy and security

Processed locally — your data never leaves this browser. Lumarc DevTools does not include a backend, account system or hidden analytics in this initial release.

Limitations

  • Use a dedicated sanitizer for untrusted rich HTML.

Frequently asked questions

Does this sanitize full HTML?

No. It escapes text for display; it is not a complete HTML sanitizer.