CSV is the export format of almost every system: accounting software, e-commerce order lists, CRM contacts, bank transactions, form responses. It is excellent for moving data between programs and terrible for reading. Open a CSV in a text editor and you see a wall of commas; print it and you get lines running off the edge of the page. Even opening it in a spreadsheet can go wrong, with everything crammed into column A.
This guide explains what a CSV actually contains, the delimiter and quoting rules that trip people up, how to turn raw CSV or TSV data into a tidy PDF table in your browser, and how spreadsheet software and the command line compare.
What is inside a CSV file
CSV stands for comma-separated values. Each line is a row, and within a row, fields are separated by a delimiter. The common conventions (described in RFC 4180 for the comma variant) are:
- Fields containing the delimiter, quotes or line breaks are wrapped in double quotes, for example
"Globex, Ltd.". - A double quote inside a quoted field is written twice:
"The ""Pro"" plan". - The first row is often, but not always, a header with column names.
What CSV does not include is just as important: no column widths, no fonts, no page size, no data types. A number, a date and a product code are all just text.
Comma, semicolon or tab?
In many European locales the comma is the decimal separator (12,50), so spreadsheet programs there export CSV with semicolons instead. Tab-separated values (TSV) are common too, and are what you get when you copy cells from a spreadsheet. Some systems use the pipe character |. If a program guesses the wrong delimiter, every row lands in one column. That is the "CSV opens in one column" problem.
Convert CSV to a PDF table in your browser
Our CSV to PDF tool turns raw delimited text into a formatted multi-page table. The data is processed on your device.
- Open CSV to PDF. Paste data into CSV or TSV data, click Open CSV file to load a
.csv,.tsvor.txtfile, or click Sample to try an example order list. You can also copy cells straight from a spreadsheet and paste them. - Check the Delimiter. Auto-detect works for most files; choose Comma, Semicolon, Tab or Pipe if the preview shows columns merged together.
- Choose a Paper size: A4, US Letter, US Legal, or A3 (wide tables).
- Pick a Font size. Smaller sizes fit more columns.
- Optionally type a Title, such as "Q1 orders", printed at the top.
- Set the switches: First row is a header, Landscape, Striped rows and Stretch to page width.
- Review the preview of the first rows, then click Convert to PDF.
The tool measures your data to size each column, caps very wide columns so one long field cannot take over the page, and wraps long text inside cells. Columns that are mostly numbers are right-aligned so figures line up. When the table runs over several pages, the header row is repeated at the top of each one, and every page gets a "Page X of Y" footer.
Standard PDF fonts only cover the Latin alphabet, so characters from other scripts are replaced with a question mark. The tool tells you how many were affected.
Other ways to print CSV data
Open it in a spreadsheet
Excel, Google Sheets, LibreOffice Calc and Numbers all open CSV files. From there, you can format columns, sort and filter before printing or exporting to PDF. If you need to calculate totals or hide columns, this is the better route. If the data lands in one column, use the program's import feature (in Excel, the Data tab's text or CSV import) and choose the delimiter explicitly.
Excel files instead of CSV
If your data is already an .xlsx workbook, Excel to PDF reads it directly and lets you choose a sheet.
Command line
On Linux and macOS, column -s, -t < data.csv lines up simple CSV files in the terminal, which you can then print. It does not understand quoted fields containing commas, so it is only reliable for simple data. Scripting languages such as Python can produce proper reports, but that is more effort than most one-off printing needs.
Tips for readable CSV tables
Too many columns
If a table has twenty columns, no page size will make every field comfortable to read. Remove unneeded columns in a spreadsheet first, or choose A3 landscape with a small font.
Garbled accented characters
If names like "Müller" appear as "Müller", the file's text encoding was misread. Re-export the CSV as UTF-8 from the source system when possible.
Leading zeros and long numbers
Because this tool treats values as text, product codes like 00123 and long reference numbers keep their exact form. Spreadsheets sometimes strip leading zeros or turn long numbers into scientific notation.
Need JSON or SQL instead?
For developers, the same data can become JSON with CSV to JSON or database inserts with CSV to SQL.
Just want to look at it?
To browse a CSV without printing, open it in the CSV & Excel Viewer.
Frequently asked questions
Why does my CSV open in one column?
The program guessed the wrong delimiter. Semicolon-separated files are common in many countries. Choose the delimiter explicitly when importing, or let the converter detect it.
How do I repeat the header on every printed page?
Keep First row is a header switched on. The header row is drawn at the top of each new page.
Can I convert TSV or data copied from Excel?
Yes. Pasted spreadsheet cells are tab-separated, and auto-detect recognises them.
Will long text be cut off?
Normally no. Long values wrap onto extra lines inside the cell, so the row becomes taller. Only a single cell too long to fit on a whole page is shortened.
Is my data uploaded?
No. Parsing and PDF creation happen in your browser.