The figures are already done. They sit in a spreadsheet, tidy rows and columns, and now someone needs them in a README, an issue or a documentation page that renders Markdown. So you start typing the table by hand: pipes between every value, a separator row of dashes underneath, padding spaces to keep it readable. It looks right in the editor. Then it renders as one long line of plain text, because a single missing separator row or one stray pipe inside a cell quietly broke the whole structure.
This guide shows the reliable way to do that job with the free Markdown Table Generator on Ovatly. One honest point first: the generator is a grid editor, not an importer. You rebuild your spreadsheet selection in its grid, typing or copying the values cell by cell, and it writes the Markdown for you. For the small tables that end up in documents, that trade is worth it: every pipe, separator and alignment marker comes out right.
Contents
- Quick answer
- Why hand-written Markdown tables break
- What the generator does instead
- How to build the table, step by step
- Worked example: a two-column people table
- Alignment, and what Markdown tables cannot do
- Limitations and alternatives
- Common mistakes
- FAQs
- Conclusion
Quick answer
Open the Markdown Table Generator, type your spreadsheet's header row into the header cells and choose an alignment for each column, then fill in the body cells, using the Add row and Add column buttons as needed. The generated Markdown updates below the grid as you work. Copy it into your README, issue or document. The tool does not take a file upload and does not import an existing table; the few minutes of typing buys you counted pipes, a guaranteed separator row, and automatically escaped cell pipes.
Why hand-written Markdown tables break
A Markdown table is plain text with a strict shape. Each row is a line, each cell is separated by a pipe, and directly under the header there must be a separator row of dashes that tells the renderer the text above it is a table at all. Miss that separator row and the renderer treats the lines as an ordinary paragraph.
The second trap is subtler. A pipe character inside a cell is not read as text; it starts a new column. So a cell containing something like a | b silently splits into two cells, every column after it shifts, and the table renders lopsided or not at all. The third trap is maintenance: keeping pipes lined up with padding spaces makes every small change fiddly, and people stop updating the table.
None of these are knowledge problems. They are typing problems, and typing problems are what a generator removes.
What the generator does instead
The generator shows a simple grid editor. You edit the header cells, fill in the body cells, add or remove rows and columns with buttons, and set each column's alignment. Below the grid, the finished Markdown updates as you type, so what you copy is exactly what you see being built.
Two details do most of the work. First, the separator row is generated for you, with the alignment you chose for each column written into it. Second, pipe characters inside cell text are escaped automatically as \|, so cell content cannot break the table structure. That single behaviour removes the most common cause of broken hand-written tables.
How to build the table, step by step
- Look at your spreadsheet selection and count its shape: how many columns, how many rows, and which row is the header. That is the grid you are about to rebuild.
- Open the Markdown Table Generator and edit the header cells to match your selection's header row.
- Choose an alignment for each column: left, center or right. Numbers usually read best right-aligned, short labels left.
- Fill in the body cells with the values from your spreadsheet, using the Add row and Add column buttons until the grid matches the selection.
- Read the generated Markdown below the grid and check it against the selection once, value by value.
- Copy the Markdown into your README, issue or document, and preview the rendered page to confirm the table appears as a table.
Worked example: a two-column people table
Say your spreadsheet holds a tiny people table: headers Name and Age, and two rows, Ada aged 36 and Grace aged 85. In the generator you type Name and Age as the headers, set the Name column to left alignment and the Age column to right, and fill in the two rows. The generator produces:
| Name | Age |
| :--- | ---: |
| Ada | 36 |
| Grace | 85 |
Read the separator row and you can see the alignment choices written in the standard syntax: :--- for the left-aligned Name column and ---: for the right-aligned Age column. The center option is :---:. Nothing in the output needs padding spaces or hand-counted pipes, and if you later add a third person, you add a row in the grid and copy the fresh Markdown rather than editing the text version by hand.
Alignment, and what Markdown tables cannot do
Alignment uses the standard separator syntax: :--- means left, :---: means center and ---: means right. Those markers are part of the widely supported GitHub-flavored table syntax, so most documentation platforms, README renderers and issue trackers honour them. A few minimal renderers ignore alignment but still show the table itself, which is a graceful way to degrade.
The format itself has hard limits, and it is better to meet them before you design the table. Markdown tables cannot do merged cells. They cannot hold multi-line content inside a cell. They cannot carry rich formatting inside cells beyond basic inline Markdown such as bold or a link. If your spreadsheet selection relies on a merged title row or notes wrapped across lines, flatten it first: put the title in the text above the table and keep each cell to a single short value.
Limitations and alternatives
The generator builds tables in the grid editor only. It does not import Markdown, it does not accept a spreadsheet file, and there is no bulk conversion path for a sheet with hundreds of rows; typing that much data cell by cell is the wrong tool for the job. For a quick table from data at that scale, the entry for this tool points to the CSV to HTML Table tool in Data Tools, which covers the spreadsheet direction.
Renderer support is the other limit. Alignment and the table itself depend on the platform supporting GitHub-flavored tables. Where it does not, you will see the raw pipe text, and an HTML table is the safer format there.
Common mistakes
- Hand-editing the copied Markdown later. One added pipe or deleted separator breaks the table again. Change the grid and copy fresh output instead.
- Designing with merged cells. A merged header row in the spreadsheet has no Markdown equivalent. Flatten the selection before you start.
- Putting line breaks inside cells. Multi-line cell content is not supported; split the information into another column or a note under the table.
- Forgetting that a pipe in the text is structural. Outside the generator, a raw pipe in a cell starts a new column. Inside it, escaping is automatic, which is the point of using it.
- Building an enormous table in the grid. The editor suits document-sized tables. Large data belongs in a data tool, not in a page of Markdown.
FAQs
Why did a cell break my table before? An unescaped pipe inside a cell starts a new column in Markdown. This generator escapes pipes for you, which is the most common cause of broken hand-written tables.
Can I paste an existing table to edit it? This tool builds tables in the grid editor; it does not import Markdown. For a quick table from data, the CSV to HTML Table tool in Data Tools covers the spreadsheet direction.
Do all Markdown renderers show alignment the same way? Alignment markers are part of the widely supported GitHub-flavored table syntax. A few minimal renderers ignore alignment but still show the table.
Can I upload a spreadsheet file or import a CSV directly? No. There is no file upload and no import: you build the table in the grid editor, typing or copying the values from your selection cell by cell. For turning data files into tables at larger scale, the CSV to HTML Table tool in Data Tools covers the spreadsheet direction.
What happens if a cell contains a pipe character? It is escaped automatically as a backslash-pipe in the generated Markdown, so the character shows as text inside the cell instead of starting a new column and breaking the table structure.
Conclusion
A spreadsheet selection becomes a Markdown table the moment its shape is rebuilt in a grid that writes the syntax for you: headers set, alignment chosen per column, pipes escaped, separator row guaranteed. The Markdown Table Generator does that in the browser, and the result pastes cleanly into a README, an issue or a doc page. For the string your own browser sends with every request, and how to make sense of it, read What Is a User Agent String and How Do You Read One. More guides like this one live in the Developer Tools guides archive.