Markdown Table Generator

Runs in your browser Runs in your browser · Files stay on your device · 100% private

Turn CSV or Excel rows into a clean Markdown table.

Markdown always needs a header row. When the header option is off, an empty header is used and every row becomes data.

Open a CSV or Excel file, or paste data to begin.

Input
CSV, TSV, XLSX, Markdown table
Output
Markdown table, CSV
Limit
5 MB
Processing
In-browser
Retention
Stays on device

FAQ

Does this tool support Excel files with multiple sheets?

Yes. Open an XLSX file and choose a sheet from the selector. The preview and output update when you switch sheets.

What happens when the header option is off?

Markdown always needs a header row. The tool writes an empty header with the same number of columns, then places every row in the table body.

How are pipes inside cells handled?

With escaping on, a pipe becomes \| so it does not split the cell. Turn escaping off only when you know the cell content is safe.

Can I convert a Markdown table back to CSV?

Yes. Open the Markdown to Data tab, paste the table, and copy or download the CSV. The parser accepts tables with or without a separator row.

Why does the CSV export change formula-like cells?

By default it does not change them. The optional protection checkbox adds an apostrophe before cells that start with =, +, -, or @ so a spreadsheet does not run them as formulas.

What are the limits?

Files can be up to 5 MB, with 10,000 rows, 100 columns, and 200,000 cells. Larger files show an error instead of a partial table.

Is my spreadsheet uploaded anywhere?

No. CSV parsing, XLSX reading, and Markdown generation run in your browser. The file stays on your device.

What happens to line breaks inside a cell?

They become <br> in the Markdown table so the table stays valid. Converting the table back to CSV restores the line break.

More details & usage notes

A CSV to Markdown table generator saves you from typing pipes and separator rows by hand. Paste data from Excel, Google Sheets, or a CSV export, or open an XLSX file and choose a sheet. The tool reads the rows, pads uneven columns, escapes pipes inside cells, and writes a table that renders correctly on GitHub, Notion, and most Markdown editors. You can switch alignment, keep the first row as a header, or turn it into an empty header when your data has no labels. The reverse tab turns an existing Markdown table back into CSV.

How to use Markdown Table Generator

  1. Open or paste your data:

    Choose a CSV, TSV, or XLSX file, or paste rows into the text box. Excel files show a sheet selector.

  2. Check the first row:

    Leave "First row is a header" on when the top row contains column names. Turn it off when every row is data.

  3. Pick alignment and pipes:

    Choose left, center, right, or no alignment. Keep "Escape pipes in cells" on so a value like x|y does not break the table.

  4. Copy or download:

    Copy the Markdown into your README or document, or download a .md file. The reverse tab exports CSV.

Tips for Markdown Table Generator

  • To check how the table looks with the rest of your document, paste it into Markdown Preview.

  • To turn the same Markdown into a PDF, use Markdown to PDF.

  • Keep the header row short. Long column names force wide tables and make the raw Markdown harder to scan.

  • If a cell contains a pipe, leave escaping on. The output uses \|, which renders as a literal pipe.

  • A cell with a line break becomes <br> in the Markdown table. The reverse tab turns it back into a newline in the CSV.

Common use cases

  • README tables:

    Turn a spreadsheet of commands, roles, or compatibility notes into a table that reads well on GitHub.

  • Documentation and specs:

    Paste a CSV export into a Markdown spec without opening a table editor or fixing column widths by hand.

  • Data cleanup before publishing:

    Use the Markdown to CSV tab to pull a table out of a document, edit it in a spreadsheet, then turn it back into Markdown.

  • API response tables:

    Turn a CSV of endpoints, methods, and status codes into a reference table that stays readable in a README or a pull request.