{
  "slug": "csv-to-xml",
  "name": "gizza-ai/csv-to-xml",
  "version": "0.1.0",
  "title": "CSV to XML — Convert CSV to XML records — gizza.ai",
  "description": "Convert a CSV table into XML records using the header names as element tags, in your browser. Free, private, no upload.",
  "tags": [
    "csv to xml",
    "csv xml converter",
    "convert csv",
    "xml records",
    "tabular to xml"
  ],
  "category": "data",
  "urls": {
    "page": "https://gizza.ai/tools/csv-to-xml/",
    "markdown": "https://gizza.ai/tools/csv-to-xml/index.md",
    "descriptor": "https://gizza.ai/tools/csv-to-xml/tool.json",
    "deep_link_example": "https://gizza.ai/tools/csv-to-xml/?data=name%2Cage%0AAda%2C36%0ABo%2C40&root=rows&row=row&header=true&delimiter=%2C"
  },
  "cli": "gizza tool csv-to-xml \"name,age\nAda,36\nBo,40\"",
  "tool": {
    "description": "Convert a CSV table into XML: a `root` element (default 'rows') wraps one `row` element per record, and each field is <tag>value</tag> using the header name as the tag (sanitized to a valid XML name) — or col1… when header=false. Values are XML-escaped. delimiter is a single char or comma/tab/semicolon/pipe. Runs locally.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "data": {
          "description": "The CSV text.",
          "type": "string"
        },
        "delimiter": {
          "default": ",",
          "description": "Field separator: a single char or 'comma'/'tab'/'semicolon'/'pipe'. Default ','.",
          "type": "string"
        },
        "header": {
          "default": true,
          "description": "Use the first row as the field tag names (default true); otherwise 'col1'… are used.",
          "type": "boolean"
        },
        "root": {
          "default": "rows",
          "description": "Root element tag wrapping all records (default 'rows').",
          "type": "string"
        },
        "row": {
          "default": "row",
          "description": "Element tag for each record (default 'row').",
          "type": "string"
        }
      },
      "required": [
        "data"
      ],
      "type": "object"
    }
  }
}