Excel

Convert Excel to CSV

Extract data from an Excel sheet and return it as CSV text.

post/api/excel/to-csv

Request

  • Base URL: https://api.dokmatiq.com
  • URL: https://api.dokmatiq.com/api/excel/to-csv
  • Auth: API key in header X-API-Key

Request body

excelBase64string

Base64-encoded Excel file (for XLSX → CSV/JSON conversion)

csvContentstring

CSV content (for CSV → XLSX conversion)

delimiterstring

CSV delimiter character

quoteCharstring

CSV text qualifier / quote character

hasHeaderboolean

Whether the CSV has a header row

sheetNamestring

Sheet name for CSV → XLSX conversion

sheetIndexinteger

Sheet index to read (0-based, for multi-sheet XLSX)

Example request

{
  "delimiter": ",",
  "quoteChar": "\"",
  "sheetName": "Data"
}

Response

CSV content

Changes

No recorded changes to this operation across all 1 revision of this API.