Skip to content

Free · Reliable output · No signup

Convert CSV to PDF

Create a free PDF table from CSV. Choose page size, orientation and columns, preview the result, then download.

Add as many files as you need. Up to 5 MiB per file. Keep this tab open until your downloads finish.

Batch conversion uses the standard settings. Open Customize a file below to change them.

Conversion starts as soon as you choose files. Files download automatically when ready. Your browser may ask to allow multiple downloads.

Customize a file · settings, paste and edit

CSV → PDF

Free conversion in your browser. Your file stays on this device.

Local processing
8 fictional sales rows · CC0
  1. Choose your CSV

    Open a file, paste CSV text, or try the sample.

  2. Review the layout

    Set page and column options, then Generate PDF preview.

  3. Download

    Save your .pdf file with the current settings.

Source table preview

Example source

example.csv

45 B · 2 rows · 2 columns

ProjectStatus
WebsiteReady
DocsIn progress

Generate a PDF preview to check pagination before downloading.

PDF output supports up to 5 MB, 100,000 cells, 20 selected columns and 200 pages. Preview shows at most three pages. The bundled font supports Latin text; unsupported characters, including some scripts and emoji, are reported before download.

Three simple steps

How to convert CSV to PDF

  1. 1. Open your CSV

    Choose several CSV files and convert them together. For column settings, pasted text or editing, open Customize a file. The first row supplies column headers.

  2. 2. Review the output

    Follow each file’s progress. View opens a short preview without leaving the page; use Customize a file when you need different format settings.

  3. 3. Save your result

    Download the generated .pdf file. Downloads start when files are ready, with a Download button for every result. No signup or payment is required.

Output contract

What the PDF converter writes

A real PDF writer wraps text, repeats headers and paginates the table. Adjust column widths and text size before exporting. Output budgets and unsupported characters are reported before download.

The preview is bounded so larger files stay manageable. Downloads use the complete parsed document within the format limits, including changes made in the editor.

Parsing and conversion happen on your device. Your CSV is not uploaded to a conversion server. An error preserves the current input so you can adjust settings or edit the source and try again.

Other ways to convert CSV to PDF

Prefer a script or command line? These examples run on your computer. They create separate files; review their output rules because external tools can handle types and empty values differently from this page.

Convert a CSV table to PDF with Python and ReportLab

Run this on your own computer using Python 3. Save a UTF-8, comma-delimited input.csv in the same folder as the script. The first record must contain unique, nonempty headers; quoted commas and line breaks are parsed as fields.

Before you start

  • Python 3 installed. Package commands below use a local virtual environment on macOS/Linux; on Windows use .venv\Scripts\python.exe in place of .venv/bin/python.
  • Keep the original CSV. These examples read the complete table into memory and create separate output files.
  1. Save the Python code as convert_csv.py beside input.csv.
  2. Install the listed package when required, then run the script. Check the generated output before using it elsewhere.
Install the Python package
python3 -m venv .venv
.venv/bin/python -m pip install reportlab

Save as convert_csv.py
import csv
from pathlib import Path

with open("input.csv", encoding="utf-8-sig", newline="") as source:
    reader = csv.reader(source, strict=True)
    headers = next(reader)
    rows = list(reader)
if not headers or any(not h for h in headers) or len(set(headers)) != len(headers):
    raise ValueError("Use unique, nonempty column headers")
if any(len(row) != len(headers) for row in rows):
    raise ValueError("Every record must have the same number of fields as the header")

from html import escape
from reportlab.lib import colors
from reportlab.lib.pagesizes import A4, landscape
from reportlab.lib.styles import getSampleStyleSheet
from reportlab.platypus import SimpleDocTemplate, LongTable, Paragraph, TableStyle
style = getSampleStyleSheet()["BodyText"]
page = landscape(A4)
width = (page[0] - 72) / len(headers)
if width < 40:
    raise ValueError("Select fewer columns for a readable PDF")
cells = [[Paragraph(escape(value).replace("\n", "<br/>"), style) for value in row] for row in [headers, *rows]]
table = LongTable(cells, colWidths=[width] * len(headers), repeatRows=1)
table.setStyle(TableStyle([("GRID", (0, 0), (-1, -1), 0.4, colors.grey), ("VALIGN", (0, 0), (-1, -1), "TOP")]))
SimpleDocTemplate("output.pdf", pagesize=page, leftMargin=36, rightMargin=36).build([table])

Run the conversion
.venv/bin/python convert_csv.py

Limits and output

  • Creates a landscape A4 table with repeated headers, wrapped cells and multiple pages. The built-in font does not cover all Unicode; register a suitable licensed TrueType font for your language. Very tall rows may not fit a page. PDF is a visual report, not a lossless table storage format.

Documentation: Python CSV reader and writer; ReportLab documentation

Plain answers

PDF conversion questions

Is this a real PDF file?

Yes. A format-native writer creates a valid .pdf file, not a renamed CSV.

When is the download created?

The output preview appears after parsing. Copy and download generate the complete output with your current settings; the preview can show fewer rows than the exported file.

What happens to data types?

Cells stay as text by default, preserving identifiers and leading zeroes. SQL and SQLite allow explicit column types; invalid values are reported before download.