/content-cleanuphtml-entity-encoder
Content Cleanup

HTML Entity Encoder & Decoder: Convert Special Characters Safely

Escape HTML special characters (< > & ' ") into safe entities, or decode HTML entities back to plain text. Supports named entities, decimal, and hex numeric refs.

Runs in your browser — your text is never uploaded or stored.

Quick answer

HTML Entity Encoder / Decoder is a free online tool that escape HTML special characters (< > & ' ") into safe entities, or decode HTML entities back to plain text. Supports named entities, decimal, and hex numeric refs.

  • Cost: free, no signup or limits.
  • Privacy: runs 100% in your browser; text is never uploaded.
  • Works on: desktop and mobile browsers, offline once loaded.
  • Category: Content Cleanup.
Result

Common conversions

How to Use

  1. 1.Pick Encode (text → entities) or Decode (entities → text).
  2. 2.Paste your input.
  3. 3.Copy the escaped or decoded result.
Advertisement

FAQ

Which entities does it support?

Basic mode escapes the five HTML-critical characters. Full mode escapes every non-ASCII character to numeric entities. Decoding supports named entities and numeric (&#123;, &#x1F;) references.

When should I use full-encode mode?

Use it when you need every non-ASCII character encoded — e.g. for XML feeds or environments that don't reliably handle UTF-8.

Is my text uploaded?

No — all encoding and decoding happens locally in your browser.

Related tools

Related guides

More text utilities