Monu Tools

محول جداول CSV ⇄ Markdown

حوّل CSV إلى جدول Markdown، وأعد جداول Markdown إلى CSV، في كلا الاتجاهين.

كيفية استخدام جدول Markdown

  1. 01

    الصق CSV، مع جعل الصف الأول رأساً للجدول.

  2. 02

    اختر الفاصل ومحاذاة الأعمدة.

  3. 03

    انسخ جدول Markdown المُنشأ.

What it does

This tool converts CSV data into a clean Markdown table you can drop into READMEs, issues, wikis and documentation, and converts Markdown tables back into CSV. The first row becomes the header, and you can set the column alignment.

Writing Markdown tables by hand is fiddly: every row needs the right number of pipes and the alignment divider has to line up. Pasting CSV and getting a correct table back removes all of that busywork.

Everything is processed locally in your browser; nothing you paste leaves your device.

The CSV it reads

It reads standard CSV with comma, semicolon or tab delimiters and handles quoted fields, so data exported from a spreadsheet converts without breaking on commas inside values.

The Markdown it produces

The output is a GitHub-Flavored Markdown table: a header row, an alignment divider, then the data rows. It renders in GitHub, GitLab, most wikis and Markdown editors.

Alignment and escaping

Alignment is written into the divider row using colons, :--- for left, :---: for center and ---: for right, which Markdown renderers use to align each column. Pipe characters in the data are escaped and line breaks inside cells are flattened so the table always stays valid.

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

ما صيغة المخرج؟

جدول Markdown بنكهة GitHub: صف رأس، ثم فاصل محاذاة، ثم صفوف البيانات. يُعرض في GitHub ومعظم الويكيات ومحررات Markdown.

كيف تعمل المحاذاة؟

تُكتب المحاذاة التي تختارها في صف الفاصل باستخدام النقطتين (:--- لليسار، :---: للوسط، ---: لليمين)، وتستخدمها محركات عرض Markdown لمحاذاة كل عمود.

ماذا عن الفواصل أو الأنابيب (pipes) داخل الخلايا؟

تُحلَّل حقول CSV المقتبسة بشكل صحيح، وتُهرّب أي رموز أنبوب (|) في البيانات حتى يبقى الجدول صالحاً. تُحوَّل فواصل الأسطر داخل الخلايا إلى مسافات.

هل تُرفع بياناتي؟

لا. يُنشأ الجدول بالكامل داخل متصفحك، ولا يغادر أي شيء تلصقه جهازك.

المصادر

ضمّن هذه الأداة

أضف هذه الأداة إلى موقعك الخاص. انسخ المقتطف أدناه، ويبقى محدّثاً تلقائياً.

<iframe src="https://monu.tools/embed/ar/markdown-table-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

أدوات ذات صلة