ייפו XML עם הזחה נכונה, או כווצו אותו לשורה אחת. הערות, CDATA והוראות עיבוד נשמרות.
כיצד להשתמש במעצב XML
הדביקו את ה-XML שלכם בתיבת הקלט.
בחרו ייפוי כדי להזיח אותו או כיווץ כדי לדחוס אותו.
בחרו את גודל ההזחה, ואז העתיקו את התוצאה.
This is an XML formatter that beautifies a document with proper, depth-based indentation, or minifies it to a single line. It preserves comments, CDATA sections, processing instructions and the XML declaration.
Formatting runs entirely in your browser, so your data never leaves your device, which makes it safe even for XML that contains sensitive values.
XML is verbose and deeply nested. Indenting each element by its depth and putting tags on their own lines turns a wall of angle brackets into a structure you can actually follow.
It is useful across the many places XML still lives: SOAP responses, RSS feeds, build and config files, and document formats, where a quick reformat makes debugging far easier.
Beautifying keeps a single text child inline with its tags, so simple values stay compact, while the declaration, comments and CDATA are kept exactly as they were rather than being reflowed or dropped.
Minifying removes comments and the whitespace used only for indentation between tags. Text content and CDATA are kept exactly, so it is safe unless your document relies on significant whitespace in mixed content.
The tool reformats for readability and does not validate against a schema. Clean layout does not mean the document matches any DTD or XSD you expect.
שאלות נפוצות
הוא מזיח כל אלמנט לפי עומק הקינון שלו וממקם תגיות בשורות משלהן, תוך שמירה על ילד טקסט יחיד באותה שורה. הערות, CDATA והצהרת ה-XML נשמרות.
הוא מסיר הערות ואת הרווחים הלבנים המשמשים רק להזחה בין תגיות. תוכן טקסט ומקטעי CDATA נשמרים בדיוק, כך שזה בטוח אלא אם המסמך שלכם מסתמך על רווחים משמעותיים בתוכן מעורב.
לא. העיצוב פועל כולו בדפדפן שלכם, כך שהנתונים שלכם לעולם לא עוזבים את המכשיר. זה הופך אותו לבטוח אפילו ל-XML המכיל ערכים רגישים.
הטמע את הכלי הזה
הוסף את הכלי הזה לאתר שלך. העתק את קטע הקוד שלהלן; הוא מתעדכן אוטומטית.
<iframe src="https://monu.tools/embed/he/xml-formatter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>כלים קשורים
ייפו CSS עם הזחה נקייה, או כווצו אותו כדי לצמצם את גודל הקובץ. מטפל בשאילתות מדיה, calc() והערות רישיון.
ייפוי HTML עם הזחה מודעת לבלוקים, או כיווץ שלו. התוכן של pre, textarea, script ו-style נשמר.
ייפוי וסידור של קוד JavaScript עם הזחה ורווחים עקביים. פועל כולו בדפדפן שלכם.
המירו CSV לקובץ Excel .xlsx ו-Excel בחזרה ל-CSV, כולו בדפדפן שלכם. עובד בשני הכיוונים.