Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Document & Text
  3. Markdown Table Generator
Add to favorites

Markdown Table Generator

Build Markdown tables in an editable grid or paste them from a spreadsheet or CSV, with column alignment, escaped pipes and neatly padded output.

Text processed locallyMore document & textJump to full guide

Initializing in your browser…

You might also like

Markdown Editor & Preview

Write Markdown with a live side-by-side preview, GitHub tables, task lists and strikethrough, then copy the HTML or download .md and .html files.

HTML ↔ Markdown Converter

Convert HTML to clean Markdown or Markdown to HTML as you type, with GitHub tables, code languages kept, style options and a safe preview.

Printable Paper Generator

134 printable paper templates, from dot grid and graph paper to Cornell notes, planners, calendars, music and game boards, at any paper size as vector PDF, SVG or PNG.

Markdown Table Generator: a worked example

A product manager copies a pricing range from Google Sheets and needs it as a Markdown table for the project README.

Pasted from a spreadsheet (tab-separated)

Plan        Price  Users
Starter     $9     1
Team | Pro  $29    5
What Markdown Table Generator produces

Markdown, Aligned layout, Plan left, numbers right

| Plan        | Price | Users |
| :---------- | ----: | ----: |
| Starter     |    $9 |     1 |
| Team \| Pro |   $29 |     5 |

The paste is recognised as tab-separated, and the first row becomes the header. Setting Price and Users to right-aligned writes ----: in the divider row, so the numbers line up when rendered. The pipe in "Team | Pro" is escaped as \| so it stays inside one cell, and the Aligned layout pads each column so every line is 31 characters wide in the source.

About the Markdown Table Generator

Build a Markdown table in an editable grid, or paste cells from Excel, Google Sheets, a CSV or an existing Markdown table, and get clean GitHub-flavoured Markdown with aligned columns. Copy it, download it, and check it in the live preview.

How it works

Markdown tables are simple in principle, a header row, a divider row and pipes between cells, but tedious to write by hand and easy to break. One stray pipe in a cell splits it in two, and lining the columns up so the source is readable means counting spaces. This generator does the typing for you: you edit cells in a grid and the Markdown updates as you go.

Start from what you have. Most tables already exist somewhere. Copy a range of cells in Excel, Numbers or Google Sheets and paste it into the import box, and it comes in as tab-separated values. CSV files work too, including quoted fields that contain commas or line breaks, and so do existing Markdown tables, so you can tidy or edit a table from a README. The format is detected automatically, and a note says what was read.

Edit and align. Rename headers, add or remove columns and rows, move rows up and down, and set each column's alignment to left, centre, right or unset. Alignment is written into the divider row with colons (:---, :---:, ---:), which GitHub, GitLab and most Markdown renderers honour. On a phone the table switches to one card per row, so editing stays comfortable on a small screen.

Output that reads well and renders correctly. The Aligned layout pads every column so the table lines up in a monospace editor, measuring width the way a terminal does: Chinese, Japanese and Korean characters and most emoji take two columns, and combining accent marks take none, so tables with names like 東京 or São Paulo stay straight. One space and No spaces layouts are shorter when nobody reads the source. Pipes inside cells are escaped as \|, and because Markdown table cells cannot contain line breaks, you choose whether a break becomes a <br> tag, a space or nothing. Outer pipes at the start and end of each row are optional.

Checked before you copy. After writing the table, the tool reads its own Markdown back and confirms that every cell, header and alignment comes through unchanged, and that the aligned layout really is the same width on every line. Anything Markdown cannot represent, such as leading spaces in a cell, is listed. The preview shows the table as it will render. Everything runs in your browser.

How to use

  1. 1Type headers and cells into the grid, or press Try an example to load a small table.
  2. 2To start from existing data, open Import, paste cells from a spreadsheet, a CSV or a Markdown table (or open a file), and press Import.
  3. 3Add or remove columns and rows, reorder rows, and set each column's alignment.
  4. 4Choose a layout (Aligned, One space or No spaces), how line breaks inside cells are written, and whether rows have outer pipes.
  5. 5Copy the Markdown or download it as a .md file, and check the preview and the read-back confirmation.

Key features

  • Editable grid with add, remove and reorder for rows and columns
  • Import from Excel or Google Sheets (tab-separated), CSV and existing Markdown tables
  • Per-column left, centre and right alignment
  • Aligned output that stays straight with CJK text, emoji and accents
  • Compact layouts for smaller files
  • Pipes in cells escaped automatically; line breaks written as <br>, a space or nothing
  • Optional outer pipes
  • Read-back check that every cell and alignment survives
  • Live rendered preview and a phone-friendly card editor
  • Copy or download as .md; everything stays in your browser

When to reach for this

  • README and documentation tables

    Document configuration options, API parameters or supported platforms in a GitHub README with tidy, aligned columns.

  • Moving spreadsheet data into Markdown

    Copy a range from Excel or Google Sheets and turn it into a table for a wiki, a pull request description or a static site.

  • Comparison tables for blog posts

    Build a feature or pricing comparison with right-aligned numbers for a Markdown-based blog or knowledge base.

  • Cleaning up an existing table

    Paste a messy hand-written Markdown table, adjust it in the grid, and copy it back neatly aligned.

Tips & best practices

  • Right-align columns of numbers such as prices and counts so the digits line up in the rendered table.
  • Keep tables narrow enough to read on a phone; split very wide tables into two.
  • Use the Aligned layout while editing, then switch to No spaces if you need a compact file.
  • If a renderer shows <br> literally, it does not allow inline HTML; choose "A space" for line breaks instead.

Examples

  • Pasted from a spreadsheet

    Three tab-separated rows (Plan, Price, Users) import as a 3-column table. With Plan aligned left and the numbers aligned right, the divider row becomes | :---------- | ----: | ----: |.

  • A pipe inside a cell

    A plan named "Team | Pro" is written as Team \| Pro, so the renderer shows one cell with a pipe in it instead of splitting it into two cells.

  • Wide characters

    In the example table, 東京 (Tokyo) occupies two columns per Chinese character, and the Aligned layout pads the other rows to match, so every line is the same width in a monospace font.

Frequently asked questions

How do I paste a table from Excel or Google Sheets?

Select the cells in your spreadsheet, copy them, open Import, paste into the box and press Import. Spreadsheets copy cells as tab-separated text, which the tool recognises, and the first row becomes the header.

How do I align a column?

Use the alignment buttons under each header: left, centre or right. Auto leaves the alignment unset, so the renderer uses its default, usually left. The choice is written into the divider row with colons.

Can a cell contain a line break or a pipe?

Markdown tables have no syntax for a line break inside a cell, so choose whether breaks become <br> tags (rendered as line breaks on GitHub), spaces, or nothing. Pipes are escaped automatically as \| so they do not split the cell.

Which layout should I use?

Aligned is the easiest to read and edit in a code editor and is the usual choice for README files. One space and No spaces produce smaller files and avoid large diffs when a single long cell changes, which some teams prefer.

Will the table work on GitHub, GitLab and other sites?

Yes. The output follows the GitHub Flavored Markdown table syntax, which GitHub, GitLab, Bitbucket, most static site generators and many note apps support. The read-back check confirms the table parses as intended.

Is my data uploaded?

No. Editing, importing and generating all happen in your browser. The share link stores only the layout settings, not the table contents.

Related tools and how they differ

  • Markdown Editor & Preview: Writes and previews whole Markdown documents that include your table.
  • CSV to JSON Converter: Converts spreadsheet data to JSON when you need data rather than a table to display.
  • HTML ↔ Markdown Converter: Turns an HTML table from a web page into a Markdown table.

Private by design

Your text is processed locally in the browser. Nothing you paste or open is transmitted or logged.