Automatically convert Excel to CSV and auto export XLS files on a schedule
Set up one pipeline and every new XLSX or XLS file is converted to CSV without anyone opening Excel. Files are picked up from an email inbox, S3, Google Drive, Dropbox or a URL, converted with fixed settings, and delivered to SFTP, S3, a webhook or email. Test your file layout below first.

Short answer
To automatically convert Excel to CSV without VBA, Task Scheduler or Power Automate, create an XlsConverter pipeline: choose where the workbooks arrive, set the sheet, delimiter, encoding and date pattern once, and choose where the CSV goes. It runs on every new file or hourly, daily, weekly or by cron. Pipelines are part of the Business plan at 149 USD per month, or 74 USD per month billed yearly.
Converting one workbook to CSV is a two minute job. The problem is the file that shows up again every Monday: the carrier rate sheet, the supplier price list, the payroll export, the stock report from a 3PL. Someone downloads the attachment, opens it, picks the right tab, saves it as CSV, renames it and drops it in the folder the ERP or the database reads. When that person is on vacation, the import runs on last week's data or does not run at all.
A pipeline takes the person out of that loop. It watches the place where the workbook arrives, converts it the same way every time and puts the CSV where the next system expects it, with a run log you can check. The converter on this page lets you test the layout on a real file first. For a one-off folder of files, the batch Excel to CSV converter is the quicker tool, and a single workbook with every option is on XLSX to CSV.
How to convert Excel to CSV automatically in three steps
- 1Choose the source: a dedicated email address for the pipeline, an S3 prefix, a Google Drive or Dropbox folder, or an HTTPS URL that is fetched on schedule.
- 2Add a convert step with CSV as the target and set the sheet, delimiter, encoding, header row and date pattern. Add cleanup steps if the import needs renamed or reordered columns.
- 3Choose the destination (SFTP, S3, Drive, Dropbox, a signed webhook or an email address) and the trigger: every new file, hourly, daily, weekly or a cron expression.
Why homemade Excel to CSV automation keeps breaking
Most teams start with a VBA macro and Windows Task Scheduler. It works until the PC that runs it is switched off, Excel shows a dialog nobody is there to click, or the person who wrote the macro changes jobs. Microsoft itself advises against running Office unattended on a server, because Excel was built for a signed-in person and can hang on prompts. The automation ends up depending on one desktop under one desk.
Power Automate is the usual second attempt. It has no built-in action that turns a workbook into a CSV file. The standard workaround reads rows from the workbook and builds a CSV table from them, which only works when the data is formatted as a named Excel table, and by default the rows action returns the first 256 rows unless pagination is switched on. Supplier files almost never arrive as named tables, so the flow needs an Office Script or a paid third party connector, and it still fails on legacy XLS files.
A Python script with pandas avoids Excel completely and is a solid answer when a developer owns it. Someone then has to host it, schedule it, watch it, handle password protected files, keep leading zeros in ZIP codes and account numbers, and fix it when a supplier adds a second header row. A pipeline covers those cases with settings instead of code, and the same conversion is also available from your own code through the REST API.
Automatically convert Excel email attachments to CSV
The most common setup starts with email, because that is how partners send spreadsheets. Each pipeline gets its own address. Add a forwarding rule in Outlook or Gmail, or ask the supplier to send reports straight to that address, and every XLSX, XLS, XLSM, XLSB or ODS attachment is converted the moment it arrives. Emails without a spreadsheet attached are ignored.
The CSV then goes where it is needed: an SFTP folder your ERP polls, an S3 bucket a warehouse loader reads, or a webhook in your own application. Accounts payable teams use this for vendor statements, purchasing teams for weekly price lists, and logistics teams for carrier and 3PL reports. The setup for a purchasing inbox is described step by step in the pipeline overview.
Scheduled Excel to CSV export from a folder or bucket
When workbooks are saved to a shared location instead of emailed, point the pipeline at the Google Drive folder, Dropbox folder or S3 prefix and choose a schedule. A nightly run at 02:00 converts whatever was added during the day, so the morning import in NetSuite, SAP, Dynamics or a SQL database always has a current file. An hourly schedule suits stock and pricing feeds that change through the day.
Because the settings are fixed, every run writes the same columns in the same order with the same date pattern. That consistency is what import templates and COPY or LOAD DATA jobs need. If the target is a database, the pipeline can write SQL instead of CSV, as on the Excel to SQL converter, and workbooks with one tab per month or per region can be split with one CSV per sheet or stacked with merged sheets.
Ways to automatically convert Excel to CSV compared
| Method | Excel needed | Runs unattended | Works on any workbook layout | Who maintains it |
|---|---|---|---|---|
| VBA macro with Task Scheduler | Yes, on that PC | Only while the PC is on and signed in | Yes, if the macro handles it | Whoever wrote the macro |
| Power Automate flow | Excel Online | Yes | Needs named tables or an Office Script | A Microsoft 365 power user |
| PowerShell with Excel COM | Yes, on that machine | Fragile, Excel can hang on dialogs | Yes | IT |
| Python with pandas on a server | No | Yes | Yes, with code for each quirk | A developer |
| XlsConverter pipeline | No | Yes, with a run log and failure emails | Yes, XLSX, XLS, XLSM, XLSB and ODS | The ops or finance team, no code |
If a developer already maintains a working script, keep it. A pipeline fits when the job belongs to an operations or finance team and has to keep running when one person is away.
Excel to CSV automatically questions
How do I automatically convert Excel to CSV?
Create a pipeline in XlsConverter with a source such as an email inbox, S3, Google Drive or Dropbox, add a convert step with CSV as the target, and choose a destination. Every new workbook is then converted with the same sheet, delimiter, encoding and date settings, on arrival or on a schedule, with no Excel or script involved.
Can Power Automate convert Excel to CSV?
Not directly. Power Automate has no action that saves a workbook as CSV. The usual workaround lists rows from a named Excel table and builds a CSV table from them, which fails on files without a table and returns 256 rows unless pagination is enabled. An Office Script or a paid connector is needed for anything else.
How do I schedule an Excel file to export to CSV every day?
Point a pipeline at the folder, bucket or URL where the workbook is saved, set the CSV options once and choose a daily schedule or a cron expression for an exact time. The CSV is delivered to SFTP, S3, Drive, Dropbox, a webhook or an email address after each run, and failed runs send an alert.
Can I convert Excel to CSV automatically without opening Excel?
Yes. The pipeline reads XLSX, XLS, XLSM, XLSB and ODS files on the server, so Excel is not installed or opened anywhere. That removes the usual causes of failed automations: a PC that is switched off, a dialog waiting for a click, or a macro security prompt.
How do I automatically convert Excel email attachments to CSV?
Each pipeline has its own email address. Forward the messages or have the sender use that address, and each spreadsheet attachment is converted to CSV as soon as it arrives and delivered to the destination you chose. Messages without a spreadsheet attachment are ignored, and every received file appears in the run log.
How much does automatic Excel to CSV conversion cost?
Pipelines are part of the Business plan at 149 USD per month, or 74 USD per month billed yearly, with up to 20 pipelines, 10,000 conversions per billing period, files up to 500 MB and 5 seats. You can test the conversion on one file with a one-time demo of up to 100 rows before paying.
Will dates and leading zeros stay correct in every automated run?
Yes. Dates are written in the single pattern you set, for example YYYY-MM-DD, instead of the regional format of whichever computer opened the file. Values stored as text, such as ZIP codes, SKUs and account numbers, keep their leading zeros in every run.
Related converters
Convert full files and batches
Pro starts at $24 per month billed yearly. Cancel any time.