Why "Tom & Jerry" has to become Tom & Jerry
An HTML file is text in which some characters are instructions. When a browser reads <b>, it does not show the three characters; it starts bold text. When it reads &, it expects the name of a character to follow. That is fine until the text you want to show contains those characters itself. Write "Use <b> for bold" into a page as it is, and the browser makes the rest of the sentence bold instead of showing the tag. Write "Tom & Jerry" and it usually works, but only because browsers forgive a lone ampersand. Write "R&D;" and some browsers will try to read &D; as an entity.
Entities are the escape hatch. Each one starts with & and ends with ;, and between them is either a name or a number. < is <, > is >, & is & itself, " is a double quote and ' is an apostrophe. So the snippet <b>Tom & Jerry</b>, escaped to be shown as text, becomes <b>Tom & Jerry</b>. The browser turns each entity back into its character and draws it, and nothing is read as markup. That is all encoding does in its default setting, and those five characters are all that valid HTML requires.
Numbers work for any character at all. é is é because é is Unicode code point 233, and é is the same number written in hex. That is how a page could show accents and symbols back when files were saved in encodings that had no room for them, and it still helps when text has to pass through a system you do not trust to keep UTF-8 intact, such as an old mail server. With Escape non-ASCII too turned on, the tool writes every character beyond plain ASCII this way, using a name where HTML 4 defines one, é or ©, and a decimal number otherwise, such as 😀 for 😀.
This is also a security matter, and the most common one on the web. If a site takes a comment, a name or a search term and puts it into a page without escaping it, then a visitor who types <script> has added a script to the page that runs for everyone who views it. That attack is called cross-site scripting, and escaping the five markup characters is the basic defence. Template systems such as React, Vue and Django escape by default for this reason. This tool is for the times you are handling the text yourself: writing an example into a blog post, filling an attribute by hand, or reading what a system has escaped.
The decoder has two honest limits. It knows the 253 named entities defined in HTML 4, which include every accented Latin letter, Greek, arrows, maths symbols, typographic quotes and dashes. HTML5 added about two thousand more, such as ⪡̸, which almost nobody uses; an unknown name is left as written, exactly as a browser would leave it. And a numeric reference that does not stand for a character, such as � past the end of Unicode, is reported as an error rather than silently replaced, so you know the input itself is broken.