{
  "slug": "markdown-table-to-csv",
  "name": "gizza-ai/markdown-table-to-csv",
  "version": "0.1.0",
  "title": "Markdown Table to CSV Converter — gizza.ai",
  "description": "Convert Markdown or pipe-delimited tables into clean CSV. Strip alignment rows and padding; choose delimiter, quoting, line endings, header, and BOM.",
  "tags": [
    "markdown table to csv",
    "md to csv",
    "markdown to csv",
    "pipe table to csv",
    "table converter",
    "tsv",
    "csv export",
    "markdown table parser"
  ],
  "category": "data",
  "urls": {
    "page": "https://gizza.ai/tools/markdown-table-to-csv/",
    "markdown": "https://gizza.ai/tools/markdown-table-to-csv/index.md",
    "descriptor": "https://gizza.ai/tools/markdown-table-to-csv/tool.json",
    "deep_link_example": "https://gizza.ai/tools/markdown-table-to-csv/?markdown=%7C%20name%20%7C%20role%20%7C%0A%7C%20---%20%7C%20---%20%7C%0A%7C%20Ada%20%7C%20Engineer%20%7C%0A%7C%20Bo%20%7C%20Designer%20%7C&delimiter=%2C&header=true&quote=minimal&newline=lf&bom=true"
  },
  "cli": "gizza tool markdown-table-to-csv \"| name | role |\n| --- | --- |\n| Ada | Engineer |\n| Bo | Designer |\"",
  "tool": {
    "description": "Parse a Markdown (or pipe-delimited) table back into clean CSV. Strips the alignment/separator row (`---`, `:--`, `--:`, `:-:`) and cell padding, honors optional outer pipes, and unescapes `\\|` into a literal pipe inside a cell. delimiter sets the output field separator (single char or comma/tab/semicolon/pipe/space; 'tab' gives TSV; default ','). header=true (default) keeps the first row; header=false drops it and emits data rows only. quote=minimal (default) quotes only fields that need it (RFC-4180); quote=all wraps every field. newline=lf (default) or crlf sets the row line ending; bom=true prepends a UTF-8 BOM for Excel. Ragged rows are padded to the widest row. Runs locally.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "bom": {
          "default": false,
          "description": "Prepend a UTF-8 byte-order mark (BOM) so Excel opens the CSV as UTF-8. Default false.",
          "type": "boolean"
        },
        "delimiter": {
          "default": ",",
          "description": "Output field separator: a single char or 'comma'/'tab'/'semicolon'/'pipe'/'space'. Use 'tab' for TSV. Default ','.",
          "type": "string"
        },
        "header": {
          "default": true,
          "description": "Whether the table's first row is a header to keep (default true). Set false to drop the header row and output only the data rows.",
          "type": "boolean"
        },
        "markdown": {
          "description": "The Markdown or pipe-delimited table text. Outer pipes are optional; the alignment/separator row and cell padding are stripped, and `\\|` is treated as a literal pipe inside a cell.",
          "type": "string"
        },
        "newline": {
          "default": "lf",
          "description": "Output line ending between rows: 'lf' (default, `\\n`, Unix/macOS) or 'crlf' (`\\r\\n`, Windows/Excel).",
          "enum": [
            "lf",
            "crlf"
          ],
          "type": "string"
        },
        "quote": {
          "default": "minimal",
          "description": "CSV quoting: 'minimal' (default) quotes a field only when it contains the delimiter, a quote, or a newline; 'all' wraps every field in double quotes.",
          "enum": [
            "minimal",
            "all"
          ],
          "type": "string"
        }
      },
      "required": [
        "markdown"
      ],
      "type": "object"
    }
  }
}