Skip to content

Markdown to XLSX Converter

Convert a Markdown table into a Microsoft Excel XLSX file, with automatic column sizing, a frozen header row, and optional type detection.

Category: data
Use Case: Excel Reports, Documentation to Data, Spreadsheet Export
Privacy: 100% browser-based

Excel Options

Recommended Settings

Pro Tips

  • The separator row (the line of dashes under the header) is detected automatically and skipped
  • With type inference on, numeric and true/false cells become real Excel numbers and booleans, not text
  • Rows with fewer cells than the widest row are padded with empty values
  • Frozen headers stay visible when scrolling through large datasets
  • Header styling makes data tables more professional and readable

Most Popular

Most users enable all options for professional, Excel-ready spreadsheets

When to Use This Tool

Documentation to Spreadsheet

Extract a data table from a README, wiki, or spec written in Markdown and turn it into a proper Excel file for analysis or sharing.

Business Reports & Analytics

Convert Markdown-based reference tables into Excel spreadsheets for business reports, financial summaries, or executive dashboards.

Data Distribution

Share tabular content maintained in Markdown docs with colleagues or clients who prefer working in Excel rather than reading raw Markdown.

Excel Analysis & Pivot Tables

Prepare Markdown table data for advanced Excel features like pivot tables, charts, and conditional formatting that aren't possible in plain text.

How It Works

1

Split the Markdown input into lines and detect the separator row (the line of dashes under the header)

2

Parse each remaining row by splitting on unescaped pipe (|) characters, padding rows to a consistent column count

3

Optionally infer numbers and booleans from cell text so they become native Excel cell types

4

Calculate optimal column widths based on content length if enabled

5

Apply a frozen header pane and header styling (bold, blue background) if enabled

6

Generate a native Excel XLSX file using the SheetJS library and trigger the download

100% Private

Files never leave your device. All processing happens locally in your browser.

Lightning Fast

Powered by SheetJS (xlsx) for optimal performance on modern browsers.

Secure

No data collection, no tracking, no sign-up required.

Frequently Asked Questions

What Markdown table format does this tool expect?

Standard GitHub-flavored Markdown tables: a header row, a separator row of dashes (optionally with colons for alignment), and one or more data rows, all using pipe (|) characters to separate columns.

Are numbers and booleans preserved as real Excel types?

With 'Infer numbers and booleans' enabled, cells that look like numbers or true/false values are written as native numeric and boolean Excel cells instead of text, so they sort and calculate correctly.

What happens to escaped pipe characters?

A backslash-escaped pipe (\|) inside a cell is converted back into a literal pipe character in the spreadsheet, since Excel cells don't need pipes escaped.

What if my table rows have different numbers of columns?

Rows with fewer cells than the widest row in the table are padded with empty values, so every row in the resulting spreadsheet has a consistent number of columns.

What does 'freeze header row' do?

It's an Excel feature that keeps the first row visible while you scroll down through large datasets, so column names stay in view no matter where you are in the spreadsheet.