Encoding Tools

HTML Entity Converter

Escape `<`, `&`, and quotes for safe HTML—or decode `&amp;lt;` sequences scraped from pages back to normal characters.

HTML Entity Converter

Encode special characters or decode HTML entities.

Live

Examples

Text or HTML entities
Encoded or decoded result
Input: 0 chars Output: 0 chars Status: ready

Your text stays in your browser — nothing is uploaded.

How to Use

  1. Choose Encode Entities or Decode Entities.
  2. Paste text or entity strings into the input.
  3. Review converted output for ampersands, angle brackets, and quotes.
  4. Swap direction to verify round-trip accuracy.

Example

Raw HTML snippet

<div>"Hello & goodbye"</div>

Encoded entities

&lt;div&gt;&quot;Hello &amp; goodbye&quot;&lt;/div&gt;

Before and After Examples

What This Tool Does

HTML Entity Converter transforms reserved markup characters into named or numeric entities during encoding and restores them during decoding. Numeric forms like `&#65;` and hex `&#x41;` decode to Unicode characters, which helps when cleaning CMS exports or preparing documentation examples.

Guidelines

Common Uses

Best Practices

Popular Workflows

Notes & Limitations

All processing runs locally in your browser. Results may vary with edge-case characters or very large inputs.

Frequently Asked Questions

Which characters get encoded?

At minimum &lt;, &gt;, &amp;, quotes, and often non-ASCII characters depending on context.

Is content uploaded when encoding?

Processing is local; HTML strings never leave your browser.

Does it decode numeric entities?

Yes—decimal and hexadecimal numeric references are supported.

Will encode mode double-escape existing entities?

Ampersands in existing entities are escaped to avoid corrupt sequences.