عالميمجاني

محوّل JSON إلى Excel (JSON إلى XLSX)

حوّل مصفوفة JSON من الكائنات إلى جدول بيانات .xlsx. تصبح الكائنات المتداخلة أعمدة بأسماء منقّطة مثل address.city، ويحصل كل مفتاح على عمود خاص به.

تبقى مدخلاتك في علامة التبويب هذه. لا نتلقى ملفاتك أو النصوص الملصقة أو قيم الحسابات.

المدخلات

تلميح: اضغط Ctrl + Enter للتشغيل

نتيجتك

ستظهر نتيجتك هنا.

المساعدة المفصلة أدناه متاحة بالإنجليزية فقط حاليًا.

حول هذه الأداة

API responses and exported data often arrive as JSON, which is hard to scan and impossible to sort or filter without code. This converter turns a JSON array of objects into a spreadsheet: each object becomes a row and each key a column, including keys that only some objects have.

Nested objects are flattened into dotted column names (address.city, stock.toronto), so the data stays readable in Excel, Google Sheets or LibreOffice.

طريقة الاستخدام

  1. Paste a JSON array of objects, or choose a .json file.
  2. Run the conversion.
  3. Download the .xlsx and open it in your spreadsheet app.

كيف يعمل الحساب

The JSON is parsed; each object is flattened (nested keys joined with dots, arrays written as JSON text). The union of all keys forms the header row, in first-seen order, and values keep their types.

keys of all objects → columns; one object → one row

مثال تطبيقي

An e-commerce assistant pastes two product records from an API, one of which has an extra “colour” field and both of which have nested stock counts per store. The spreadsheet has 2 rows and 5 columns (sku, price, stock.calgary, stock.toronto and colour) with an empty cell where a product has no colour.

مثال على الإدخال والنتيجة

اختر ملفًا واضغط «تشغيل». يُنزَّل الملف المحوَّل مباشرة من متصفحك.

القيود

  • Works best with an array of objects; plain values in an array go into a single “value” column.
  • Arrays inside objects are not expanded into rows.
  • One sheet per workbook.

آخر تحديث:

الأسئلة الشائعة

What if my JSON is a single object?

It becomes one row. If the object only wraps an array, such as {"items": […]}, that array is used.

How are arrays inside objects handled?

They are written as JSON text in one cell.

Is there a column limit?

Up to 16,384 columns, the Excel maximum; browser memory limits very large files.

استكشاف الأخطاء وإصلاحها

It says the JSON is invalid.

Check for trailing commas or single quotes; use the JSON formatter to find the error.

Columns are in an odd order.

They follow the order in which keys first appear.

Numbers became text.

Quoted numbers in JSON ("12") stay text; remove the quotes in the source.

الخصوصية & مجاني

هل تُخزَّن مدخلاتي؟

تبقى مدخلاتك في علامة التبويب هذه. لا نتلقى ملفاتك أو النصوص الملصقة أو قيم الحسابات.

هل هذه الأداة مجانية؟

نعم. لا يلزم تسجيل أو دفع.

تتم المعالجة في متصفحك

خطوات تالية مفيدة