You write out a table, pipes and dashes all present, hit preview, and get a paragraph. The lines sit there as raw text, separators and all, or the table appears but one row bulges sideways with its last cell pushed into a column of its own. Markdown tables fail quietly and completely: a renderer either recognizes the whole block as a table or treats it as ordinary text, and small structural slips tip it into the second camp. This guide walks through the five mistakes behind almost every broken table and finishes with the workflow that avoids all five: building the table in the Markdown Table Generator on Ovatly instead of counting pipes by hand.
Contents
- Quick answer
- Mistake 1: the missing separator row
- Mistake 2: uneven pipe counts between rows
- Mistake 3: a literal pipe inside cell text
- Mistake 4: a header row with a different column count
- Mistake 5: a blank line inside the table block
- How to build a table that cannot break, step by step
- Worked example: a broken people table, rebuilt
- Limitations
- Common mistakes
- FAQs
- Conclusion
Quick answer
A Markdown table breaks when its structure stops matching what a renderer expects: a header row, a separator row of dashes directly beneath it, and body rows that each carry the same number of pipes as the header. The five usual causes are a missing separator row, uneven pipe counts, an unescaped pipe inside a cell, a header whose column count differs from the rows below it, and a blank line splitting the block. The Markdown Table Generator sidesteps all five: you type into a grid, and it emits a separator row, even pipe counts and automatically escaped pipes every time.
Mistake 1: the missing separator row
The separator row is the line of dashes under the header, and it is not optional decoration. It is the signal that turns three lines of text into a table. Leave it out and this happens:
| Name | Age |
| Ada | 36 |
| Grace | 85 |
To a renderer there is no table here, just lines containing pipes, so it prints them as a paragraph. Add the separator row back and the same content renders properly:
| Name | Age |
| :--- | ---: |
| Ada | 36 |
| Grace | 85 |
Mistake 2: uneven pipe counts between rows
Pipes are column boundaries, so a row's pipe count is its column count. When one row carries more pipes than the rows around it, that row claims an extra column and everything after the extra pipe shifts sideways:
| Name | Age |
| :--- | ---: |
| Ada | 36 | extra |
| Grace | 85 |
The Ada row has three cells in a two-column table. Some renderers drop the overflow, others let the row spill. Either way the table looks broken, and the cause is one stray character. The fix is discipline: every row, header included, ends up with exactly the same number of pipes.
Mistake 3: a literal pipe inside cell text
This is the most common cause of broken hand-written tables, and it is really mistake 2 in disguise. A pipe typed as content is read as a boundary, because Markdown has no way to know you meant it as text. A cell holding a choice like small | large splits into two cells at the pipe. The repair is to escape the pipe with a backslash, writing small \| large, so the renderer treats it as a character. The generator makes this class of error disappear: pipe characters inside cell text are escaped automatically, so cell content cannot break the table structure.
Mistake 4: a header row with a different column count
The header and the separator beneath it define the table's width. If the header names three columns while the separator and body rows carry two, or the reverse, the block no longer describes one consistent table:
| Name | Age | City |
| :--- | ---: |
| Ada | 36 |
| Grace | 85 |
The header promises a City column that no row fills. Depending on the renderer, the table renders with an empty third column, renders lopsided, or fails to render as a table at all. The header, separator and every body row must agree on the count, because the renderer builds the grid from all of them together.
Mistake 5: a blank line inside the table block
A table is one unbroken block of lines. A blank line in the middle ends it. The rows above the gap render as one table; the rows below start over as text, and without their own header and separator they print as raw lines:
| Name | Age |
| :--- | ---: |
| Ada | 36 |
| Grace | 85 |
The Grace row is stranded outside the table. When you extend a table, add the new row directly under the last one, with no empty line in between.
How to build a table that cannot break, step by step
- Open the Markdown Table Generator and edit the header cells in the grid, choosing an alignment for each column.
- Fill in the body cells, using the Add row and Add column buttons as needed. Growing the table through the buttons keeps every row at the same width.
- Type cell content freely, including pipe characters. The generator escapes them for you.
- Watch the generated Markdown update below the grid, separator row included.
- Copy it into your README, issue or document.
Worked example: a broken people table, rebuilt
Start with the first mistake's table: headers Name and Age, rows Ada, 36 and Grace, 85, and no separator row, so it renders as a paragraph. Rebuilt in the generator with the same headers, left alignment for Name and right alignment for Age, and the same two rows, the generator produces:
| Name | Age |
| :--- | ---: |
| Ada | 36 |
| Grace | 85 |
Same words, same numbers. The difference is purely structural: a separator row is present, every row carries three pipes, and there is nothing left for a renderer to misread.
Limitations
The generator builds tables in its grid editor; it does not import Markdown, so an existing broken table cannot be pasted in for repair. You rebuild it in the grid, which for most small tables is quick, and the clean output is yours to keep.
Markdown tables also have hard limits no generator removes. They cannot do merged cells, multi-line content or rich formatting inside cells beyond basic inline Markdown. A layout that needs any of those belongs in a different format, not in a wider table.
Common mistakes
- Editing generated output by hand. You copy clean Markdown, then delete a cell while tidying and quietly unbalance one row. Edit in the grid and copy again instead.
- Counting pipes in the source instead of previewing. Padding spaces make source lines look even when their pipe counts differ. The preview is the test that counts.
- Expecting the renderer to repair the table. Renderers follow the structure they are given. A forgiving preview in one app can hide a break that another app shows.
FAQs
Why did my Markdown table render as plain text? The most likely cause is a missing separator row. Without the row of dashes directly under the header, a renderer has no signal that the lines form a table, so it prints the pipes and dashes as an ordinary paragraph.
Why did one cell break my whole table? An unescaped pipe inside a cell starts a new column in Markdown. That single character gives the row one column too many and pushes every later cell sideways, which is the most common cause of broken hand-written tables.
How do I put a pipe character inside a table cell? Escape it with a backslash, so the renderer treats it as text instead of a column boundary. The Markdown Table Generator escapes pipes in cell text automatically, which removes this failure entirely.
Can I paste an existing broken table into the generator to fix it? No. The generator builds tables in its grid editor and does not import Markdown. The fix is to rebuild the table in the grid, headers and cells typed once, and copy out the clean Markdown it produces.
What happens when one row has more pipes than the header? The row claims more columns than the table has. Renderers handle the overflow inconsistently: extra cells may be dropped or the row may spill past the table edge. Keep every row at the same pipe count as the header and separator.
Conclusion
Broken Markdown tables fail on structure, not content: a missing separator row, one pipe too many, a pipe typed as text, a header that disagrees with its rows, or a blank line through the middle. Check those five points and nearly any broken table is diagnosable in a minute. To understand the separator row you are checking, including the colons that set alignment, read the companion guide on Markdown table alignment. For more tools in this group, browse the Developer Tools guides.