data_table_generator
Renders tabular data as Markdown, HTML, CSV, or TSV tables, and parses those formats into structured headers and rows.
Instructions
Format And Parse Tabular Data Tables. Deterministically converts supplied tabular data (header row plus 2-D rows) into a Markdown (GFM), HTML, CSV (RFC 4180), or TSV table, and parses CSV/TSV/Markdown text back into structured headers and rows. Does NOT generate random or sample data: it only formats or parses the exact cells you pass. Use operation render to serialize headers/rows into one of the four output formats with optional per-column alignment; use operation parse to read a pasted table string into headers/rows. Use this instead of data_sample_data_generator or data_data_faker (which invent random records), and prefer it over webdev_csv_to_json / webdev_json_to_csv when you need Markdown/HTML output or alignment-aware Markdown rather than JSON. Stateless, read-only, offline pure-compute; no auth required; default anonymous rate limit 60 requests/minute. Returns the formatted table string plus normalized headers, rows, rowCount, and columnCount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | No | render serializes headers/rows into a table string; parse reads a table string into headers/rows. Defaults to render. | render |
| format | No | Target/source format. For render one of markdown, html, csv, tsv. For parse only csv, tsv, or markdown are accepted (html is render-only). Required for both operations. | |
| headers | No | render only. Optional array of column header strings; max 200. When present and content rows exist, its length must equal the widest row or the request is rejected. | |
| rows | No | render only. Array of rows, each an array of scalar cells (string, number, boolean, null); max 10000 rows and 200 columns per row. Required for render. | |
| alignment | No | render only, optional. Per-column alignment for markdown and html output; each entry is left, center, or right. Padded with left to column count. Ignored for csv/tsv. | |
| source | No | parse only. The raw CSV, TSV, or Markdown table text to parse. The first row is treated as headers. Null or empty returns empty headers/rows. Required for parse. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | True when the operation completed without a validation error. | |
| operation | No | Echo of the requested operation (render or parse). | |
| result | No | render returns format, headers, rows, output, rowCount, columnCount. parse returns headers, rows, rowCount, columnCount (no output/format). |