[{"data":1,"prerenderedAt":25},["ShallowReactive",2],{"content-html-entities-en":3},{"about":4,"steps":8,"faq":12},[5,6,7],"In HTML some characters have a special meaning: \u003C and > delimit tags, & starts a character reference and quotes enclose attribute values. If such a character should appear as text, it must be escaped – as an HTML entity like &lt; or &amp;. Otherwise it is interpreted as code, which can break pages or cause security holes (cross-site scripting).","This tool converts text to entities and entities back to readable text. Besides escaping the special characters, it can output all non-ASCII characters – accented letters, the euro sign, typographic quotes or emojis – as named (&ouml;), decimal (&#246;) or hexadecimal (&#xF6;) references. Both fields are editable.","For percent-encoding in addresses use the [[url-encoder]], for Base64 the [[base64]] converter.",[9,10,11],"Paste text into the left field – it appears with entities on the right. Or paste code with entities on the right to decode it.","Choose the mode: “HTML special characters only” for HTML-safe text, or “Named”, “Decimal” or “Hexadecimal” for pure ASCII output.","Copy the result.",[13,16,19,22],{"q":14,"a":15},"Do I need entities for accented letters in HTML?","No, not if the page is served as UTF-8 – which is the standard today. Entities for accented letters are only needed when a system handles ASCII only, such as old e-mail templates or certain databases.",{"q":17,"a":18},"Which characters must always be escaped?","In text & and \u003C, in attribute values also the quote you use. > and the other quote do no harm but are often escaped as well for consistency – this tool does the same.",{"q":20,"a":21},"What is &nbsp;?","A non-breaking space: it looks like a regular space but prevents a line break, e.g. between number and unit as in “5&nbsp;kg”.",{"q":23,"a":24},"Why are some entities not decoded?","The tool knows the common named entities from HTML 4 and all numeric references. Rare HTML5 names like &bigstar; stay unchanged. Numeric forms like &#9733; are always recognized.",1792082295724]