Skip to main content

CSV to PDF

Convert a CSV file into a downloadable, paginated PDF table. Paste CSV or upload a file, auto-detect the delimiter, and convert entirely in your browser — nothing is uploaded.

Input

Drop a file or browse
One file · text

Read as UTF-8 text and dropped straight into the box above.

Renders the first row in bold and repeats it at the top of every page.

Output

Your PDF will appear here to download.
Was this helpful?

Guides

Turn a CSV file into a clean, paginated PDF table you can share, print or archive. Paste CSV data or upload a .csv file, and download the result — all in your browser.

How to use it

  1. Paste your CSV data into the box, or drop a .csv file to load it there.
  2. Open Page options to set the delimiter (auto-detected by default), whether the first row is a header, the page size, orientation, font size, and whether alternating rows are shaded.
  3. Press Convert to PDF, then download table.pdf.

Free in your browser, private by default

The PDF is built entirely on your device — your CSV data is never uploaded. Columns are auto-sized from the actual cell content, the header row (if any) repeats at the top of every page, and long tables automatically flow across as many pages as they need.

How does column width work?

Each column is sized from the widest cell it actually contains, then scaled to fill the page — a column of short codes stays narrow while a column of long descriptions gets more room. If a table is too wide to fit even after scaling, cells wrap onto multiple lines rather than getting cut off.

What if my table has a lot of columns?

Leave Orientation on Auto — tables with more than 6 columns switch to landscape automatically, giving wide tables more horizontal room. You can still force portrait or landscape yourself.

Is there an API?

Yes. The same tool is available as a developer API (POST /v1/tools/csv-to-pdf) for converting CSV data from a script or backend. Send the CSV as a string; the response carries the PDF as a data URL. The in-browser tool on this page stays free.

I need to clean up the CSV first, or convert it to something else

Use the CSV Formatter to fix delimiters, quoting and stray whitespace before converting. To turn a CSV into a spreadsheet file instead of a PDF, use the CSV to Excel Converter.

csv to pdfcsv converterspreadsheet to pdftable to pdfexport csvcsv fileprint csvdata table

Use it from code

From 3 credits per call

REST API

curl -X POST https://api.iotools.cloud/v1/tool/csv-to-pdf \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "csv": "Name,Age,City\nAlice,30,New York\nBob,25,Boston\nCa…",
    "delimiter": "auto",
    "hasHeader": "true",
    "pageSize": "a4",
    "orientation": "auto",
    "fontSize": "9",
    "zebraStripes": "true"
  }'

Swap in your own key from your account. The tool's fields are the body — no wrapper.

Ask an AI agent

Use the IOTools `csv-to-pdf` tool (CSV to PDF) on this input:

YOUR_INPUT_HERE

Paste this at any agent connected to the IOTools MCP server, then add your input.

Love the tools? Lose the ads.

One payment clears every ad from your account, for good. No subscription, no tracking.