Skip to content

Markdown Table Generator API

POST https://api.findutils.com/api/tools/markdown-table-generator/execute

Build a GitHub-flavoured Markdown table and return the markdown string. Give headers plus rows (arrays of cell values) and optional per-column alignments (left, center, right), or import from CSV, TSV, or a JSON array of objects. Pipe characters in cells are escaped.

Request body

application/json
  • headers

    array optional

    Column header labels.

  • rows

    array optional

    Table rows; each row is an array of cell values in header order. Short rows are padded, extra cells dropped.

  • alignments

    array optional

    Per-column alignment: left, center, or right. Default: left for every column.

  • import_text

    string optional

    Alternative input: CSV/TSV text (first line = headers) or a JSON array of objects. Used when headers is not given.

  • import_format

    string optional

    Format of import_text. Default: csv. One of csv · tsv · json. Default "csv".

Example arguments

Verified
{
  "headers": [
    "Name",
    "Qty"
  ],
  "rows": [
    [
      "Apple",
      3
    ]
  ]
}