S SEO ProCheck Tools seoprocheck.com →
← All tools

HTML Entity Converter

Convert characters to/from HTML entities.

HTML Entity Encoder/Decoder

Common HTML Entities:
&&&lt;<&gt;>
&quot;"&apos;'&nbsp;(space)

What it does

This converter escapes text so it can sit safely inside HTML, and turns HTML entities back into readable characters. Decoding uses your browser's own parser, so it recognizes every entity a browser does, and nothing leaves the page. A small reference table under the tool lists the entities you meet most often: &amp;, &lt;, &gt;, &quot;, &apos; and &nbsp;.

How to use it

  1. Paste your text into the Input box.
  2. Click "Encode →" to escape it, or "← Decode" to turn entities back into characters.
  3. Read the result in the Output box, which cannot be edited directly.
  4. Click Copy to put the output on your clipboard.

What each direction really does

Encode escapes the five characters that can break markup: the ampersand, the less-than and greater-than signs, double quotes (as &quot;) and apostrophes (as the numeric &#39;). That makes the output safe both in element text and inside quoted attribute values. It leaves accented letters, symbols such as ©, emoji and non-breaking spaces untouched, which is fine on a UTF-8 page.

Decode treats the input as plain text: it understands named and numeric entities alike (&eacute;, &#8217; and so on), while any tags stay exactly as typed and nothing in the input can run. A decoded &nbsp; becomes a non-breaking space, not a regular one. Two more traps: encoding text that is already encoded turns &amp; into &amp;amp;, which then shows on screen as &amp; rather than &, and the HTML parser does not decode entities inside a script element, so write plain characters in JSON-LD.