Home › PDF Tools › CSV to PDF

CSV to PDF

Paste CSV data or open a .csv file and get a tidy, printable PDF table. Column widths, text wrapping and page breaks are handled for you, and the header row repeats on every page. Everything runs in your browser.

Paste CSV data or open a file to begin.
Page 1 of 1
Advertisement
Advertisement

How to use the CSV to PDF

  1. Open a CSV file by dropping it on the box, or paste CSV text into the editor (a sample table is loaded so you can try it).
  2. Check the delimiter. Auto-detect handles commas, semicolons, tabs and pipes; untick First row is a header if your data has no column names.
  3. Choose the layout: page size, orientation, font size, margins, and whether long text wraps or is cut off.
  4. Flip through the preview to see exactly where page breaks fall.
  5. Press Download PDF to save the table as a PDF file named after your CSV.

How the table is laid out

The converter measures every cell with the exact character widths of the Helvetica font used in the PDF, so the preview matches the downloaded file. Layout follows a few simple rules:

  • Column widths start from the widest value in each column. Narrow columns (IDs, dates, quantities) keep their natural width and the remaining space is shared by the wide text columns, so short columns are never squeezed to make room for long descriptions.
  • Orientation set to Auto stays in portrait when the table fits and switches to landscape when it does not.
  • Wrapping breaks long text at spaces; a single very long word or URL is split by characters. Choose Cut off with … to keep every row one line high instead.
  • Page breaks never split a row across two pages. With Repeat header on, each page starts with the column names.
  • Numbers: a column where at least 80% of the values look like numbers, prices or percentages is right-aligned so decimals line up.

How many rows fit on a page?

Each single-line row is about 2 × the font size tall (1.25 × for the line plus padding). These are the counts for single-line rows with normal (0.5 inch) margins, a header row and page numbers:

Page8 pt9 pt10 pt12 pt
A4 portrait44393529
A4 landscape29262319
US Letter portrait41373327
US Letter landscape30272420

Rows with wrapped text take more space, so the page counter above the preview always shows the real number of pages.

CSV format tips

  • Fields that contain the delimiter, quotes or line breaks must be wrapped in double quotes, and a quote inside a field is written twice: "Laptop stand, 15""". This is the standard RFC 4180 format that Excel, Google Sheets and databases export.
  • Files are read as UTF-8. If a file is not valid UTF-8 (older Excel exports on Windows), it is read as Windows-1252 so accented letters still appear correctly.
  • Excel in many European locales saves CSV files with semicolons. Auto-detect handles this, or pick the delimiter yourself.
  • Empty trailing columns, often left by a trailing comma on every line, are dropped automatically.

Frequently asked questions

How do I convert a CSV file to PDF?

Open the CSV file in the box above or paste its contents, adjust the page size and orientation if needed, then press Download PDF. The table is laid out into pages with the header row repeated on each page and saved as a PDF to your device.

Does the header row repeat on every page?

Yes, when First row is a header and Repeat header on every page are ticked (both are on by default). Each new page starts with the column names so a long printed table stays readable.

What happens if my table has too many columns?

With orientation set to Auto, the tool switches to landscape when the columns do not fit in portrait. If they still do not fit, columns are narrowed and long text wraps onto several lines. You can also lower the font size, use narrow margins or pick a larger page such as A3 or Legal.

My CSV uses semicolons instead of commas. Will it work?

Yes. Auto-detect looks at the first lines and picks comma, semicolon, tab or pipe, which covers files exported by Excel in most European locales. You can also set the delimiter manually.

Are special characters and accents supported?

Latin letters with accents (é, ñ, ü, ø and similar), the euro sign and common punctuation are supported by the built-in PDF fonts. Characters outside that set, such as Chinese, Arabic, Cyrillic or emoji, are replaced with a question mark and the tool tells you how many were replaced.

Is there a size limit?

There is no fixed limit. Tables with tens of thousands of rows work, although very large files take a few seconds to lay out and produce PDFs with hundreds of pages.

Is my CSV data uploaded?

No. The CSV is parsed and the PDF is built entirely in your browser with JavaScript, so your data never leaves your device.

Related tools

Excel to PDF ConverterConvert Excel and CSV sheets into tidy, paginated PDF tables with repeated headers.Text to PDF ConverterTurn plain text or a .txt file into a clean PDF with your font, size, margins and page size.CSV ViewerOpen a CSV or TSV file as a sortable, filterable table.CSV to JSONConvert CSV data to JSON with live preview.CSV to Excel ConverterConvert CSV files to a real .xlsx workbook with typed numbers and dates, one sheet per file.Merge PDFCombine several PDF files into one document.Compress PDFReduce PDF file size while keeping it readable.JPG to PDFCombine JPG photos into one PDF with page size, margins and orientation options.PDF to WordConvert PDF files to editable Word documents.PDF to ExcelExtract tables from PDF files into an Excel spreadsheet (XLSX) or CSV, right in your browser.PDF to JPGTurn PDF pages into high-quality JPG images.PDF to PNGConvert PDF pages to PNG images with custom DPI and transparent background.Word to PDFConvert Word DOCX documents to PDF.Image to PDFConvert JPG, PNG, WEBP and more into a PDF.Split PDFExtract pages or split a PDF into separate files.Delete PDF PagesRemove pages from a PDF using a visual thumbnail grid.Rotate PDFRotate one page or all pages of a PDF by 90, 180 or 270 degrees.Add Page Numbers to PDFNumber PDF pages with your choice of position, format and font.Watermark PDFStamp a text or logo watermark on PDF pages with custom opacity.Invoice GeneratorCreate professional invoices and save them as PDF.Sign PDFDraw, type or upload a signature and place it on any PDF page, free and private.Fill PDF FormFill in PDF form fields online: text boxes, checkboxes, radio buttons and dropdowns.PDF Metadata EditorView and edit a PDF's title, author, subject, keywords and dates, or clear them all.PDF to Text ConverterExtract the text from any PDF page by page, then copy it or save it as a TXT file.HTML to PDF ConverterPaste HTML and CSS, preview it as pages and download a PDF, safely in your browser.Markdown to PDF ConverterWrite or paste Markdown, preview it with a clean theme and export a polished PDF in seconds.Flatten PDFFlatten PDF form fields and annotations into the page so they can no longer be edited.Grayscale PDFConvert a color PDF to grayscale or pure black and white for printing, right in your browser.PDF ViewerOpen and read PDF files in your browser with zoom, search, thumbnails and fullscreen.PDF Word CounterCount words, characters and lines in a PDF, page by page, with top words and CSV export.Organize PDFReorder, rotate, delete and duplicate PDF pages with drag-and-drop thumbnails.Crop PDFTrim PDF margins by dragging a crop box on the page, for all pages or selected ones.Resize PDFChange PDF page size to A4, Letter, Legal, A3 or custom and scale content to fit.Extract Images from PDFPull every embedded photo and graphic out of a PDF as PNG or JPG, or save pages as images.Redact PDFBlack out names, numbers and any text in a PDF for real: the hidden text is removed, not covered.PDF EditorAdd text, whiteout, shapes, images and drawings to any PDF page, then save a new PDF.Resume BuilderFill in a simple form, pick one of 3 clean templates and download your resume as a PDF.PDF to PowerPointTurn every PDF page into a PowerPoint slide (PPTX) in 16:9, 4:3 or the PDF's own size.PDF to MarkdownConvert PDF to clean Markdown with headings, lists, tables, bold, italics and links.PDF to HTMLConvert PDF to a clean, responsive HTML page or an exact positioned layout, in your browser.Compare PDFCompare two PDF files and see added, removed and changed text side by side, page by page.Insert Pages into PDFInsert blank pages or pages from another PDF anywhere in your document, privately in your browser.PDF Page CounterCount the pages of many PDFs at once, with totals, page sizes and a CSV export.Add Header and Footer to PDFAdd header and footer text with page numbers, date and file name to every PDF page.Invert PDF ColorsTurn a PDF into dark mode: invert colors, keep hues or use a night sepia theme for easy reading.PDF N-UpPrint 2, 4, 6, 9 or 16 PDF pages per sheet with your own order, margins and borders.PDF Booklet MakerTurn a PDF into a print-ready folded booklet: pages imposed 2 per sheet in saddle-stitch order.PDF to Long ImageStitch all PDF pages into one tall PNG or JPG image, with gap, width and page range options.PNG to PDFConvert PNG images to one PDF, keeping transparency or filling it with white or any color.HEIC to PDFConvert iPhone HEIC photos into one PDF in your browser, with page size, margins and reordering.Add Stamp to PDFStamp APPROVED, PAID, DRAFT or custom text with a date onto any PDF page.Remove Blank Pages from PDFFind and delete empty or near-blank pages in a PDF automatically.