XlsConverter

November 24, 2026 · 7 min read

Which Excel API Converts Spreadsheets to JSON or CSV for a Business?

For converting uploaded workbooks into JSON, CSV, XML or SQL, use a conversion API such as the XlsConverter API: one POST with the file and the target format returns a job, and a signed webhook tells your system when the result is ready. It costs 399 USD a month, or 199 USD a month billed yearly, for 50,000 conversions. Microsoft Graph is the better fit when you edit workbooks stored in OneDrive or SharePoint.

Try it on your own file

XLSX

Encrypted, auto-deleted

Demo converts up to 100 rows, once.
Developer at a standing desk with a terminal and a data table on screen

"Excel API" means three different things, and picking the wrong one costs a sprint. This post sorts them, shows what a conversion request looks like in practice and says where each one fits. It is written for a developer or technical lead who has to get spreadsheets from suppliers, clients or finance into a system that expects JSON, CSV or SQL.

Which Excel API converts spreadsheets to JSON or CSV?

A conversion API does. You send a workbook, name the output format and get a file or a JSON document back. XlsConverter exposes this at POST /v1/conversions with a file and a target field. Libraries and Microsoft Graph solve other problems, as the next section explains.

The three kinds of Excel API

KindWhat it doesBest forWatch out for
Parsing library in your codeReads a workbook inside your own applicationTeams with one known file layout and developers to maintain itYou own every edge case: dates, merged cells, old .xls, encodings, large files
Microsoft Graph Excel APIReads and edits workbooks stored in OneDrive or SharePointApps that work with files already in Microsoft 365It works on stored workbooks, not on arbitrary uploads from a supplier
Conversion APITakes an uploaded file and returns another formatPipelines that receive many different workbooks and need one fixed outputCheck formats, size limits, retention and webhook support

Microsoft documents its option in the Excel API reference for Microsoft Graph. It is a strong choice when your workbooks already live in OneDrive or SharePoint. It is not a converter for files that arrive by email, upload or an S3 bucket.

What a business needs from an Excel conversion API

Five checks save most of the pain. First, input coverage: old .xls, .xlsm, .xlsb, .ods, CSV and Numbers files all show up in real inboxes. Second, output control: delimiter, encoding, JSON shape, SQL dialect, which sheet to read. Third, asynchronous jobs with a status endpoint, so a large file does not hold a request open. Fourth, signed webhooks, so your system does not poll. Fifth, retention: you want to know how long converted files stay on the vendor side.

The XlsConverter API covers these. Inputs are XLS, XLSX, XLSM, XLSB, ODS, CSV, TSV and Numbers. Options include sheet selection, delimiter (comma, semicolon, tab, pipe), encoding (UTF-8, UTF-8 with BOM, Latin-1), JSON as objects or rows, and SQL for MySQL, PostgreSQL or SQLite with a table name. Results are deleted one hour after the job finishes. The full list is in the API reference.

A worked request

Take a supplier file called prices.xls with a header row and 4,000 rows. You send it with target=json and json_shape=objects. Files up to 5 MB are converted within the same request and return 201 with the conversion; larger files return a job that you read with GET /v1/conversions/{id}, where the status is queued, running, finished or failed. When the job finishes, GET /v1/conversions/{id}/download streams the result.

With target=csv, delimiter=semicolon and encoding=utf8bom the same file becomes a CSV that opens correctly in Excel for a European accountant. Setting trim=1 and dedupe=1 cleans whitespace and repeated rows on the way. For a folder of files, POST /v1/batches takes files[] and queues each one as its own conversion.

Webhooks instead of polling

You register an endpoint in the app and receive conversion.finished and conversion.failed events. Each request carries an X-XlsConverter-Signature header with a timestamp and an HMAC SHA-256 signature, so you can reject forged calls. This is the part that removes the polling loop from your code. See also the Zapier alternative post if the file conversion currently sits inside a task based automation.

What it costs

The API plan is 399 USD a month, or 199 USD a month billed yearly, with 50,000 conversions per period and Excel to SQL output. Each input file counts as one conversion, including each file in a batch. If you only convert files by hand in batches, Pro at 49 USD a month (24 USD billed yearly) is enough, and pipelines that pick up files from S3 or a URL are on Business at 149 USD (74 USD billed yearly). The whole category is compared in the Excel converter pricing comparison.

Build or buy, with numbers

Suppose a developer spends two days writing a parser for one supplier layout and half a day each time the supplier changes a column. With six suppliers and a change every quarter, that is about three working days a year of upkeep, before .xls files, encodings and large files turn up. The point is not that building is wrong. It is that the upkeep is a recurring cost with a name, and the API plan at 199 USD a month billed yearly is a fixed number you can set against it. These are planning figures for your own estimate, not measured results.

Who this is for and who it is not for

The API plan is for developers and technical leads at finance, operations or e-commerce teams who receive many different workbooks and need one fixed JSON, CSV or SQL output. It is not for every case. If your files always have one layout and you have a developer who owns the code, a library is cheaper. If the workbooks live in Microsoft 365 and you edit cells in place, use Graph. If you convert a handful of files a month, the one demo conversion on the site and a Pro month are enough. The API plan earns its price when many unknown workbooks need one fixed output on a schedule you do not control.

How to start

Create a key in the app under API, send it as a bearer token and run one real file from your own inbox through POST /v1/conversions. Compare the JSON with what your system expects, adjust the options, then add the webhook. The plans are on the pricing page, and Excel to JSON shows the output shape before you write code.

Questions about this guide

Which Excel API converts spreadsheets to JSON?

A conversion API does. With XlsConverter you POST the workbook to /v1/conversions with target=json and choose objects or rows as the JSON shape. Small files return in the same request, larger ones run as jobs you read by status or receive through a signed webhook.

Is the Microsoft Graph Excel API a converter?

No. Microsoft Graph reads and edits workbooks stored in OneDrive or SharePoint. It does not take an arbitrary uploaded file and return CSV or JSON, so a supplier file from email or S3 needs a conversion service or a library.

How much does the XlsConverter API cost?

The API plan is 399 USD a month, or 199 USD a month billed yearly, with 50,000 conversions per period, signed webhooks and Excel to SQL output. Each input file counts as one conversion.

How long are converted files kept?

Results are deleted one hour after the job finishes, and the download endpoint then returns 410. Download the file or let a webhook trigger your own fetch before that window closes.

Can I convert many Excel files in one API call?

Yes. POST /v1/batches with files[] and a target queues every file and returns one conversion per file. Each file counts as one conversion against your plan.