{"id":184,"date":"2026-08-21T13:05:03","date_gmt":"2026-08-21T13:05:03","guid":{"rendered":"https:\/\/netguide.io\/tools\/html-entity-encoder-decoder\/"},"modified":"2026-08-21T13:05:03","modified_gmt":"2026-08-21T13:05:03","slug":"html-entity-encoder-decoder","status":"publish","type":"post","link":"https:\/\/netguide.io\/tools\/de\/html-entity-encoder-decoder\/","title":{"rendered":"HTML-Entity-Encoder \/ -Decoder"},"content":{"rendered":"<div id=\"netgu-3195474592\" class=\"netgu-before-content netgu-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-6258556257245998\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-6258556257245998\" \ndata-ad-slot=\"3494115342\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n<style>\n.wp-he-container { max-width:100%; background:#fff; padding:20px; border:1px solid #ddd; border-radius:10px; font-family:-apple-system, sans-serif; color:#333; }\n.wp-he-title { margin:0 0 15px 0; color:#2271b1; font-size:1.4rem; }\n.wp-he-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(140px, 1fr)); gap:12px; margin-bottom:10px; }\n.wp-he-input-group label { display:block; font-size:11px; font-weight:bold; margin-bottom:4px; text-transform:uppercase; color:#666; }\n.wp-he-input-group input, .wp-he-input-group select { width:100%; padding:8px; border:1px solid #ccc; border-radius:4px; box-sizing:border-box; }\n.wp-he-checkbox-group { margin:15px 0; font-size:12px; display:flex; align-items:center; gap:8px; color:#666; }\n.wp-he-note { font-size:12px; color:#666; margin-top:12px; min-height:1em; }\n.wp-he-warn { color:#d63638; font-weight:bold; }\n.wp-he-results { margin-top:20px; border-top:2px solid #eee; padding-top:15px; }\n.wp-he-res-item { display:flex; justify-content:space-between; margin-bottom:6px; font-size:14px; gap:10px; }\n.wp-he-total { font-weight:bold; font-size:18px; color:#2271b1; margin:10px 0; padding:5px 0; border-top:1px solid #eee; border-bottom:1px solid #eee; }\n.wp-he-val { color:#2271b1; font-weight:bold; }\n.wp-he-out { width:100%; box-sizing:border-box; padding:10px; border:1px solid #ccc; border-radius:4px; font-family:monospace; font-size:13px; word-break:break-all; background:#f7f7f7; margin-top:6px; }\n.wp-he-btn { background:#2271b1; color:#fff; border:none; padding:9px 14px; border-radius:4px; cursor:pointer; font-size:13px; margin-top:10px; }\n<\/style><div class=\"wp-he-container\">\n  <h3 class=\"wp-he-title\">HTML-Entity-Encoder \/ -Decoder<\/h3>\n  <div class=\"wp-he-input-group\"><label>Eingabe<\/label><textarea id=\"he-in\" style=\"width:100%; box-sizing:border-box; height:100px; padding:10px; border:1px solid #ccc; border-radius:5px; font-family:monospace; font-size:13px;\" oninput=\"heProc('enc')\"><\/textarea><\/div>\n  <div style=\"display:flex; gap:8px; flex-wrap:wrap; margin:6px 0;\">\n    <button class=\"wp-he-btn\" onclick=\"heProc('enc')\">Kodieren<\/button>\n    <button class=\"wp-he-btn\" style=\"background:#f0f0f1; color:#2271b1;\" onclick=\"heProc('dec')\">Dekodieren<\/button>\n  <\/div>\n  <label style=\"display:block; font-size:11px; font-weight:bold; text-transform:uppercase; color:#666; margin:8px 0 4px;\">Ergebnis<\/label>\n  <textarea id=\"he-out\" style=\"width:100%; box-sizing:border-box; height:100px; padding:10px; border:1px solid #ccc; border-radius:5px; font-family:monospace; font-size:13px;\" readonly><\/textarea>\n  <button class=\"wp-he-btn\" onclick=\"copyHe()\">Kopieren<\/button>\n  <div class=\"wp-he-note\">Kodieren wandelt < > &#038; Anf\u00fchrungszeichen in HTML-Entities (z. B. &lt;). Dekodieren macht Entities wieder lesbar.<\/div>\n<\/div>\n<script>\nfunction heEnc(s){ return String(s).replace(\/&\/g,'&amp;').replace(\/<\/g,'&lt;').replace(\/>\/g,'&gt;').replace(\/\"\/g,'&quot;').replace(\/'\/g,'&#39;'); }\nfunction heDec(s){ var t=document.createElement('textarea'); t.innerHTML=String(s); return t.value; }\nfunction heProc(mode){\n  var inp=document.getElementById('he-in').value; var o=document.getElementById('he-out');\n  o.value = (mode==='enc') ? heEnc(inp) : heDec(inp);\n}\nfunction copyHe(){ var o=document.getElementById('he-out'); if(!o.value)return; o.focus(); o.select(); try{navigator.clipboard.writeText(o.value);}catch(e){} }\n(function(){ var i=document.getElementById('he-in'); if(i && !i.value){ i.value='<p class=box>Preis: 5 Euro<\/p>'; } heProc('enc'); })();\n<\/script>\n\n\n<div id=\"netgu-209848981\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-6258556257245998\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<!-- NetGuide.io-After-Widget-Tools -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-6258556257245998\"\r\n     data-ad-slot=\"5175852350\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">HTML-Zeichen kodieren und dekodieren<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Zeichen wie <code>&lt;<\/code>, <code>&gt;<\/code> und <code>&amp;<\/code> haben in HTML eine Sonderbedeutung. Damit sie als Text erscheinen (und keine Tags aufmachen), m\u00fcssen sie als Entities geschrieben werden. Das Tool kodiert und dekodiert beides.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Kodieren:<\/strong> Wandelt Steuerzeichen in sichere Entities \u2013 wichtig, um Anzeigefehler und XSS zu vermeiden.<\/li>\n\n\n<li><strong>Dekodieren:<\/strong> \u00dcbersetzt Entities (benannt und numerisch) zur\u00fcck in Klartext.<\/li>\n\n\n<li><strong>Anwendung:<\/strong> Code-Beispiele in Artikeln, E-Mail-Templates oder XML-Daten.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Verwandte Tools<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/tools\/de\/url-encoder-decoder\/\">URL-Encoder \/ -Decoder<\/a><\/li>\n\n\n<li><a href=\"\/tools\/de\/base64-encoder-decoder\/\">Base64 Encoder \/ Decoder<\/a><\/li>\n<\/ul>\n\n\n<div id=\"netgu-2269542943\" class=\"netgu-after-content netgu-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-6258556257245998\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-6258556257245998\" \ndata-ad-slot=\"4559785002\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>HTML-Sonderzeichen kodieren und dekodieren \u2013 Tags, Anf\u00fchrungszeichen und mehr zu Entities und zur\u00fcck. Verhindert Anzeigefehler und XSS.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[23],"tags":[],"class_list":["post-184","post","type-post","status-publish","format-standard","hentry","category-decoder-encoder"],"brizy_media":[],"_links":{"self":[{"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/posts\/184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/comments?post=184"}],"version-history":[{"count":0,"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/posts\/184\/revisions"}],"wp:attachment":[{"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/media?parent=184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/categories?post=184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/tags?post=184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}