Docs from Excel

Generate Certificates from a CSV File: Names, Dates, Numbers

By Docs from Excel ·

To generate certificates from a CSV file, you need two things: a certificate design with placeholders such as {{Name}} and {{Date}}, and a CSV whose first row holds matching column names. Each data row then becomes one certificate. Most failed CSV batches are not design problems. They come from how the CSV was saved: the wrong separator, the wrong text encoding, or numbers and dates that Excel silently changed.

This guide covers the CSV-specific checks. For the design side, including PowerPoint certificates and name length, read making certificates in bulk from a list of names.

Shape the CSV: one row per certificate

The first row is the header. Every following row is one person and one certificate. Keep one column per value that changes: name, course, completion date and certificate number are typical. A column that is the same for everyone, such as the organisation name, can simply be typed into the design instead.

An illustrative certificate CSV (invented names)
NameCourseDateCertNo
Maria SantosForklift Safety14 March 202600121
José ÁlvarezForklift Safety14 March 202600122
Siobhan O'Neill-HartFirst Aid Level 221 March 202600123

The header names should match the placeholders in your design. With the table above, the design would contain {{Name}}, {{Course}}, {{Date}} and {{CertNo}}. Keep header names short and avoid two columns with the same name.

Check the separator before anything else

CSV means comma-separated, but not every program writes commas. In many European regional settings Excel saves CSV files with semicolons, because the comma is used as the decimal mark. A tool that expects commas then sees the whole line as one long column, and every placeholder appears unmatched.

Open the file in a plain text editor such as Notepad or TextEdit and look at the first line. If you see Name;Course;Date;CertNo, the file is semicolon-separated. Docs from Excel reads comma-separated and tab-separated lists; for a semicolon file, either upload the original .xlsx workbook instead or re-save it in a program that lets you choose commas.

Values that themselves contain a comma, such as “Acme, Inc.”, are fine as long as they are wrapped in double quotes. Spreadsheet programs add those quotes for you when they export.

Save as UTF-8 so accented names survive

A certificate is the one document where a misspelled name is never acceptable. If José prints as “José” or “Jos?”, the CSV was saved in a different character encoding from the one the generator reads.

In Excel, choose File › Save As and pick CSV UTF-8 (Comma delimited) rather than plain “CSV (Comma delimited)”. Google Sheets exports CSV as UTF-8 by default. Docs from Excel reads the list as UTF-8, so test a row containing accents, apostrophes or non-Latin characters before generating the full set.

Protect certificate numbers and dates

A CSV stores plain text. The trouble starts when the file is opened in Excel, which converts anything that looks like a number. A certificate number such as 00121 becomes 121, long reference numbers can turn into scientific notation, and a date may be reread in a different day-month order.

The numbers and dates guide explains the same problem as it appears in Word's mail merge.

Give every certificate a unique filename

When each certificate is saved as its own file, the filename usually comes from a column. Two people with the same name would then produce two files with the same filename. Use a column that is unique for every row, such as the certificate number, or combine it with the name. See custom filenames for merged documents for naming patterns.

Run a three-row test, then the full list

Before generating everything, make a copy of the CSV with three rows: the longest name, a name with accents or an apostrophe, and a row with the highest certificate number. Generate those, open each file and read it the way the recipient will. Check that the name fits on one line, the characters are correct, and the date and number look right.

Then generate the full list and compare the number of files with the number of data rows. The free reconciliation log helps when the counts do not match.

Generating the certificates with Docs from Excel

Docs from Excel takes a Word (.docx) or PowerPoint (.pptx) certificate design plus a .csv or .xlsx list, and produces one certificate per row as a separate file or PDF, named from a column you choose. You can run a batch and open every certificate free; downloading the full set is a one-time USD 9.90 unlock. A batch holds up to 300 rows, so split larger lists into several CSV files. Images that change for each person, such as individual photos, are not supported.

If you do not have a design yet, the certificate batch starter includes a matching Word template and sample list, and the certificate template page shows the placeholder layout.

Common questions

Can I use a CSV exported from Google Sheets or a learning platform?

Usually, yes. Check the three things above: the separator in the first line, UTF-8 encoding, and whether numbers or dates were changed. Rename or remove columns you do not need so the headers match your placeholders.

Is a CSV better than an Excel file for certificates?

Neither is better for the certificates themselves. A CSV is convenient when the list comes out of another system. An .xlsx file avoids the separator and encoding questions entirely, so if your list already lives in Excel, upload the workbook directly.

What if a name is too long for the design?

Widen the name text box and centre it, then test with the longest name in the list. A CSV cannot fix a layout problem; the design has to allow for the range of names you actually have.