Bulk Certificate Generator
Operator: Abdulla Al Fahad. How tools are built and checked
A certificate run is the same page printed many times with one thing changed: the name. Doing it by hand in a design app means retyping the name, nudging it to the middle, and exporting once per person. This tool does the repetitive part. You supply a finished design as a picture or a PDF, and a sheet with one row per recipient, and it stamps each row's text onto the design.
You decide where the words go by placing text boxes on a preview of your own design. A box holds ordinary text plus {{Column}} placeholders, so one box can say {{Name}} and another can say completed {{Course}} on {{Date}}. The output is either one PDF with a page per row, or a ZIP with one PDF per person, named from a column such as Name.
Key features
- Template from PNG, JPG, WEBP or the first page of a PDF, with vector output for a PDF design
- Any number of text boxes, each dragged and resized on the preview, or set by numbers for exact placement
- {{Column}} placeholders mixed with fixed words, so one box can build a whole sentence per row
- Helvetica, Times or Courier in bold and italic, with colour, left, centre or right alignment
- Shrink to fit width using the same font measurements the PDF uses, so the preview and the file break the same way
- Preview of any row, with a red box where the text is wider than its space
- Output as one merged PDF (up to 1,000 rows) or a ZIP of PDFs (up to 500 rows) named from a column
Templates, {{Column}} fields and how text is fitted
The template can be a PNG, JPG or WEBP up to 25 MB and 50 megapixels, or a PDF up to 50 MB, of which only page 1 is used. Pictures are decoded with their camera rotation applied and then stored with the long side capped at 3,508 pixels, which is A4 at 300 DPI. JPG templates are saved again as JPEG at 93 percent quality on a white base. PNG and WEBP templates become PNG, so a transparent corner stays transparent. A PDF template is placed as a real vector page, so a logo or fine border stays sharp at any print size. The exception is a first page that carries a rotation setting: that page is drawn from a 300 DPI picture instead, and a note says so.
A picture has no physical size, so the page is fitted to a paper choice. The longer side of the picture becomes 297 mm for A4 (841.89 points) or 11 inches for US Letter (792 points), and the shorter side follows the picture's own proportions. A PDF template keeps its own page size. All box positions and sizes are stored in points on that page, measured from the top left, and the X, Y and Width inputs show them.
Data comes from a CSV or the first sheet of an XLSX file, with column names in row 1 and up to 1,000 rows. CSV files are read as UTF-8. Columns whose name contains date, dob or birth are turned into yyyy-mm-dd when Excel has stored them as serial numbers; other cells are used as they appear. Column names in a box are matched ignoring case, and a placeholder that matches no column is printed exactly as typed. The editor flags it in amber as soon as a data file is loaded, and the result repeats the warning, so a typo cannot slip through unnoticed.
Text is drawn with the standard PDF fonts: Helvetica, Times or Courier, each in regular, bold, italic and bold italic. These fonts cover Western European letters. A letter outside that set loses its accent when it can (Ş becomes S, Ł becomes L); anything else, such as Arabic, Devanagari or Chinese, is printed as a question mark, and the page names the characters it replaced. If your recipients write in those scripts, this tool cannot print their names correctly.
Each box is a single line. When Shrink to fit width is on, a line wider than its box is scaled down in one step, to the largest size with one decimal that fits, but never below the smallest size you set for that box. If it still does not fit, the text is drawn at that minimum size, centred or aligned over the box edge as chosen, and the row is counted in the overflow warning. Text is centred vertically on the box, so the height of the box moves the text up or down.
How it works
When the page opens it builds a hidden PDF document and embeds all twelve standard font variants in it. The width of a string at a size is then read from pdf-lib's own metrics for that font. The preview and the export both call the same fitting function with that measuring function, which is why a name that looks like it fits on screen also fits in the file.
Fitting works from the fact that a line's width grows in direct proportion to its font size. If a name measures 809.4 points at 32 points and the box is 505 points wide, the new size is 32 multiplied by 505 over 809.4, which is 19.97 points; the tool rounds down to one decimal and uses 19.9, giving a measured width of 503.4 points.
For the merged file, the template is embedded once and drawn onto each new page, so 200 certificates cost little more than one. For the ZIP, each person gets a separate small document, and each of those contains its own copy of the template. A one-megabyte template across 300 people therefore adds up to as much as 300 MB, and the page shows that upper estimate before you start. The real file is often smaller, because a PNG template is recompressed when it is embedded.
Files in the ZIP are named from the chosen column. Characters other than letters, digits, dot, underscore, hyphen and space are removed and accents are stripped, names are trimmed to 80 characters, and a repeated name gets -2, -3 and so on. An empty cell falls back to certificate-01, certificate-02 and so on.
Typical uses
- A teacher issuing course-completion certificates to a class of 40 from the sign-up spreadsheet
- A volunteer coordinator printing thank-you certificates with a name, a number of hours and a date on each
- A conference team producing attendance certificates for several hundred registrants, one PDF each, to email individually
- A sports club making participation awards where the design comes from a template exported out of a design app
Building one
- Drop your certificate design into the Template box. If it is an image, pick A4 or US Letter.
- Drop the CSV or XLSX file into the Data box, or press Use sample rows to see how it works first.
- Press Add text field. Type the text, using Insert a column to add a {{Column}} placeholder, then drag the box to the right place on the preview.
- Set the font, size, colour and alignment. Leave Shrink to fit width on for names, and widen the box until the longest name sits comfortably.
- Step through the rows with Previous and Next. Any row that is too wide for its box shows a red outline.
- Choose One merged PDF or ZIP of separate PDFs, pick the column for file names if you chose the ZIP, then press the make button and download the result.
Example
A landscape A4 template, a sheet with Name, Course and Date columns, and one box reading {{Name}} (Helvetica Bold, 32 pt, 505 pt wide, shrink on, smallest size 12 pt)
Name,Course,Date
Amara Okafor,Introduction to Data Analysis,2026-11-14
Jean-Baptiste Lefèvre-Dubois,Introduction to Data Analysis,2026-11-14
Maria Fernanda de los Ángeles Rodríguez Hernández,Introduction to Data Analysis,2026-11-14What the merged PDF contains
Page 1 Amara Okafor 211.0 pt wide at 32 pt (fits, size 32)
Page 2 Jean-Baptiste ... 450.8 pt wide at 32 pt (fits, size 32)
Page 3 Maria Fernanda ... 809.4 pt wide at 32 pt (shrunk to 19.9 pt, now 503.4 pt)
ZIP names with the Name column: Amara Okafor.pdf, Jean-Baptiste Lefevre-Dubois.pdf, Maria Fernanda de los Angeles Rodriguez Hernandez.pdfTips for best results
- Export the design from your design app with every placeholder name and date removed, and leave clear space where the text goes. Text drawn over printed text is hard to read.
- Test with your longest name, not the first row. Paste it in as an extra row, preview it, and set the box width and smallest size from that.
- Keep the smallest size at about half the normal size at most. A name that has to shrink below that looks wrong next to the others and is better handled by widening the box.
- For a PDF template, keep the original vector file rather than a screenshot of it, so the border and logo stay crisp when printed.
- Use a second box for the date or the course so each part can have its own size and colour, instead of one long line with {{Name}} in the middle.
Things to check before you rely on it
Names in scripts other than Latin cannot be drawn with the standard fonts. They print as question marks, and the warning after the run lists them. Check the spreadsheet for these before you send anything out.
A column heading that is blank in the sheet becomes Column 1, Column 2 and so on, and two identical headings collapse into one. Rename duplicate headings in the sheet first.
A merged ZIP of many people with a large template can become very large because each PDF carries its own copy of the design. Use the merged PDF, or a smaller template, when size matters.
Excel dates are only converted when the column name contains date, dob or birth. A column called Issued with a date in it comes through as a serial number such as 46340; rename it Issue date or format it as text in Excel first.
The on-screen letters come from your browser's fonts. The PDF uses the standard PDF fonts, so the widths agree but the letter shapes differ slightly. Judge the final look from the downloaded file.
A template whose picture is much bigger than 3,508 pixels on the long side is stored at that size. It prints well at A4 and Letter, but not as a poster.
Best practices
- Do one test run with three or four rows, open the PDF and check the position on paper before running the whole sheet.
- Keep the data sheet tidy: one recipient per row, no empty rows in the middle, and one column per piece of text.
- Use the merged PDF for printing and the ZIP only when each person needs an individual file to email.
What stays on your computer
The template, the spreadsheet and the finished PDFs are handled entirely inside this browser tab. Nothing is posted to a server, and the page does not write the names or the template to browser storage, so closing the tab clears them. This matters for a certificate run because the sheet is usually a list of real people with their names and sometimes email addresses.
The page does load its code from this site when it opens, and the PDF reader that draws the template preview comes with the page. No account is needed and nothing is stamped onto the pages.
How to line up text on a design that has a printed line
A line on the template that says Awarded to usually has a printed rule under it. Place the box so its vertical middle sits just above the rule, set the alignment to centre, and give the box the same width as the rule. Because text is centred on the box's middle, making the box taller moves the text down, so use the Y value rather than the height to adjust position.
If the design has several lines, copy the first box with Duplicate. The copy appears below the original with the same font, which keeps the two matching while you change only the words.
Frequently asked questions
Can I make the certificate without a template?
Not directly. The tool needs a design image or PDF to place text on. A plain white image saved from any editor works if you only want text on a blank page.
How many certificates can I make at once?
Up to 1,000 rows for a merged PDF and 500 rows for a ZIP of separate PDFs. Longer lists can be split across two sheets and made in two runs.
Will a very long name run off the edge?
Not when Shrink to fit width is on: the size is reduced until the name fits the box, but never below the smallest size you set. A name that still does not fit at that minimum is drawn at the minimum and reported as an overflow, and the preview shows it in red.
Why do some letters show as a question mark?
The standard PDF fonts cover Western European letters only. Accents outside that set are removed where possible, and other scripts such as Arabic or Chinese are replaced with a question mark. The page lists which characters were affected.