Markdown Table Maker

Other

Create, format, align, sort, transpose, and convert tables between Markdown, CSV, JSON, and TSV using pure Python without dependencies.

Install

openclaw skills install markdown-table-maker

📋 Markdown Table Maker

Author: Lin Hui | GitHub | MIT License | v1.0.0

Beautiful Markdown tables in seconds. Create from scratch, convert from CSV/JSON/TSV, align, sort, merge, and transpose — all with pure Python.

✨ Features

  • Create — Build tables from natural language descriptions
  • Convert — CSV / JSON / TSV → Markdown table
  • Align — Left / Center / Right column alignment
  • Sort — Sort rows by any column (asc/desc)
  • Transpose — Swap rows and columns
  • Merge — Combine multiple tables side by side or stacked
  • Format — Pretty-print with consistent spacing

🚀 Usage

Create a table

Create a markdown table with columns: Name, Age, City. Add 3 sample rows.

Convert CSV to Markdown

Convert data.csv into a Markdown table and save as table.md.

Align columns

Format the markdown table in README.md with the Name column left-aligned, Age right-aligned, and City center-aligned.

Sort a table

Sort the markdown table by the Price column in descending order.

Transpose

Transpose the markdown table (swap rows and columns).

⚙️ Technical Details

  • Runtime: Python 3.6+
  • Dependencies: Zero (stdlib only)
  • Input formats: Markdown, CSV, JSON (array of objects), TSV
  • Output: GitHub-Flavored Markdown tables