You can export an Apify dataset straight to Excel: in the console, use the dataset's export option and choose Excel, or call the dataset items endpoint with format=xlsx. That is the quickest route for flat results. When the records have nested fields, or you want to combine several runs, download the dataset as JSON instead and convert it with our free JSON to CSV converter, which flattens nested fields into named columns, keeps long IDs as text and builds the Excel file in your browser.
Option 1: export directly from Apify
Apify's API documentation for getting dataset items lists the export formats: "json, jsonl, csv, html, xlsx, xml and rss", with JSON as the default. A direct Excel download looks like this:
https://api.apify.com/v2/datasets/YOUR_DATASET_ID/items?format=xlsx
The same endpoint takes options that shape the table before it is built:
| Option | What it does (from Apify's documentation) |
|---|---|
fields | Keeps only the listed fields |
omit | Removes the listed fields |
flatten | Turns the listed nested objects into flat structures |
unwind | Makes every element of a listed array a separate record |
clean | Returns only non-empty items and skips hidden fields |
The documentation also notes that CSV, XLSX and HTML tables are limited to 2,000 columns.
Use this route when the records are mostly flat, or when you know exactly which fields you need. Asking for only the fields you will use is the single best way to get a readable sheet.
Option 2: download JSON and convert it yourself
This gives you predictable column names and protects IDs and codes. It works for any Apify actor's output.
- Download the dataset as JSON (or JSON Lines).
- Open JSON to CSV and drop in the file, up to 50 MB.
- Check the preview. Nested objects appear as dotted columns, such as
seniorityMix.senior. - Leave "Save numbers as numbers (Excel and JSON). Leading zeros are always kept." ticked so counts can be summed.
- Click Download Excel.
Our JSON to Excel tool makes an .xlsx file directly and works a little differently from the steps above. It puts each top-level list of records on its own sheet, and it also looks one level down, so a file shaped like {"response": {"results": [...]}} works without editing. Lists of objects inside a record go to their own linked sheet (each row carries an ID that matches its parent row), or into one cell as JSON text if you choose that option. true and false become real Excel true and false values. Text such as "1,200" stays text unless you tick "Turn text that looks like a number into a number"; JSON numbers are always numbers and leading zeros are always kept. In Chrome and Edge, whole numbers of 16 or more digits keep every digit as text.
What the converter does with typical actor output:
| In the JSON | In the sheet |
|---|---|
| Plain fields | One column each |
A nested object, such as seniorityMix | One dotted column per key: seniorityMix.mid, seniorityMix.senior |
| A list of plain values, such as tags or locations | One cell, values joined with a semicolon and a space |
A list of objects, such as topDepartments | One cell holding the list as JSON text, so rows are not multiplied |
| An ID of 16 or more characters | Text, every digit kept |
| A code starting with 0 | Text, zeros kept |
| A cell longer than 32,767 characters | Cut to fit, the most an Excel cell holds |
The full rules, with a real hiring report record from our own actors, are in how to convert nested JSON to CSV. If your JSON came from somewhere else, such as a raw API, see turning a JSON API response into Excel.
Which option to choose
| You want | Use |
|---|---|
| A quick look at flat results | Apify export, XLSX |
| Only a few fields from a wide record | Apify export with fields |
| One row per item in a nested list | Apify export with unwind on that field |
| Stable dotted column names and IDs kept as text | Download JSON, then convert |
| Several runs combined into one sheet | Download JSON, then merge (below) |
Combining several runs into one sheet
Scheduled actors produce one dataset per run. To build one sheet from several:
- Download each run's dataset as JSON.
- Drop all the files into Merge CSV. It accepts JSON as well as CSV and Excel, flattens each file the same way, and lines up columns by name, so runs with slightly different fields still fit together.
- Keep the source_file column ticked if you want to know which run each row came from.
- Run the merged file through Remove duplicates, comparing on the record's ID column, so a record returned by two runs appears once. The first row is kept, so add the newest run first.
- Download Excel.
For our own hiring data actors, monitor mode avoids most of this: each scheduled run returns only records that are new or changed since the previous run. See the job postings API guide.
Check the sheet before you share it
- Column count: a very wide sheet usually means a field you do not need. Remove it at export time with
fieldsoromit. - ID columns: search for two or three IDs from the JSON and confirm every digit is there.
- Personal data: actor outputs from public websites can still include data you should not pass on. Delete columns the reader does not need before sharing.
A note on CSV instead of Excel
If the sheet will be loaded into a database or another script rather than opened by a person, download CSV instead of Excel. Our converter writes CSV as UTF-8 with a byte order mark, with values that contain commas, quotes or line breaks wrapped in quotes, so accented names and long descriptions survive the trip. There is also no 1,048,576 row limit to worry about, which matters for large datasets: the Excel download stops with a message if a sheet would be longer than that.
Developers building on our hiring data can start from the API page.
Frequently asked questions
Can Apify export a dataset to Excel directly?
Yes. Apify's dataset export supports JSON, JSON Lines, CSV, HTML, XLSX, XML and RSS. For XLSX, add format=xlsx to the dataset items request or choose Excel in the export menu.
Why does my export have so many columns?
Nested fields and lists each need their own columns in a flat table. Use the fields or omit options to export only what you need, or flatten the JSON with rules you control.
How do I combine datasets from several runs?
Download each run's dataset as JSON and drop them all into a merge tool that lines columns up by name, then remove duplicates on the record ID.
Does converting the JSON in the browser upload my data?
No. Our converters read and write the file inside your browser.
Spotted an error? Write to dealmahal.official@gmail.com.
Questions or corrections: dealmahal.official@gmail.com.