# Sheet2CSVOpts

Source: /xlsx-format/api-reference/interfaces/sheet2csvopts

Options for converting a worksheet to CSV

```ts
interface Sheet2CSVOpts extends WorksheetCellBudgetOptions
```

## Properties

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| ` maxWorksheetCells ` | ` number ` | No | Maximum cumulative cell work per sheet. This counts explicit cells plus generated column, hyperlink, span, and export positions. XLSX reads default to 10,000,000; exports default to 1,000,000. |
| ` FS ` | ` string ` | No | Field separator (default: ",") |
| ` RS ` | ` string ` | No | Record separator / row delimiter (default: "\n") |
| ` strip ` | ` boolean ` | No | If true, strip trailing field separators from each row |
| ` blankrows ` | ` boolean ` | No | If true, include blank rows (default: true) |
| ` skipHidden ` | ` boolean ` | No | If true, skip hidden rows and columns |
| ` forceQuotes ` | ` boolean ` | No | If true, wrap all fields in quotes |
| ` rawNumbers ` | ` boolean ` | No | If true, emit raw numeric values instead of formatted text |
| ` escapeFormulae ` | ` boolean ` | No | If not false, prefix formula-like text fields with a single quote |
| ` dateNF ` | [` NumberFormat `](</xlsx-format/api-reference/types/numberformat/>) | No | Override date format for date cells |
| ` dateOutput ` | ` "iso" ` | No | If "iso", emit date/datetime cells as machine-readable ISO-like strings |
| ` UTC ` | ` boolean ` | No | If true, interpret dates as UTC |
| ` date1904 ` | ` boolean ` | No | If true, use 1904 date system for date serial numbers |
