Spreadsheet to JSON: Excel (XLSX, XLS) and CSV rows
Pricing
from $0.09 / 1,000 row outputs
Spreadsheet to JSON: Excel (XLSX, XLS) and CSV rows
Turns Excel and CSV files, by URL or upload, into JSON rows: every sheet or the sheets you name, header row found automatically, numbers, booleans and dates kept as types.
Pricing
from $0.09 / 1,000 row outputs
Rating
0.0
(0)
Developer
Ed Rayyis
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
21 days ago
Last modified
Categories
Features
Share
Give it Excel or CSV files, by link or from an Apify key-value store you upload them to, and it returns every row as a JSON object keyed by the column headers. One run can take many files.
- Reads XLSX, legacy XLS, CSV and TSV. The format comes from the file's content, so a file with the wrong extension still reads.
- Reads every sheet, or only the sheets you name. Name a sheet by its name (any letter case) or its number, where 1 is the first sheet.
- Finds the header row for you. A title line or blank rows above the table are skipped: in a sheet with a report title in row 1 and the headers in row 3, the rows start under row 3. You can also set the header row number, or turn headers off and get columns named A, B, C.
- Keeps value types. Numbers stay numbers, TRUE and FALSE become true and false, and Excel dates and times become ISO 8601 text such as
2026-01-05or2026-02-07T13:30:00. In CSV files, a value with a leading zero such as the ZIP code02134stays text. Turn type inference off to get every value as text. - Detects the CSV delimiter (comma, semicolon, tab or pipe) and handles UTF-8 files with or without a byte order mark.
- Accepts a Google Sheets link when the sheet is shared with anyone who has the link.
- Blank header cells get a name such as
column_F, and a repeated header gets a suffix: the secondAmountcolumn becomesAmount_2. - Trims text values and skips empty rows.
Input
- File URLs: direct links to the files, or Google Sheets links
- Files in a key-value store: to use files from your computer, upload them to a key-value store under Storage in Apify Console and pick the store here. Every record whose name ends in
.xlsx,.xlsm,.xls,.csv,.tsvor.txtis read - Record keys (optional): read only these records from the picked store
- Sheets (optional): names or numbers. Leave empty for every sheet
- Header row: Detect (default), Row number, or No header
- Header row number (default 1), used with Row number
- Keep value types (default on)
- Skip empty rows (default on)
- Add file, sheet and row number (default on): adds
_file,_sheetand_rowto each row - Maximum rows per sheet (default 100,000)
- CSV delimiter (optional, detected when empty)
- Maximum file size in MB (default 50)
Output
Dataset: one item per data row. With the default settings each row also carries _file, _sheet (the sheet name, or CSV) and _row (the row number in the sheet). Export as JSON, CSV or Excel, or read it over the API.
A file that cannot be read gets one item with _file and an error field, and the run moves on to the next file. Errors include a link that answers HTTP 404, a link that returns a web page in place of a file, a Google Sheets link that cannot be downloaded, a PDF or other file that is not a spreadsheet, a damaged workbook, a sheet name that is not in the file, and a header row number past the end of the sheet.
The key-value store holds a SUMMARY record: for each file, its format, the sheets it contains, and for each sheet read, the header row used, the column names and the number of rows output.
Pricing
Pay per event: one event per row output. Error items are not charged. Set the maximum rows per sheet to control cost. The run stops when it reaches the maximum charge you set.
Scope and conduct
The actor downloads only the files you list. It doesn't recalculate formulas: a formula cell gives the value stored in the file when it was last saved, or null when the file stores none. It doesn't change your files or keep them after the run.
Support
Questions and problems: the Issues tab on this page.