CSV trop volumineux pour un lot de PDF ? Comment le diviser
The CSV Batch PDF Generator makes one PDF for every row of a CSV file. Each run has three limits: 250 records, 100 columns and a 10 MB file. If your file goes over one of them, the check stops with a message that says which limit was hit and what your file has, for example "Use at most 250 rows. This CSV has 612." This guide shows how to fix each case.
CSV to PDF batch — One PDF per spreadsheet row, zipped. Free preview · US$12 export.
Open CSV to PDF batchNew to the tool? Start with how to make one PDF for every row of a CSV.
More than 250 rows: split into parts
The header row doesn't count; the limit is 250 data rows. Split the list into parts of up to 250 rows, and put the same header row at the top of every part.
- Open the CSV in a spreadsheet program such as Excel, Google Sheets or LibreOffice Calc.
- Sort the rows first if order matters, for example by surname or by class. Sorting after you split is much harder.
- Copy the header row and rows 1 to 250 into a new sheet, and save it as CSV (UTF-8), for example list-part-1.csv.
- Repeat for rows 251 to 500, and so on. Every part needs the header row.
- Run each part through the tool with the same title, body, font size and filename pattern.
A list of 612 people becomes three parts: 250, 250 and 112.
Keep the bundles apart
Each run gives you a ZIP with one PDF per record and a manifest.csv. File names start with the record number, and that number starts again at 1 in every run. So part 1 and part 2 can both contain a file that begins with 1.
- Unzip each bundle into its own folder, such as part-1 and part-2. Don't unzip them into the same folder.
- Use a filename pattern that includes something unique from your data, such as
{{ID}}-{{Name}}, so files are easy to tell apart later. - Keep each
manifest.csvwith its bundle. It links every row to its file name.
More than 100 columns: remove what the template doesn't use
The template only needs the columns you insert with double braces, such as {{Name}} and {{Date}}, in the title, body or filename pattern. An export from a database or a form tool often has dozens of columns you never use.
- List the fields your template uses.
- In the spreadsheet, delete the other columns, or copy just the columns you need into a new sheet.
- Keep the header names exactly as they were. Field names are case-sensitive, so
{{name}}won't match aNamecolumn. - Save as CSV (UTF-8) and check again.
Over 10 MB: usually the same two fixes
A CSV with 250 short rows is far below 10 MB. If yours is larger, it almost always has many more rows than the limit or columns with very long text. Removing unused columns and splitting by rows brings the size down at the same time. If one column holds long text you do need, remember that each record must fit on one A4 page, so very long text will be reported as overflow anyway.
Check each part before you pay
Checking and previewing are free and run in your browser, so check every part first:
- Click Check & preview for each part. It reports how many PDFs it will make and flags any field that isn't in the header.
- Fix overflow rows. The check lists them by CSV row number. Row numbers are counted within the part you loaded, not within your original list.
- Make sure the last row of one part and the first row of the next are the records you expect, so nobody is skipped or duplicated at the join.
What splitting costs
The export price is US$12 per bundle, paid once, with no subscription. Each part is its own bundle, so three parts cost three exports. That is worth knowing before you start: if your list is only slightly over 250 rows, check whether every row is really needed. Test records and duplicates are common, and removing them may bring you under the limit. A purchased bundle is kept for up to 30 days so you can download it again; see pricing.
Common problems after splitting
- "Field not found" in one part only: that part is missing the header row, or the header was changed when it was copied.
- Strange characters in names: the part was saved in a different encoding. Save as CSV UTF-8.
- Dates or long numbers changed: the spreadsheet program reformatted them when it opened the file. Format those columns as text before saving, and compare a few rows with your source.
- A PDF with empty fields: a row in that part has empty cells. Use
manifest.csvto find the row, fix it in the spreadsheet and check again.
Questions
How many rows can the CSV batch tool process at once?
Up to 250 data rows per run, not counting the header row, with at most 100 columns and a 10 MB file.
Does each part need its own header row?
Yes. Every CSV part must start with the same header row, or the template fields will not be found.
Do I pay once for all the parts?
No. Each exported bundle costs US$12, so a list split into three parts costs three exports. Checking and previewing are free.
Will file names clash between parts?
They can, because the record number at the start of each file name begins at 1 in every run. Unzip each bundle into its own folder.
My file has more than 100 columns. Do I need them all?
Only the columns your template uses. Delete the others, keep the header names unchanged, and save as CSV UTF-8.