CSV to PDF

Convert your CSV data into a table within a PDF document.

About CSV to PDF

A CSV attached to an email is unreadable on a phone and unformatted when printed. This tool lays the CSV out as a table in a PDF with a coloured header row, automatic column widths and page breaks, using the jsPDF library and its AutoTable plugin, so a list of orders, students or products becomes a document you can send or print.

Paste the CSV, choose portrait or landscape and a font size, name the file and click Convert. The PDF is rendered in your browser and never uploaded.

How to use CSV to PDF step by step

  1. Paste the comma-separated CSV into the text area; the first line becomes the table header.
  2. Choose the orientation (portrait or landscape) and the font size (5 to 20 points, 10 by default). Wide tables read better in landscape with a smaller font.
  3. Type the file name (document by default).
  4. Click "Convert and download PDF". The file downloads immediately.

Input and output example

Input

student,course,grade
Ana López,Maths,9.5
Luis García,Physics,7.0

Output

PDF, A4 portrait, font 10:
┌──────────────┬─────────┬───────┐
│ student      │ course  │ grade │  ← red header row, white text
├──────────────┼─────────┼───────┤
│ Ana López    │ Maths   │ 9.5   │
│ Luis García  │ Physics │ 7.0   │
└──────────────┴─────────┴───────┘

Why use our CSV to PDF?

Common use cases

Limits and tips

Frequently asked questions

What does the PDF look like?

An A4 page in the orientation you choose, with a single table starting at the top: a bold header row on a red background, alternating plain rows, thin grey borders and the font size you set. Rows that do not fit continue on the next page with the header repeated.

How many columns fit on a page?

It depends on the content width and font size. As a rule of thumb, up to 6-7 columns of short text fit in portrait at 10 points and about 10-12 in landscape at 8 points. AutoTable shrinks columns to fit, so very wide tables become hard to read rather than overflowing.

Can I add a title, a logo or page numbers?

No. The document contains only the table. Open the PDF in an editor such as LibreOffice Draw, or generate a Word document with the CSV to Word tool and finish it there if you need headers and branding.

What is the difference between CSV to PDF and printing from Excel?

Printing from Excel requires opening the CSV, which may reformat values, and setting print areas and scaling by hand. This tool produces a consistent, page-broken table in one click without altering the text, though with fewer layout options.

Is the CSV uploaded?

No. jsPDF builds the file in your browser and it is downloaded directly; nothing goes to a server.

Related tools

Other free utilities you may find useful

Available languages