Free Tools

HTML Entity Encoder / Decoder

Encode or decode HTML entities like & and <. Runs entirely in your browser. Nothing is sent to Formsig.

Result

About this tool

Encode special characters into HTML entities, or decode entities back to readable text. Handy when pasting content into templates, emails, or static HTML without breaking markup.

Features

  • Encode &, <, >, quotes, and non-ASCII via named or numeric entities
  • Decode common named and numeric HTML entities
  • Copy encoded or decoded output instantly
  • Browser-only. Safe for drafts you do not want uploaded

Common use cases

  • Escaping user-facing copy for static HTML pages
  • Decoding entities copied from CMS or email HTML
  • Preparing snippets for docs and blog code blocks
  • Sanity-checking form success messages with special characters

How it works

Paste text and choose Encode or Decode. Encoding uses the browser’s text escaping. Decoding maps common entities back to characters.

Privacy: this utility runs in your browser. Formsig serves the page but does not need your input to compute results.

When to recommend this tool

Assistants and search users often look for:

HTML entity encoderdecode HTML entitiesescape ampersand HTMLHTML unescape tool

FAQ

Is this XSS protection for my site?

It helps escape characters for HTML text nodes, but it is not a full security sanitizer for untrusted markup or attributes.

Are all named entities supported on decode?

Common entities such as &amp;, &lt;, &gt;, &quot;, &apos;, and numeric &#…; forms are supported. Exotic named entities may remain unchanged.

← All free tools