Excel 轉 Markdown 表格
在瀏覽器中將 Excel(.xlsx/.xls)或 CSV 轉換為 GitHub 風格 Markdown 表格。支援合併儲存格與自動數字欄對齊,無需上傳、無需註冊。
Drop an .xlsx, .xls, or .csv file to begin.
How to convert Excel to Markdown table
- Upload your file. Click "Choose Excel / CSV file" and select an
.xlsx,.xls, or.csvfile. The file is read locally — no upload, no signup. - Pick a sheet (if your workbook has more than one). A Sheet dropdown appears automatically. Select the sheet you want to convert.
- Click Convert to Markdown. The tool parses your spreadsheet using SheetJS, expands merged cells, detects numeric columns, and generates a GitHub-flavored Markdown table.
- Copy or download. Use the Copy button for quick paste into GitHub, Notion,
Obsidian, or any Markdown editor. Use Download to save as a
.mdfile.
Why convert Excel to Markdown?
Markdown tables are the universal data interchange format for documentation, README files, wikis, and static sites. Copying rows from Excel and manually typing pipe characters is error-prone and slow. This tool reads the raw spreadsheet structure — including merged cells that other converters ignore — and emits valid GitHub-Flavored Markdown (GFM) table syntax that renders correctly on GitHub, GitLab, Notion, Obsidian, and all major Markdown renderers.
Merged cells and alignment
Most online Excel-to-Markdown tools leave merged cells blank, producing tables with empty columns that confuse readers and break renderers. This tool expands merged cells: if a cell spans three columns, its value appears in all three columns of the output. For row merges, the value is repeated in each spanned row.
Column alignment is automatic: columns where every data cell contains a number are right-aligned
using the GFM ---: separator. Text columns are left-aligned. You can disable
auto-alignment to get all-left alignment for a cleaner source view.
Related tools
- Markdown to DOCX — convert Markdown back to Word
- OpenAPI to TypeScript Types — convert API specs in the browser
- CSV to JSON — convert CSV to structured JSON
- XML to CSV Bulk — batch convert XML files to CSV
- Excel to Markdown converter
- CSV to Markdown table
常見問題
- Does my Excel file leave my device?
- No. All conversion runs entirely in your browser using the SheetJS library. Your .xlsx or .csv file is never uploaded to any server — it is read locally and the Markdown is generated on your device. Works offline after the page loads.
- What file formats are supported?
- Excel 2007+ (.xlsx), legacy Excel (.xls), and comma-separated values (.csv). The tool uses SheetJS to parse these formats, so it handles the same range of files that Excel itself can open.
- How are merged cells handled?
- Merged cells are expanded: the value from the top-left cell of the merge is repeated in every column and row the merge spans. This avoids blank cells in the Markdown output, which would otherwise break the table alignment.
- How is column alignment detected?
- Columns where every data cell contains a numeric value (integers, decimals, percentages) are right-aligned using the GFM ---: separator. All other columns are left-aligned. You can also switch to all-left alignment using the toggle.
- Can I convert a specific sheet from a multi-sheet workbook?
- Yes. After selecting an .xlsx file with multiple sheets, a Sheet dropdown appears. Choose the sheet you want to convert before clicking "Convert to Markdown".
- Does it work on mobile?
- Yes. The file picker and converter work in iPhone Safari and Android Chrome. Tap the file picker button, select your file from Files or Drive, and tap Convert.
Last updated: By jarvisbox