Markdown table to JSON / CSV
markdown_table_parseConvert Markdown tables into JSON objects, arrays, or CSV and return each column's alignment for structured data use.
Instructions
Read a Markdown table (pipes optional at the ends, | escapes, as line breaks) back into data: JSON objects keyed by the header, JSON arrays, or CSV; also returns each column's alignment. Uses the website's Markdown import. Give "text" or a file "path". Web version: https://s3eidat.github.io/markdown-table/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | "objects" (header → keys), "arrays" (header row first) or "csv". | objects |
| path | No | Or: a path to a Markdown file (UTF-8; use this for big inputs). | |
| text | No | The Markdown table as inline text. | |
| output | No | Optional: also write the result to this file path (or folder ending in "/"). The result text is then left out of the reply. Results over 1,000,000 characters are always written to a file. |