Split a big CSV for a HubSpot import
HubSpot accepts up to 1,048,576 rows and 512 MB per import file on paid plans, and only 20 MB on free tools. Open the file in MegaCSV, choose Export → CSV and a row count per file that keeps each part under the limit; every part gets the header row.
Why you need to split
Contact and deal exports from other systems easily pass HubSpot’s per-file limits, and editing them in Excel risks changed phone numbers and dates.
Split it with MegaCSV
- Drop the CSV on MegaCSV. The status line shows the row count; the file size is next to the name.
- Work out a row count that keeps each part under the size limit (see the questions below).
- Export → CSV, Split into files of A number I choose…, and type it.
Other ways to split
- HubSpot’s own import of several files in turn.
- Command line
split -l, then add the header to each part.
Questions
What are HubSpot's import limits?
Up to 1,048,576 rows and 512 MB per file on paid plans, and 20 MB on free tools (HubSpot knowledge base, checked November 1, 2026). Daily import limits also apply.
MegaCSV splits by rows; how do I stay under a size limit?
Divide the file size by the limit to get the number of parts, then divide the row count by that. For example, a 2 GB file with 10 million rows needs at least 4 parts of 512 MB, so 2,500,000 rows or fewer each, or more parts for safety.
Do parts keep the header?
Yes, every part starts with the header row.
Related
- Split a big CSV into 50,000-row files for Salesforce
- Split a big CSV into 25,000-row files for NetSuite
- How to split a large CSV into smaller files
- Excel drops leading zeros and turns long numbers into 1.23E+11
- CSV import limits for Salesforce, HubSpot, NetSuite and Shopify, and how to split a file to fit
Facts checked November 2, 2026.