[{"data":1,"prerenderedAt":143},["ShallowReactive",2],{"content-/markdown-table-generator":3},{"id":4,"title":5,"body":6,"description":13,"extension":14,"meta":15,"navigation":137,"path":138,"seo":139,"sitemap":140,"stem":141,"__hash__":142},"content/markdown-table-generator.md","Markdown Table Generator — Free, Instant, Private",{"type":7,"value":8,"toc":9},"minimark",[],{"title":10,"searchDepth":11,"depth":11,"links":12},"",2,[],"Build a markdown table in an editable grid. Add rows and columns, set alignment, paste from Excel, Google Sheets or CSV, then copy the table. Runs in your browser, nothing is uploaded.","md",{"layout":16,"sections":17,"schema":129},"default",[18,23,36,39,61,89,122],{"type":19,"badge":20,"headline":21,"subheadline":22},"tableGenerator","Free • Instant • Private","Markdown Table Generator","Edit the grid, paste cells from a spreadsheet or CSV, pick the alignment, and copy a clean GitHub Flavored Markdown table. Everything happens in your browser.",{"type":24,"title":25,"steps":26},"howItWorks","How It Works",[27,30,33],{"title":28,"description":29},"Fill the grid","type into the cells, or paste a block copied from Excel, Google Sheets, a CSV file, or an existing markdown table",{"title":31,"description":32},"Shape the table","add or remove rows and columns, and set each column to left, center, or right alignment",{"title":34,"description":35},"Copy or download","the markdown updates as you type — copy it to your clipboard or save it as a .md file",{"type":37,"markdown":38},"articleContent","## Markdown table syntax in one minute\n\nA markdown table is a header row, a separator row, and any number of body rows. Pipes split the cells, and the separator row of dashes tells the renderer where the header ends.\n\n```markdown\n| Name  | Role     | Start date |\n| :---- | :------: | ---------: |\n| Ada   | Engineer | 2026-01-12 |\n| Grace | Designer | 2026-02-03 |\n```\n\n### Column alignment\n\nColons in the separator row set the alignment for the whole column:\n\n- `:---` or `---` is left aligned (the default)\n- `:---:` is centered\n- `---:` is right aligned\n\nThe alignment buttons above each column in the generator write these colons for you.\n\n### Pipes inside a cell\n\nA literal `|` inside a cell would start a new column, so escape it as `\\|`. The generator does this automatically whenever a cell contains a pipe. Line breaks inside a cell are not part of the syntax; use `\u003Cbr>` where the renderer allows inline HTML.\n\n### Padded or compact\n\nRenderers ignore extra spaces, so `| a | b |` and `| a    | b    |` produce the same table. Padded output lines the columns up so the source is readable in a code review; compact output is shorter and easier to paste into a chat or a commit message. The \"Align columns\" switch flips between the two.\n\n### What GitHub Flavored Markdown supports\n\nTables are a GFM extension, not part of the original Markdown or CommonMark. GitHub, GitLab, Bitbucket, Obsidian, Notion, Discord's code preview, VS Code, and most static site generators render them. Inside cells you can use inline formatting such as `**bold**`, `*italic*`, `` `code` ``, links, and images. You cannot nest lists, headings, code blocks, or another table inside a cell, and cells cannot span rows or columns.\n\nEvery table needs a header row and a separator row with at least three dashes per column. If a row has fewer cells than the header, the missing cells render empty; if it has more, the extras are dropped.\n\n## When a markdown table doesn't render\n\n### It shows up as lines of pipes\n\nCheck three things. The table needs a blank line above it, or the renderer reads it as part of the paragraph before. The separator row of dashes must be there, directly under the header. And the platform has to support GFM tables: GitHub, GitLab, Obsidian and most docs tools do, but some comment boxes and chat apps don't.\n\n### A column split in two\n\nAn unescaped `|` inside a cell starts a new column. The generator escapes pipes for you; when you edit the markdown by hand, write `\\|` instead, even inside inline code.\n\n### I need merged cells or several paragraphs in a cell\n\nPipe tables can't do either. Where the renderer allows HTML (GitHub does), write the table as an HTML `\u003Ctable>` with `colspan` or `rowspan`, or split the content into two simpler tables.\n\n## Other ways to make a markdown table\n\n- **Write it by hand.** For two or three rows, typing pipes and dashes is quick, and the columns don't need to line up.\n- **Your editor.** VS Code extensions such as Markdown All in One reformat a table's columns when you format the document, and Obsidian has table editing built in.\n- **Other online generators.** TablesGenerator.com offers a spreadsheet-style editor, and TableConvert converts between dozens of table formats.\n- **From a file.** For a whole spreadsheet or CSV file, the [Excel to Markdown](/excel-to-markdown) and [CSV to Markdown](/csv-to-markdown) converters skip the grid entirely. Pandoc does the same on the command line with `pandoc -f csv -t gfm data.csv`.\n",{"type":40,"title":41,"items":42},"features","What the Generator Does",[43,46,49,52,55,58],{"title":44,"description":45},"Paste from Excel or Google Sheets","copy a range of cells and paste into any cell; the tab-separated block fills the grid from that cell, growing it as needed",{"title":47,"description":48},"Paste CSV","comma or semicolon separated text, including quoted values, loads the same way, so this doubles as a CSV to markdown table converter",{"title":50,"description":51},"Import an existing markdown table","paste a pipe table and it is parsed back into the grid, alignment included, so you can edit it without counting pipes",{"title":53,"description":54},"Per-column alignment","left, center, or right for each column, written into the separator row as :---, :---: or ---:",{"title":56,"description":57},"Pipes escaped for you","a | in a cell becomes \\| in the output so the table never breaks",{"title":59,"description":60},"Nothing leaves your browser","the grid and the output live on this page only; no upload, no account, no tracking of what you type",{"type":62,"title":63,"items":64},"faqs","Frequently Asked Questions",[65,68,71,74,77,80,83,86],{"question":66,"answer":67},"How do I make a markdown table?","Type into the grid above, or paste cells from a spreadsheet. The markdown on the right updates as you edit. Press Copy Markdown and paste it into your README, wiki, issue, or note. A markdown table is just a header row, a separator row of dashes, and body rows separated by pipes.",{"question":69,"answer":70},"Can I paste a table from Excel or Google Sheets?","Yes. Select the cells in Excel, Google Sheets, Numbers, or LibreOffice, copy, click any cell in the grid, and paste. The clipboard holds the cells as tab-separated text, which the generator reads and places starting at the cell you clicked. The first pasted line becomes the header if you paste into the header row.",{"question":72,"answer":73},"Can I convert CSV to a markdown table here?","Yes. Paste CSV text into a cell or into the Import box. Comma, tab, and semicolon delimiters are detected, and quoted values that contain commas or line breaks are handled. For a CSV file on disk, the CSV to Markdown converter accepts the file directly.",{"question":75,"answer":76},"How do I set column alignment?","Use the three buttons above each column for left, center, or right. The generator writes :---, :---: or ---: into the separator row. Alignment applies to the whole column; markdown has no per-cell alignment.",{"question":78,"answer":79},"Can I edit a markdown table I already have?","Yes. Paste the whole table (header, separator, and rows) into any cell or into the Import box. It is parsed back into the grid with its alignment, and you can change cells, add rows, or reorder columns by removing and re-adding them.",{"question":81,"answer":82},"Is the table generated on a server?","No. The page is static and the grid, parsing, and output run in your browser with JavaScript. Nothing you type is sent anywhere. You can turn off your network connection after the page loads and the tool keeps working.",{"question":84,"answer":85},"Does the output work on GitHub?","Yes. The output is a GitHub Flavored Markdown pipe table, which GitHub, GitLab, Bitbucket, Obsidian, Notion, and most documentation generators render. Platforms that follow only the original Markdown spec, such as some comment systems, do not render tables at all.",{"question":87,"answer":88},"Can a cell hold more than one line?","Markdown tables do not support line breaks inside cells. If you paste CSV with a line break inside a quoted value, the generator replaces it with a \u003Cbr> tag, which GitHub and most renderers display as a line break.",{"type":90,"title":91,"subtitle":92,"items":93},"relatedArticles","Related Converters & Guides","More ways to get tabular data into markdown.",[94,99,103,108,113,118],{"name":95,"badge":96,"description":97,"link":98},"CSV to Markdown","Converter","Drop a CSV file and get a markdown table — handles large files and quoted values.","/csv-to-markdown",{"name":100,"badge":96,"description":101,"link":102},"Excel to Markdown","Convert .xlsx, .xls and .ods workbooks to one markdown table per sheet, in the browser.","/excel-to-markdown",{"name":104,"badge":105,"description":106,"link":107},"Markdown Cheat Sheet","Reference","Every markdown syntax element with examples, including the full table section.","/markdown-cheat-sheet",{"name":109,"badge":110,"description":111,"link":112},"Excel to Markdown — Complete Guide","Tutorial","Four methods for turning spreadsheets into markdown, from drag-and-drop to Python.","/excel-to-markdown-guide",{"name":114,"badge":115,"description":116,"link":117},"Markdown Viewer","Tool","Paste your markdown and check how the table renders.","/markdown-viewer",{"name":119,"badge":115,"description":120,"link":121},"Markdown to Word","Turn a markdown document with tables into a .docx with real Word tables.","/markdown-to-word",{"type":123,"title":124,"subtitle":125,"cta":126},"ctaBanner","Have a whole file to convert?","Drop a CSV, Excel, PDF, Word or HTML file and get clean markdown in seconds. Free, private, no signup.",{"text":127,"link":128},"Open the Converter","/",{"softwareApplication":130},{"name":131,"applicationCategory":132,"operatingSystem":133,"offers":134},"Craft Markdown Table Generator","UtilitiesApplication","Web Browser",{"price":135,"priceCurrency":136},"0","USD",true,"/markdown-table-generator",{"title":5,"description":13},{"loc":138},"markdown-table-generator","hvocFbmZ9Nsjt-7JwbsMWJQtbshdW1s8LmsAfSjKJug",1791690569837]