Writing a Markdown table by hand means counting pipes and dashes for every row, and one extra pipe shifts everything. If your data already lives in a spreadsheet, you should not retype it. The Table to Markdown tool turns pasted cells into the pipe format GitHub understands, so you can focus on what the table says.
Table to Markdown Converter FREE online toolRuns in your browser. No sign-up, nothing to install. Open the tool →What a GitHub table looks like
GitHub Flavored Markdown tables use pipes between columns and a separator row of dashes under the header. A minimal example has a header line such as | Name | Role |, a second line | --- | --- |, and then one line per row. The separator row is required; without it, the text is shown as plain lines.
From sheet to README
- Select the cells in Excel or Google Sheets, including the header row, and copy them.
- Paste into the converter. Spreadsheet cells are copied as tab-separated text, so set the delimiter to Tab to have them read as columns.
- Check that the first row is used as the header.
- Copy the Markdown output.
- Paste it into your README.md, issue or pull request description, leaving a blank line before and after the table.
- Use the preview tab on GitHub to confirm it renders properly before committing.
Alignment and formatting
Colons in the separator row control alignment: :--- aligns left, :---: centers, and ---: right-aligns, which is useful for numbers. Inside cells you can use inline Markdown such as bold, code and links. If a cell contains a pipe character, escape it as \| or the row will split. Line breaks inside a cell are not supported; use <br> if you truly need one, or move the long text out of the table.
When a table is the wrong tool
- Very wide data with more than six or seven columns becomes unreadable on narrow screens and in raw view.
- Cells with paragraphs of text are better as a list or headings.
- Frequently changing data is painful to maintain in Markdown; link to the sheet instead.
- Tiny tables with two columns often read better as a simple bulleted list.
Keep it maintainable
Raw Markdown is read in diffs and code review, so aligned columns help even though rendering does not require them. If many contributors edit the README, add a note on how to regenerate the table, for example: update the spreadsheet, copy, convert and paste. Sort rows in a meaningful order, such as alphabetically or by priority, so changes show up as small diffs.
Consider where the table will appear. Issues and pull request comments support the same syntax, which makes tables handy for test results, benchmark numbers and feature comparisons.
A tiny worked example
Suppose you copy two columns, Command and Purpose, with the rows npm install and Install dependencies. The output becomes a header line, the dashed separator and one line per row. Paste it under a heading like Commands in your README, and GitHub draws a neat grid. If the output looks wrong, the usual cause is a blank header cell or an extra empty column copied from the sheet.
Check special characters
Look for characters that Markdown treats as syntax: asterisks, underscores, brackets and backticks. A product code like snake_case_name might turn into italic text. Wrap such values in backticks to display them literally. Also check that dates and numbers survived the paste in the format you wanted, since spreadsheets sometimes reformat values before you copy them.
Comments (0)
No comments yet. Be the first to share a thought.