Markdown Table Generator
Paste rows from a spreadsheet or a CSV file and copy a ready-to-use GitHub-Flavored Markdown table. The conversion runs entirely in your browser. What you paste is not sent to a server and is not saved.
Preview
| Endpoint | Method | Auth |
|---|---|---|
| /api/convert | POST | Bearer key |
| /docs | GET | None |
How does the converter work?
The first line decides the separator: a tab (what spreadsheets put on the clipboard), a pipe, a semicolon or a comma. Cells wrapped in double quotes may contain the separator, and a doubled quote becomes one quote. A pipe inside a cell is escaped as \| so it cannot split the cell, and a line break inside a quoted cell becomes <br>.
Example
This input:
Endpoint,Method,Auth
/api/convert,POST,Bearer keybecomes:
| Endpoint | Method | Auth |
| ------------ | ------ | ---------- |
| /api/convert | POST | Bearer key |Which Markdown flavor does it produce?
GitHub-Flavored Markdown (GFM) tables. They need the header separator row of dashes, and an optional colon sets alignment: :-- left, :-: center, --: right. Plain CommonMark has no table syntax, so make sure your renderer has GFM turned on. The GitHub-Flavored Markdown guide and the Markdown cheat sheet cover the rest of the syntax.
Rendering tables from users? Sanitize the HTML.
A table you write yourself is safe. A table (or any Markdown) written by your users becomes HTML in your page, and it has to be sanitized first. The TexToolsAI API converts Markdown to sanitized HTML in one request, with GFM tables on by default. See the API documentation, read why Markdown is not safe by default, or check the pricing page for the plans.