Excel exports workbooks as comma-separated values (CSV), and the resulting file often needs to leave Excel for a printable, sharable PDF that looks the same on every computer. The CSV to PDF tool takes that exported CSV and turns it into a landscape PDF entirely in the browser tab — no upload, no spreadsheet required. The tool is built around three concrete limits: a maximum of 100 rows and 12 columns, an upload cap of 200KB, and a single fixed US Letter landscape canvas per page. The first row is treated as the column header and repeated on every page so readers do not lose context when a table spans multiple pages. When a CSV comes from Excel's "Save As → CSV (Comma delimited)" export, the layout is already rectangular and the parser only needs to handle the quoting rules Excel normally produces — including quoted commas, doubled quotation marks, and CRLF or LF line endings. For a quick printable snapshot of a small reference table this is faster than opening Excel and re-laying out the page yourself.

How the CSV to PDF tool handles your table
The tool renders each page on an HTML canvas using locally available system fonts, then embeds every canvas as a PNG inside a PDF assembled by the project's pdf-lib dependency. This preserves browser-rendered Unicode without bundling a font package, but it also means the document is a rasterized table — the text inside cells is not selectable or searchable like a native PDF table would be. Pages include a fixed grid with a repeated gray header, alternating row shading, and cell borders on a US Letter landscape canvas. Each cell has a fixed printable width. When the rendered text exceeds that width it is visibly truncated with an ellipsis, but the underlying CSV text in the editor is left untouched. Ragged rows — those with fewer fields than the header — are padded with empty cells to the widest row so every column aligns. Malformed inputs do not silently produce a broken table; unclosed quotes, quotes that begin after unquoted content, empty datasets, and rows or columns past the bounds fail visibly in the editor instead of being guessed at. All parsing, canvas rendering, PNG encoding, and PDF assembly run inside the current browser tab, so the CSV never leaves your device.
| Input characteristic | How the parser handles it |
|---|---|
| Comma-separated fields | Split on commas, each value kept as plain text |
| Quoted field containing a comma | Kept as a single cell, comma preserved |
| Doubled quotation marks inside a quoted field | Reduced to a single literal " character |
| Line break inside a quoted field | Preserved as part of that cell |
| CRLF or LF record terminators | Both accepted |
| Ragged row (fewer fields than the header) | Padded with empty cells to the widest row |
| Unclosed quote or quote after unquoted text | Rejected with a visible error in the editor |
| Empty dataset | Rejected with a visible error |
| More than 100 rows or 12 columns | Rejected; row and column caps are enforced |
Export CSV from Excel and turn it into a PDF
The most common path to a printable PDF starts inside Excel, where the data already lives. Once you have a CSV file, the browser tool takes over and finishes the conversion locally. The steps below cover an Excel export followed by the in-browser PDF step using the CSV to PDF tool:
- In Excel, open the workbook containing the table you want to print and select the sheet, or use Ctrl+A on a defined table to capture the whole table area.
- Choose File → Save As, pick a target folder, and change the file type to "CSV (Comma delimited) (*.csv)". Excel will warn that only the active sheet is saved in this format — click OK to continue.
- Close the file. Excel may prompt about a format mismatch if a workbook extension is still attached; choose Keep Current Format so the .csv file remains the source of truth.
- Open the CSV to PDF tool in a new browser tab. The editor accepts either an uploaded file or pasted comma-separated text.
- Either drag the .csv file onto the upload area (capped at 200KB) or paste the comma-separated text directly into the editor. The first row of the data should contain the column headers.
- Confirm that the dataset stays within 100 rows and 12 columns. Anything beyond those bounds is rejected before the PDF is built.
- Select Create PDF. The tool parses the file, renders every page on a landscape canvas, and assembles the document locally using pdf-lib.
- Download the resulting landscape PDF and open it. Check that the header row repeats on each page, that any cell containing long prose ends with an ellipsis instead of being cut off mid-character, and that Unicode glyphs you used render correctly in your local fonts.
If the CSV is already saved elsewhere — exported from a database, downloaded from a web app, or pasted from a colleague's email — skip the first three steps and start at step 4. Browsers treat the file as plain text, so the .csv extension is the only requirement.
Quoted-field parsing rules that affect your output
Excel's CSV exporter follows a practical version of the format described in IETF RFC 4180. When a cell contains a comma, a double quote, or a line break, Excel wraps the field in double quotes and doubles any internal quotes — for example, the value He said "hi", friend becomes "He said ""hi"", friend" in the CSV. The CSV to PDF parser supports that pattern: quoted commas stay inside a single cell, doubled quotes collapse to a single quote character, and newlines inside quoted fields are preserved as part of the cell rather than breaking the row. The parser is strict by design, though. An unclosed quote at the end of a row, a quote mark that appears after unquoted content in the same field, or an empty dataset all trigger a visible error in the editor instead of producing a misleading table. Ragged rows where some records have fewer fields than the header row are padded with empty cells to the widest row, so columns stay aligned across the whole document. Knowing these rules up front saves you from re-opening the CSV in a text editor to chase down a missing quote.
Reviewing the landscape PDF output
Even when the parser accepts the file, the rendered PDF deserves a quick review before you send it out. Three checks cover most issues. First, scan for ellipsized cells: the fixed printable grid truncates text that exceeds the column width with "…" and the original CSV is not modified, so any prose that gets shortened will not get longer just because the PDF was regenerated. Long prose is the most common reason to abandon the snapshot for a spreadsheet's native Save As PDF. Second, look for Unicode glyphs: the canvas uses locally available system fonts, and characters missing from your system's font set appear as squares or question marks. Right-to-left scripts and combining diacritics are particularly worth inspecting because they can render in unexpected order on a canvas even when the source text is correct. Third, walk through the page breaks: the gray header repeats on each new page, so column names stay in view without scrolling back to page one. The combination of canvas rendering and pdf-lib assembly is documented at pdf-lib.js.org.
When to use a spreadsheet instead of a quick CSV export
The CSV to PDF tool is built for compact reference tables, meeting handouts, simple exports, and quick printable snapshots. It deliberately omits features that a spreadsheet or reporting application handles better. If your goal is hundreds of rows, accessible tagged PDFs, selectable table text, advanced pagination, exact typography, confidential production reports, or a document that should preserve spreadsheet formulas and charts, open the CSV in Excel and use Excel's built-in Save As PDF or a reporting tool that exposes explicit PDF export controls. The local-only processing model is also why this is not the right place for confidential production pipelines or for any workflow that needs selectable text inside the PDF — each page is a rasterized PNG, so the content is not a real text layer.
| Use the CSV to PDF tool when… | Use a spreadsheet or reporting tool when… |
|---|---|
| The table is under 100 rows and 12 columns | The dataset exceeds the per-document row or column cap |
| You need a quick printable snapshot for a meeting | You need selectable, searchable text in the final PDF |
| The CSV is plain comma-separated text from any source | You need workbook formulas, styles, or charts preserved |
| The CSV must not leave your browser tab | The PDF is part of a production or accessibility workflow |
| Header repetition on each page is enough navigation | Advanced pagination, bookmarks, or tagged PDF are required |
For a deeper walkthrough of the in-browser parsing and rendering path, see the guide Convert CSV to PDF in Your Browser (No Upload). Both paths land on the same landscape PDF — what changes is the framing around the Excel export step covered above.