Home › Developer Tools › Markdown Table Generator

Markdown Table Generator

Type into the grid, or paste cells straight from Excel, Google Sheets or a CSV file, and a neatly aligned Markdown table is written for you. Set each column's alignment, sort, transpose, then copy it into your README, docs or notes.

Last updated:

The first row is the header. Tip: copy cells from Excel or Google Sheets and paste them into any cell to fill the grid.

Advertisement
Advertisement

How to use the Markdown Table Generator

  1. Fill in the grid. The first row (H) is the header. Press Enter to move down; pressing Enter on the last row adds a new one.
  2. Or bring in data: copy a range in Excel or Google Sheets and paste it into a cell, or click Import data to paste CSV, TSV or a Markdown table.
  3. Set alignment with the L, C and R buttons above each column. Use ⇅ to sort, + to insert a column and × to delete one.
  4. Choose the output style: aligned (pretty) columns, with or without the outer pipes.
  5. Copy the Markdown or download it as a .md file. Check the Preview tab to see how it renders.

Markdown table syntax

A GitHub Flavored Markdown table has a header row, a separator row and any number of body rows:

| Plan | Price | Users |
| :--- | :---: | ----: |
| Free |  $0   |     1 |
| Team |  $12  |    10 |
SeparatorAlignment
---Default (usually left)
:---Left
:---:Center
---:Right (good for numbers)

Inside cells you can use inline Markdown: **bold**, _italic_, `code`, [links](https://example.com) and ~~strikethrough~~. Escape a literal pipe as \|.

Tips for readable tables

  • Right-align numbers so digits line up, and center short status values such as Yes/No.
  • Keep cells short. Long paragraphs make tables hard to read on phones; link to details instead.
  • Use the pretty option when the table lives in a README that people read as plain text. Turn it off for very wide tables to keep diffs small.
  • Converting a whole web page? The HTML to Markdown converter turns HTML tables into Markdown tables automatically.

Frequently asked questions

How do you make a table in Markdown?

Write the header cells separated by pipes (|), then a separator row of dashes such as | --- | --- |, then one line per row: | Ann | Designer |. Pipes at the start and end of each line are optional, and the columns do not have to line up, but aligned columns are easier to read.

How do I align columns in a Markdown table?

Add colons to the separator row: :--- aligns left, :---: centers and ---: aligns right. In this generator, click L, C or R above a column and the separator row is written for you.

How do I convert Excel or Google Sheets to a Markdown table?

Select the cells in your spreadsheet, copy them, click the top-left cell of the grid here and paste. The data is copied as tab-separated text, which the generator spreads across the grid. The first row becomes the header.

How do I put a pipe character in a table cell?

Escape it with a backslash: \|. The generator does this automatically when you type a | into a cell.

Can a Markdown table cell contain a line break or a list?

Markdown table cells must stay on one line, so block content such as lists or code blocks is not allowed. For a line break, most renderers including GitHub accept <br> inside a cell; line breaks in imported cells are converted to <br>.

Do Markdown tables work everywhere?

Tables are part of GitHub Flavored Markdown and are supported by GitHub, GitLab, Bitbucket, Reddit, Obsidian, Notion imports, most static site generators and many documentation tools. The original Markdown specification and plain CommonMark do not include tables.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

HTML to Markdown ConverterTurn HTML or pasted rich text into clean Markdown with tables and live preview.Markdown EditorWrite Markdown with a toolbar, live split preview, autosave and .md or HTML export.Markdown to HTMLConvert Markdown to clean HTML with a live editor.CSV to JSONConvert CSV data to JSON with live preview.Database Schema DesignerDesign tables and relationships visually, then export SQL for MySQL, PostgreSQL or SQLite.JSON to HTML TableConvert a JSON array of objects into clean HTML table code with CSS styles and a live preview.Markdown to Word ConverterConvert Markdown to a styled Word .docx file with headings, lists, tables, code and links.PDF to MarkdownConvert PDF to clean Markdown with headings, lists, tables, bold, italics and links.JSON to Excel ConverterTurn JSON into a styled .xlsx spreadsheet; nested arrays become their own linked sheets.JSON to CSVConvert JSON data to CSV for spreadsheets.Excel to CSVConvert XLSX spreadsheets to CSV.CSV ViewerOpen a CSV or TSV file as a sortable, filterable table.Excel Viewer (XLSX / XLS)Open XLSX, XLS and ODS spreadsheets in your browser without Excel.Line Ending ConverterConvert text and files between CRLF, LF and CR line endings.XML to JSONConvert XML to JSON with validation.Text Encoding ConverterDetect and convert text file encodings like UTF-8, UTF-16 and Latin-1.JSON ViewerExplore JSON as a collapsible tree, search keys and values and copy any node's path.TTF to WOFF2 ConverterConvert TTF and OTF fonts to WOFF2 or WOFF and get a ready @font-face CSS snippet.Chmod CalculatorConvert Linux file permissions between checkboxes, octal (755) and symbolic (rwxr-xr-x) notation.JSON to TypeScriptGenerate TypeScript interfaces or types from JSON, with nested types and optional fields.Morse Code TranslatorTranslate text to Morse code and back, then play it as sound or a blinking light, or save a WAV.HTML Table GeneratorBuild HTML tables in an editable grid with styles, header rows, CSV import and live preview.Hex to Text ConverterConvert hex to text and text to hex with UTF-8 support and space, 0x, \x or comma formats.JSON to XML ConverterConvert JSON to well-formed XML with attributes, arrays and pretty print.JSON to YAML ConverterConvert JSON to clean YAML as you type, with indent, quoting and sort options.YAML to JSON ConverterConvert YAML to pretty or minified JSON, with errors pinned to the exact line.JSON ValidatorCheck JSON with the exact line and column of each error, fix tips and one-click auto-fix.Image to Base64Convert images to Base64 data URIs, CSS backgrounds and HTML img tags in your browser.Base64 to ImagePaste a Base64 string or data URI to preview, identify and download the image.JSON CompareCompare two JSON documents and see every added, removed and changed path.Hex to DecimalConvert hex to decimal instantly with steps and signed mode.Decimal to HexConvert decimal to hex instantly with steps and signed mode.Binary to DecimalConvert binary to decimal instantly with steps and signed mode.Decimal to BinaryConvert decimal to binary instantly with steps and signed mode.Two's Complement CalculatorDecimal to two's complement binary and back for 4-64 bits, with invert-and-add-1 steps.XML to CSV ConverterConvert XML to CSV: detects repeating records, flattens nested data, pick your columns.CSV to XML ConverterConvert CSV to well-formed XML with custom root and row names, escaping and pretty print.TOML to JSON ConverterConvert TOML to JSON and JSON to TOML with a full v1.0 parser and clear error lines.TSV to JSON ConverterTurn tab-separated data pasted from Excel or Sheets into a JSON array or keyed object.XLS to XLSX ConverterConvert old Excel 97-2003 .xls workbooks to modern .xlsx files in your browser, several at once.XML to Excel ConverterTurn repeating XML elements into an .xlsx spreadsheet with attributes and nested data as columns.XSD to XML Sample GeneratorGenerate a sample XML document from an XSD schema, with types, attributes and namespaces.YAML to CSV ConverterTurn a YAML list of objects into CSV with dot-notation columns, custom column order and download.DOCX to Markdown ConverterConvert Word .docx to clean Markdown with headings, lists, tables, links and images in a ZIP.ES6 to ES5 ConverterTranspile modern JavaScript (ES2015+) to ES5 with Babel: targets, module format and loose mode.JavaScript Object to JSONTurn JS object literals and Python dicts into valid JSON: quotes keys, fixes commas and values.JSON Graph VisualizerSee JSON as an interactive node graph with zoom, collapse and search; export PNG or SVG.KML ViewerOpen KML and KMZ files on an interactive map: placemarks, paths, polygons, folders, export.MySQL to PostgreSQL ConverterConvert MySQL dumps and CREATE TABLE statements to PostgreSQL: types, AUTO_INCREMENT, ENUMs, quotes.Text to CSV ConverterTurn space-aligned, fixed-width, pipe or tab separated text into clean CSV with a live preview.VCF File ViewerOpen vCard .vcf files as contact cards with photos, search and duplicate check, export CSV.XML ViewerBrowse XML as a collapsible tree with search, XPath of any node, attributes and big-file support.JSON to Go StructTurn JSON into Go structs with inferred types, nested structs and json tags.JSON to Python ClassGenerate Python dataclasses, Pydantic models or TypedDicts with type hints from JSON.JSON to C# ClassConvert JSON to C# classes or records with System.Text.Json or Newtonsoft attributes.JSON SorterSort JSON keys A-Z recursively, sort arrays by value or by a key, then pretty-print or minify.CSV to SQL ConverterConvert CSV to SQL CREATE TABLE and INSERT statements for MySQL, PostgreSQL, SQLite or SQL Server.IPv4 to IPv6 ConverterConvert IPv4 to IPv4-mapped, 6to4 and NAT64 IPv6, extract IPv4 from IPv6, and get int/hex/binary.cURL to Code ConverterConvert curl commands to JavaScript fetch, Axios, Python requests, Node.js, PHP and Go code.Code to ImageTurn code into a beautiful syntax-highlighted PNG with themes, window frame and background.Excel to JSON ConverterConvert Excel sheets (XLSX, XLS, ODS) to JSON with header row, type and shape options.CSV to Excel ConverterConvert CSV files to a real .xlsx workbook with typed numbers and dates, one sheet per file.CSV SplitterSplit a large CSV into smaller files by row count, file count or column value, header kept.CSV MergerCombine many CSV files into one, matching columns by name, with dedupe and a source column.VCF to CSV ConverterConvert vCard (.vcf) contacts to CSV for Google or Outlook, or turn a CSV back into a VCF.Calendar Event (.ics) GeneratorCreate an .ics calendar invite with time zone, reminders and repeats + Google/Outlook links.CSV Column ExtractorPick, reorder and rename CSV columns, filter rows by value, and export a new CSV or JSON.CSV Diff CheckerCompare two CSV files by key column and see added, removed and changed rows cell by cell.
See all 129 Data & File Format Converters →