ตัวเข้ารหัส/ถอดรหัสเอนทิตี HTML

วาง HTML หรือข้อความธรรมดา เลือกเข้ารหัสหรือถอดรหัส แล้วคัดลอกผลลัพธ์ มีประโยชน์เมื่อสร้างสนิปเปต เทมเพลต หรือเนื้อหา CMS ที่ต้องแสดงอักขระตามตัวอักษร

สูตร
encode: & → &amp;, < → &lt;, > → &gt;, " → &quot;, apostrophe → &#39;

คำถามที่พบบ่อย

อักขระใดควรเข้ารหัส HTML?
อย่างน้อยให้เข้ารหัส & และเครื่องหมายมุม รวมถึงเครื่องหมายคำพูดคู่ภายในแอตทริบิวต์; เอนทิตีที่มีชื่อและรหัสตัวเลขยังครอบคลุมอักขระมีวรรณยุกต์และสัญลักษณ์ด้วย

Embed this calculator on your site

Cite this page

About these results

Every calculation on this page runs locally in your browser using published, standard formulas — nothing you enter is sent to a server. Results are estimates for planning purposes and can differ from real-world conditions; always follow your local building code and the advice of a qualified professional for final decisions. You can read more about who builds and maintains these tools on our About page. เกี่ยวกับเรา MateCalc.

เครื่องคิดเลขที่เกี่ยวข้อง