Excel to CSV: Convert All Sheets of XLSX & XLS
Pricing
from $0.05 / 1,000 converted rows
Excel to CSV: Convert All Sheets of XLSX & XLS
Convert Excel workbooks (XLSX, XLSM, XLS) to CSV: every sheet of every file in one run, one CSV per sheet with a download link. Pick sheets, header row, ISO dates, delimiter and UTF-8 BOM for Excel. Formulas become their values. Empty input = free demo.
Pricing
from $0.05 / 1,000 converted rows
Rating
0.0
(0)
Developer
Actor Factory
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
Turn Excel workbooks into CSV files: every sheet at once, one CSV per sheet
For anyone who gets Excel files and needs plain CSV: analysts loading reports into a database, developers feeding a pipeline, teams whose supplier or accounting system sends multi-sheet workbooks. Give this Actor links to .xlsx, .xlsm or old .xls files. It reads all sheets of each workbook in one run and saves one CSV file per sheet, with a download link for each in the result table.
$0.0015 per converted workbook plus $0.00007 per converted row ($0.07 per 1,000 rows), header row not counted. The $5 monthly free credit covers about 70,000 rows in 1,000-row workbooks. Failed files and the demo are free. No scraping, no API keys.
Try it free: leave the file list empty and press Start (clear the prefilled URL first). The demo converts a built-in two-sheet workbook, is not charged and every result row carries _demo: true.
The problems it solves
- A workbook has many sheets and you need each one as a CSV. Here every sheet becomes its own file in a single run, or only the ones you name.
- The report has a title block above the column names. Say which row holds the header (
Header row: 4) and the rows above it are left out. - Dates come out as numbers like 46083, or in a format your database rejects. Dates are written as ISO 8601 (
2026-03-02, or2026-03-02T09:30:00when the cell has a time). - Formulas show up empty or as
=A2*3. You get the value Excel last calculated and saved. - Excel garbles accents or Japanese text when you open the CSV. Turn on the UTF-8 BOM and it opens correctly by double-click. European Excel wants semicolons: pick the semicolon delimiter.
- Old
.xlsfiles from legacy systems. They are read too.
What it does
- All sheets by default; or choose sheets by name (case-insensitive) or by position (
2= second sheet). Hidden sheets are skipped unless you turn them on. - Header row choice, including "no header row" (every row is data).
- Skips empty rows and trailing empty columns. Turn it off to keep blank lines between data rows.
- Cached values for formulas. Numbers come out clean (
0.3, not0.30000000000000004;3, not3.0), booleans asTRUE/FALSE, Excel error cells as their text (#N/A). - Delimiter: comma, semicolon, tab or pipe. Cells with the delimiter, quotes or line breaks are quoted.
- Encoding: UTF-8, with or without a BOM. Line endings: LF or CRLF.
- Several workbooks per run, each sheet gets its own result row.
Input example
{"fileUrls": ["https://example.com/exports/monthly-report.xlsx"],"sheets": [],"headerRow": 1,"delimiter": ",","utf8Bom": true}
Workbooks that an earlier step produced can come from an Apify dataset: use datasetIds with items like {"fileName": "report.xlsx", "contentBase64": "..."}.
Output
- Dataset: one row per sheet (and one row for a file that failed).
- Key-value store: each CSV under
csvKey(for examplemonthly-report--01-Sales.csv).csvUrlis Apify's signed public link, so you can share the file without sharing your token. - STATS record: files and sheets converted, files failed, rows converted and rows charged.
{"file": "https://example.com/exports/monthly-report.xlsx","sheet": "Sales","sheetIndex": 1,"hidden": false,"status": "ok","rows": 2500,"columns": 8,"csvKey": "monthly-report--01-Sales.csv","csvBytes": 214930,"csvUrl": "https://api.apify.com/v2/key-value-stores/…/records/monthly-report--01-Sales.csv?signature=…","chargedRows": 2500,"chargedFiles": 1}
status is ok (CSV saved), empty (the sheet has no data rows; nothing is saved or charged), failed (the file could not be converted; the error says why) or skipped (your maximum charge was reached).
Limits (cannot be raised by input)
- 50 MB per workbook; 50 files per run (200 MB in total for files read from datasets)
- Up to 1,500,000 data rows per workbook across the selected sheets. A bigger workbook fails with a clear message instead of being cut; select fewer sheets
- A download is tried up to 3 times when the server is slow or answers with a temporary error (HTTP 429, 5xx); a clear error such as 404 is not retried. The timeout is 60 seconds per request
- Source URLs must be public
httporhttpslinks. Addresses on internal networks (localhost, private ranges, cloud metadata) are blocked, also after redirects - Not supported: password-protected workbooks, binary
.xlsb, and Google Sheets links (download the sheet as .xlsx first) - Cell values are written as stored, not as displayed: a cell formatted as
25%is written as0.25, and currency symbols are not added
Pricing
Pay per event: $0.0015 per converted workbook (event file) plus $0.00007 per converted row (event row). The header row is not counted. A workbook with 1,000 rows costs $0.0715. A file that fails, a sheet with no data rows and the demo are not charged. Set a maximum charge per run to cap spend; a workbook that does not fit in the remaining budget is skipped whole, never cut. If none of the files fit, nothing is converted or charged and the run ends as Failed ("No sheet could be converted. See the dataset rows for the reason."); each skipped file's row in the dataset says "Max charge reached before this file; it was not converted."
FAQ
Which sheets are converted if I choose none? All visible sheets. Hidden sheets need "Include hidden sheets", or name them in "Sheets to convert".
What if a formula shows up empty? Files written by a script without Excel (for example by some export libraries) hold formulas but no calculated results. Open and save the file once in Excel and the values are stored. Files saved by Excel, LibreOffice or Google Sheets always have them.
Why is a sheet marked empty? It has no rows below the header row (or nothing at all). Check "Header row" if you expected data.
Are merged cells filled in? No. Only the top-left cell of a merged range holds a value; the other cells stay empty.
Does it change my source? No. It only reads the file and writes new CSV files.
Is the file link private? Anyone holding the signed link can download that file; it gives no access to anything else in your account.
If this Actor saved you time, a rating on the Store helps others find it.
More tools from the same developer
- CSV to Excel Converter — convert CSV, TSV, Excel XLSX, JSON and NDJSON files or Apify datasets into each other
- Excel to JSON — turn Excel (XLSX) sheets into JSON rows, or a JSON file into an Excel sheet
- CSV Encoding Converter — detect the encoding of CSV and text files and convert them to UTF-8 (or another encoding)
- JSON to CSV Converter — turn nested JSON files or datasets into one flat CSV file
- Dataset Transform — flatten, filter, rename and convert any Apify dataset, export CSV / JSON / JSONL with a link