קידוד טקסט לישויות HTML או פענוח ישויות חזרה לטקסט, בטוח ל-UTF-8 ובצד הלקוח.
כיצד להשתמש במקודד HTML
הדביקו את הטקסט או ה-HTML שלכם.
בחרו קידוד (היברחה של תווים מיוחדים ב-HTML), קידוד הכול (גם היברחה של תווים שאינם ASCII) או פענוח.
העתיקו את התוצאה.
An HTML entity encoder and decoder for escaping special characters so they display as text instead of being interpreted as markup. It converts characters like < and & into entities such as < and &, and decodes them back again.
Encoding and decoding are UTF-8 safe and run entirely in your browser, so nothing you paste is uploaded.
Encoding always escapes the five characters that have special meaning in HTML: & < > " and '. That is what stops a stray < from being read as the start of a tag, or text from accidentally breaking out of an attribute.
An Encode all option additionally turns every non-ASCII character into a numeric entity, which is useful for legacy systems, some email pipelines, or anywhere you need to be sure the output is pure ASCII.
Decoding understands all three entity forms: named entities like & and ©, decimal entities like é, and hexadecimal entities like €. Sequences it does not recognize are left untouched rather than mangled.
Escaping the HTML specials is the core defense against HTML injection and cross-site scripting (XSS): any untrusted text should be encoded before it is placed into a page, so it renders as harmless characters instead of active markup.
שאלות נפוצות
קידוד עושה היברחה רק לחמשת התווים שחייבים היברחה ב-HTML (& < > " '). קידוד הכול הופך בנוסף כל תו שאינו ASCII לישות מספרית, שימושי למערכות מדור קודם או לדואר אלקטרוני.
ישויות בעלות שם כמו & ו-©, ישויות עשרוניות כמו é, וישויות הקסדצימליות כמו €. רצפים לא מוכרים נשארים ללא שינוי.
קידוד התווים המיוחדים של HTML הוא ההגנה המרכזית מפני הזרקת תגיות. תמיד קדדו טקסט לא מהימן לפני הצבתו ב-HTML.
הטמע את הכלי הזה
הוסף את הכלי הזה לאתר שלך. העתק את קטע הקוד שלהלן; הוא מתעדכן אוטומטית.
<iframe src="https://monu.tools/embed/he/html-encoder" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>כלים קשורים
קודדו טקסט ל-Base64 או פענחו Base64 בחזרה לטקסט. בטוח ל-UTF-8 עם זיהוי כיוון אוטומטי.
קודדו ופענחו כתובות URL ורכיבי URL בקידוד אחוזים, עם תמיכה בטוחה ב-UTF-8.
פענחו JSON Web Token כדי לבחון את הכותרת (header) והמטען (payload) שלו, עם זמני תפוגה והנפקה בפורמט קריא. הכול פועל בדפדפן שלכם; אסימונים לעולם לא מועלים.
צרו ערכי Hash מסוג SHA-1, SHA-256, SHA-384 ו-SHA-512 לכל טקסט, ישירות בדפדפן שלכם.