# CSV to PDF

> A free online tool that turns CSV text or a CSV file into a PDF table, reading the file in your browser.

Paste CSV or open a CSV file and get a PDF table. The file is read in your browser; the header row repeats on every page and column widths follow the content.

## Key facts

- Input: CSV with comma, semicolon, tab or pipe separators (detected from the first line), read as UTF-8; files over 2 MB are not opened.
- Output: a PDF table with the header row repeated on every page, landscape by default, font size 7 to 12 pt.
- Limits: the table HTML must fit within 256 KB, and the free tool prints up to 10 pages. Excel files are not supported and formulas are not evaluated.
- Free without an account: up to 10 conversions per minute and 50 per day per visitor, no watermark. Signed in, each render costs 1 credit (100 free credits every month).
- Files are deleted automatically: 10 minutes after conversion without an account, 1 day with a free account.
- Developers can run the same render with POST https://api.aiipworld.com/v1/render and an API key (see the PDF API page).

## Sources

- [RFC 4180: Common Format and MIME Type for CSV Files](https://www.rfc-editor.org/rfc/rfc4180)
- [PDF Association: ISO 32000-2 (PDF 2.0)](https://pdfa.org/resource/iso-32000-2/)

Last reviewed: 2026-10-15

## How it works

1. Paste CSV text, or open a .csv file from your computer.
2. Check the separator and whether the first row is a header.
3. Choose the paper size, orientation (landscape is the default for wide tables) and font size.
4. Press Convert to PDF and download the file.

## How to convert CSV to PDF

You can convert CSV to PDF without installing software or creating an account. Anonymous use needs a human check, then the file becomes a PDF table you can download.

Each row of your CSV becomes a table row, and each value becomes a cell.

## Wide tables and long tables

Many columns usually read better in landscape, which is the default. Set the font size between 7 and 12 pt. A smaller size fits more columns on a page.

The free tool prints at most 10 pages. Split a very long table into several files if you need more.

## Converting Excel sheets

This tool does not open Excel files. Save the sheet as CSV from your spreadsheet app first. Formulas are not evaluated, so check the values before you convert.

## Separators, quotes and encoding

If the table has one column, or the wrong columns, choose the separator yourself. Fields in quotes can hold separators and line breaks.

## Converting CSV to PDF from code

Build the table HTML in your own code and send it to the API as an html_to_pdf request, with your API key as a Bearer token.

Poll GET /v1/jobs/:id until the job succeeds, then download the file from download_url. Credits for failed and timed-out jobs are returned. There is no batch endpoint, so send one request per document.

## Numbers, alignment and the header row

Columns that hold only numbers are right-aligned, so the digits line up down the column. A column that mixes numbers and words is not a number column, so it keeps the normal alignment.

The tool prints the cell text from your file. Formulas are not evaluated, so save the values from your spreadsheet before you convert. If the first row holds column names, mark it as the header. It then repeats at the top of every page, which helps when a table runs over several pages.

## Reading the file: quotes, separators and encoding

The separator is detected from the first line: comma, semicolon, tab or pipe. If the columns come out wrong, pick the separator yourself. Put a field in double quotes when it holds the separator, such as a comma inside an address. A line break inside quotes stays inside one cell, and two quote marks inside a quoted field show as one.

The tool reads the file as UTF-8. If your export uses another encoding, some letters can come out wrong, so save the file as UTF-8 in your spreadsheet app or text editor first. A file over 2 MB is not opened, so split a very large export into parts.

## Questions

### Is my CSV file uploaded?

The file is read and turned into an HTML table in your browser. The table (not the original file) is sent to our API to be printed as a PDF. The PDF is deleted after 10 minutes.

### Does the header row repeat on every page?

Yes, when the first row is marked as a header. We checked this with a 48-row sample that runs to two pages.

### How are column widths decided?

By the content, like an HTML table. Long text wraps inside its cell. Columns that contain only numbers are right-aligned.

### Which separators are supported?

Comma, semicolon, tab and pipe. The tool guesses from the first line, and you can set it by hand. Quoted fields, doubled quotes and line breaks inside quotes are handled.

### Can I convert an Excel file?

Not directly. Save the sheet as CSV from Excel or your spreadsheet app first. Formulas are not evaluated; the CSV holds the values.

### How large can the CSV be?

The table HTML must fit within 256 KB, and the free tool prints at most the first 10 pages. Files over 2 MB are not opened. For larger tables use the API.

### Why do some characters look wrong?

Files are read as UTF-8. If the file was saved in another encoding, re-save it as UTF-8 from your spreadsheet app.

### Can I choose which columns appear in the PDF?

No. The tool prints every column in the CSV. Remove the columns you do not want, save the file again, and convert it.

### Can I add a title or totals to the PDF?

No. The tool prints the rows of your CSV as a table. Add any totals as rows in the CSV before you convert.

### Why are all my columns in one?

The separator is probably wrong. The tool guesses it from the first line, so choose the one your file uses, such as semicolon or tab.

### Can I convert multiple CSV files at once?

Not in the free web tool, which takes one file at a time. With the API, send one request per file.

### Why does my PDF stop after a few pages?

The free tool prints no more than 10 pages. If your table is longer, split the CSV into smaller files, convert each one, and keep the header row in every part so each PDF reads on its own.

### Why are my numbers on the right?

Columns that hold only numbers are right-aligned, which makes them easier to compare. A column that has text in any row keeps the normal alignment.

## Related

- [HTML to PDF converter](https://aiipworld.com/tools/html-to-pdf/index.md)
- [Invoice to PDF](https://aiipworld.com/tools/invoice-to-pdf/index.md)
- [URL to PDF](https://aiipworld.com/tools/url-to-pdf/index.md)
- [JSON to PDF](https://aiipworld.com/tools/json-to-pdf/index.md)
- [Text to PDF](https://aiipworld.com/tools/text-to-pdf/index.md)
- [PDF generator API](https://aiipworld.com/pdf-api/index.md)
- [Markdown to PDF](https://aiipworld.com/tools/markdown-to-pdf/index.md)
- [Free Receipt Maker: Create a Receipt PDF](https://aiipworld.com/tools/receipt-maker/index.md)
- [Free Chart Maker for Seven Chart Types](https://aiipworld.com/tools/chart-maker/index.md)
- [Excel to PDF](https://aiipworld.com/tools/excel-to-pdf/index.md)
- [Price List Template](https://aiipworld.com/tools/price-list-template/index.md)

Page: https://aiipworld.com/tools/csv-to-pdf/
