Excel

Convert CSV to Excel

Convert CSV content into a styled Excel workbook with auto-sized columns, header formatting, auto-filter, and frozen header row.

post/api/excel/from-csv

Request

  • Base URL: https://api.dokmatiq.com
  • URL: https://api.dokmatiq.com/api/excel/from-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

Generated XLSX file

Changes

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