Fix a CSV or Excel error
Find the message you're seeing. Each page says why it happens and what to do, for files of any size.
Excel errors
- This data set is too large for the Excel grid
Excel stops at 1,048,576 rows and drops the rest. Don't save the file. Open every row in MegaCSV, filter it, and export parts that fit in Excel.
- Excel says “File not loaded completely”
Excel shows “File not loaded completely” when a CSV has more rows than a sheet holds. Your rows aren't lost. Open them all in MegaCSV and export what you need.
- How to open a CSV with more than 1 million rows
Excel stops at 1,048,576 rows (about 10.5 lakh) and silently drops the rest. MegaCSV opens every row, in your browser, and exports Excel-sized parts.
- Excel freezes or shows “Not Responding” on a big CSV
Excel freezes on large CSVs because it loads everything into memory first. Open the file in MegaCSV instead: first rows in a tenth of a second, any size.
- Excel cannot complete this task with available resources
Excel runs out of memory on big CSV files. MegaCSV opens them in your browser using a few hundred MB, whatever the file size, and exports what you need.
- Excel opens your big CSV and shows nothing
When a CSV is huge, Excel can open it to an empty sheet without any error. Your data is fine. Open it in MegaCSV to see every row, then export what you need.
- Excel says “too large for the Excel grid” for only 100,000 rows
Excel in compatibility mode (.xls) holds only 65,536 rows. Save as .xlsx, or open the CSV in MegaCSV and export an .xlsx that fits.
- Excel's filter list doesn't show all items (10,000 limit)
Excel's AutoFilter list shows at most 10,000 unique values. In MegaCSV you type or paste the values you want, and the filter checks every row of the file.
Excel changed my data
- Excel turns the last digits of long numbers into zeros
Excel keeps only 15 digits, so 16-digit card numbers and long IDs end in 000. MegaCSV shows the full value and exports it to Excel as text.
- Excel drops leading zeros and turns long numbers into 1.23E+11
Excel converts CSV values as it opens them, dropping leading zeros and shortening long numbers. MegaCSV shows raw values and keeps them in exports.
- Excel changes or reformats the dates in your CSV
Excel reinterprets dates when it opens a CSV, flipping days and months or turning codes into dates. MegaCSV shows the raw values, unchanged.
- Your CSV opens with everything in one column
Excel uses your region's list separator, so semicolon or tab files land in one column. MegaCSV detects the delimiter itself and shows proper columns.
- Strange characters in your CSV (é, , question marks)
Garbled characters mean the CSV was read with the wrong encoding. MegaCSV detects UTF-8, Windows-1252 and UTF-16 and shows the text correctly.
Other programs
- Google Sheets won't import a big CSV
Google Sheets caps the cells in a spreadsheet and the size of an import. Open the whole CSV in MegaCSV, filter it, and export a part that fits in Sheets.
- LibreOffice: the maximum number of rows per sheet was exceeded
LibreOffice Calc can't load a CSV past its row limit. Open the whole file in MegaCSV, filter it, and export parts that fit in Calc or Excel.
- Notepad++ says the file is too big to be opened
Notepad++ can't open files past its size limit. MegaCSV opens CSVs of any size in your browser as a table, with find, go to row and export.
- pandas MemoryError when reading a large CSV
pandas loads the whole CSV into memory. Read it in chunks, pick columns and dtypes, or, when you just need to look, filter and export, open it in MegaCSV.
- pandas: Error tokenizing data. Expected N fields in line X, saw M
One row in your CSV has more fields than the header. Open the file in MegaCSV, go straight to that line, and see what's wrong with it.
- How to open a large CSV file on a Mac
Numbers stops at 1 million rows and Excel for Mac has no Power Pivot. MegaCSV opens CSVs of any size in Safari or Chrome on your Mac, with nothing to install.
- How to open a large CSV file without Excel
Notepad, TextEdit and most editors freeze on multi-GB CSVs. MegaCSV shows them as a table in your browser, at any size, with find, filter and export.
Find, filter and summarize
- Filter a large CSV without Excel crashing
Excel freezes or crashes filtering big files and stops at 1,048,576 rows. MegaCSV filters every row of any CSV in seconds, in your browser.
- Look up a list of IDs in a huge CSV (the big VLOOKUP)
VLOOKUP can't reach rows past 1,048,576. Paste your list of IDs into MegaCSV's “is one of” filter to pull every matching row from a file of any size.
- Totals and counts by group on a CSV with millions of rows
Excel pivot tables stop at the sheet's row limit unless you use the Data Model. MegaCSV's Summarize counts and totals any column by group, on every row.
Split and import
- How to split a large CSV into smaller files
Split a CSV of any size into parts of a chosen row count, each with the header row, in your browser. Excel-sized, Salesforce and NetSuite presets.
- Split a big CSV into 50,000-row files for Salesforce
Salesforce's Data Import Wizard takes 50,000 records at a time. MegaCSV splits any CSV into 50,000-row files, header on each, values unchanged.
- Split a big CSV for a HubSpot import
HubSpot imports take up to 1,048,576 rows and 512 MB per file on paid plans (20 MB on free tools). MegaCSV splits big CSVs into parts that fit.
- Split a big CSV into 25,000-row files for NetSuite
NetSuite's CSV import takes 25,000 records or 50 MB per job. MegaCSV splits any CSV into 25,000-row files with the header on each, values unchanged.
- How to open a .csv.gz or zipped CSV file
Excel can't open .csv.gz files and most viewers can't open zipped CSVs. MegaCSV unpacks them in your browser and opens the CSV inside, at any size.