Markdown Table Formatter & Aligner

نص
إعلان · يزيل؟

Formatting Options

Table Preview

خيارات التصدير

التحقق من الصحة

إعلان · يزيل؟

مرشد

Markdown Table Formatter & Aligner

Markdown Table Formatter & Aligner

Format and align Markdown tables with perfectly padded columns. Paste a messy Markdown table and instantly get clean, aligned output with equal column widths. Includes a rendered HTML preview, export to CSV/HTML/JSON, and validation for common table issues. Handles multiple tables in one input.

كيف تستعمل

Paste your Markdown table into the input area. The formatter instantly aligns all columns to equal widths, padding cells with spaces so pipe characters line up perfectly. Configure column alignment (left, center, right, or auto-detect), padding style (spaced or compact), separator style, and whether to include outer pipes. View the formatted output, check the HTML preview, and export as CSV, HTML table, or JSON.

سمات

  • Column Alignment — Auto-detect alignment from separator markers (:—:, :—, —:), or force all columns to left, center, or right alignment. Alignment markers are preserved in the formatted output.
  • Perfect Padding — Each column is padded to the maximum width of its content, so all pipe characters align vertically. Choose spaced padding (| value |) or compact (|value|).
  • Separator Styles — Minimal dashes (—) or full-width separators that match the column width with dashes for maximum visual alignment.
  • HTML Preview — Rendered preview showing exactly how the Markdown table will look when published. Helps verify formatting before copying.
  • Multi-Table Support — If your input contains multiple tables mixed with other text, each table is formatted independently while surrounding text is preserved.
  • خيارات التصدير — Copy as CSV (properly quoted), HTML table, or JSON array of objects (headers as keys). Each with a copy button.
  • Sort by Column — Optionally sort rows by any detected column header.
  • التحقق من الصحة — Detects inconsistent column counts, missing separator rows, and empty cells. Shows column and row counts.

Markdown Table Syntax

Markdown tables use pipes (|) to separate columns and dashes (-) for the separator row between headers and data. Alignment is controlled by colons in the separator: :--- (left), :---: (center), ---: (right). Example:
| Name | Age |
|:-----|----:|
| Alice | 30 |

إعلان · يزيل؟

How do I align columns in a Markdown table?

Column alignment is controlled by colons in the separator row (the row of dashes between headers and data). Left-align: :— (colon on left). Right-align: —: (colon on right). Center-align: :—: (colons on both sides). Default (no colons): left-aligned. This formatter auto-detects existing alignment markers and preserves them, or you can force all columns to a specific alignment.

Why do my Markdown tables look misaligned in the source?

Markdown tables look misaligned in source code because cell content varies in length, causing pipe characters to appear at different positions on each line. This is purely a source-code readability issue — the table renders correctly regardless of alignment. This formatter fixes the visual alignment by padding each cell to the maximum width of its column, so all pipes line up vertically. The formatted table is functionally identical but much easier to read in source form.

Can I format multiple tables at once?

Yes — if your input contains multiple Markdown tables mixed with other text (like paragraphs or headings), each table is detected and formatted independently. Non-table text is preserved exactly as-is between the formatted tables. This is useful when formatting entire Markdown documents that contain several tables.

Which Markdown renderers support tables?

Markdown tables are supported by GitHub Flavored Markdown (GFM), GitLab Markdown, Bitbucket, Reddit, Stack Overflow, most static site generators (Jekyll, Hugo, Gatsby), and documentation tools (MkDocs, Docusaurus, VuePress). Standard CommonMark does not include tables in its spec, but most implementations add table support as an extension. If your renderer doesn’t support tables, use this tool’s HTML export to get a standard HTML table instead.

هل تريد حذف الإعلانات؟ تخلص من الإعلانات اليوم

تثبيت ملحقاتنا

أضف أدوات IO إلى متصفحك المفضل للوصول الفوري والبحث بشكل أسرع

أضف لـ إضافة كروم أضف لـ امتداد الحافة أضف لـ إضافة فايرفوكس أضف لـ ملحق الأوبرا

وصلت لوحة النتائج!

لوحة النتائج هي طريقة ممتعة لتتبع ألعابك، يتم تخزين جميع البيانات في متصفحك. المزيد من الميزات قريبا!

إعلان · يزيل؟
إعلان · يزيل؟
إعلان · يزيل؟

ركن الأخبار مع أبرز التقنيات

شارك

ساعدنا على الاستمرار في تقديم أدوات مجانية قيمة

اشتري لي قهوة
إعلان · يزيل؟