המירו JSON ל-XML ו-XML חזרה ל-JSON, בשני הכיוונים, הכול בתוך הדפדפן שלכם.
כיצד להשתמש בJSON / XML
בחרו כיוון: JSON ל-XML או XML ל-JSON.
הדביקו את ה-JSON או ה-XML שלכם.
העתיקו את התוצאה שהומרה, או החליפו כדי להמיר בחזרה.
A two-way converter between JSON and XML, built on a well-tested parser. Convert a JSON object into XML or parse XML back into JSON, preserving attributes and turning repeated elements into arrays and back again.
It is handy whenever you need to bridge an XML-based system and a JSON-based one, inspect a SOAP payload as readable JSON, or turn a JSON config into the XML a legacy tool expects.
Everything runs locally in your browser, so your data never leaves your device.
XML (Extensible Markup Language) is a long-established way to structure data with nested tags and attributes. It is still everywhere: SOAP web services, RSS and Atom feeds, office document formats, Android layouts and countless configuration and data-exchange formats.
Attributes are preserved across the round trip using an @_ prefix on the JSON side, so an XML attribute becomes a clearly marked JSON key and converts back into the same attribute, rather than being lost or confused with child elements.
Repeated elements map naturally to arrays: several <item> tags under a parent become a JSON array, and a JSON array becomes repeated elements in the XML, which is the shape most real documents take.
שאלות נפוצות
המאפיינים נשמרים באמצעות קידומת @_ בצד ה-JSON, כך שהמרה הלוך ושוב שומרת עליהם שלמים.
אלמנטים חוזרים ב-XML הופכים למערך JSON, ומערכים ב-JSON הופכים לאלמנטים חוזרים ב-XML.
לא. ההמרה מתבצעת כולה בתוך הדפדפן שלכם, כך שהנתונים שלכם לעולם לא עוזבים את המכשיר.
הטמע את הכלי הזה
הוסף את הכלי הזה לאתר שלך. העתק את קטע הקוד שלהלן; הוא מתעדכן אוטומטית.
<iframe src="https://monu.tools/embed/he/json-xml-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>כלים קשורים
עצבו, ייפו ואמתו JSON אונליין עם הודעות שגיאה ברורות עבור קלט לא תקין.
הקטנה ואימות של JSON בדפדפן שלכם, וצפייה בכמה בייטים אתם חוסכים.
המרת JSON ל-CSV ו-CSV חזרה ל-JSON, בשני הכיוונים. בחרו את התו המפריד, טפלו בשדות במרכאות והעתיקו את התוצאה. הכול רץ בדפדפן שלכם.
המרת YAML ל-JSON ו-JSON חזרה ל-YAML, בשני הכיוונים. מאמת תוך כדי המרה ומציג שגיאות ברורות. הכול רץ בדפדפן שלכם.