CSV to PDF
For the times a CSV has to be printed, attached to an email or handed to someone who will not open a spreadsheet. The table is laid out to the page width, long text wraps inside its column instead of running off the edge, the header row is repeated at the top of every page, and every page is numbered. The PDF is built in your browser.
How to convert a CSV to PDF
- Paste the CSV or drop the file. Its name is used as the title and the file name, and you can change the title.
- Pick A4 or Letter and an orientation. A table with many columns usually reads better in landscape.
- Set the font size. Smaller text fits more columns before they have to wrap.
- Click Download PDF. The status line reports how many pages were produced.
How the table is laid out
- Column widths. Each column first asks for the width of its longest line. If they all fit, that is what they get. If not, narrow columns keep their natural width and the wide ones share the rest equally, so a short ID column is never squeezed to make room for a long description.
- Wrapping. Text wraps at spaces; a word longer than its column is broken across lines rather than cut. Line breaks inside a quoted CSV cell are kept. Choose cut with … to keep every row one line high instead.
- Header on every page. With header row ticked, the first row is printed in bold on a shaded band at the top of each page. A row too tall for the rest of a page moves to the next one; a row taller than a whole page is continued across pages.
- Numbers. A column in which every value is a number, amount or percentage is right-aligned so the digits line up.
Fonts and non-Latin text
A PDF can only draw the characters its font contains, and this tool never drops one quietly.
- Helvetica is one of the standard PDF fonts, so it is not embedded and the file stays small. It covers Western European text only (the WinAnsi character set).
- Roboto (Apache License 2.0) is embedded in the file, only the characters actually used, and covers Latin, Greek, Cyrillic and Vietnamese. Automatic uses Helvetica when every character fits it and switches to Roboto when one does not.
- Your own font file (
.ttf,.otf) is embedded the same way. Use it for Chinese, Japanese, Korean or any other script Roboto does not cover — for example a font from the Noto CJK family.
Any character the chosen font cannot draw is printed as ?, and a note under the box lists each one with its Unicode code point and how often it occurs. Arabic, Hebrew and Indic scripts can be drawn with a suitable font, but the letters are placed one by one, left to right, without the joining and reordering those scripts need — the note says so when such text is present.
FAQ
Is the CSV uploaded?
No. The PDF is built in your browser with pdf-lib, which is downloaded from jsDelivr the first time you click the button, along with the Roboto font if it is needed.
Can I choose which columns to print?
Remove or reorder them first with Keep / rename / reorder, or cut the rows down with Filter rows, then paste the result here.
Is the text in the PDF selectable and searchable?
Yes. Every cell is real text, not an image, so it can be selected, copied and found with the viewer's search.
How many rows can it handle?
Thousands of rows are fine; very large files take longer and produce a long document. For a table someone will read on screen, CSV to HTML or CSV to Excel may be the better format.
Privacy
100% client-side. No upload. See the privacy policy.