How to use it
- Choose a CSV file, drop it on the box or paste the text.
- Check the delimiter and set the paper, the orientation and the font size; add a title if you like.
- Look at the preview of the first rows and at the notes under it.
- Download the PDF.
Rules and limits
How CSV is read
- Delimiter: comma, semicolon, tab or vertical bar, detected from the first rows, or set by you.
- Fields in double quotes may contain the delimiter, line breaks and quotes written as two quotes (
""), as in RFC 4180. Line endings CRLF, LF and CR all work. Completely empty lines are skipped. - Encoding: UTF-8 with or without a byte order mark, and UTF-16 with a byte order mark. A file that is not valid UTF-8 is read as Windows-1251 when its letters look Cyrillic, otherwise as Windows-1252, and the result names the encoding. Files that are not text (a workbook, a Word document, a PDF, a picture, a gzip file or other binary data) are refused with a message that says what they are.
How the PDF table is made
- Every row and every cell is in the PDF, in the order of the file. The first row is the header (switch it off if your file has none): bold, on a grey band and repeated at the top of every page.
- Columns are as wide as their longest line if the table fits; otherwise short columns keep their width and long ones share the rest, and their text wraps between words (a very long word is broken). A row too tall for the rest of a page continues at the top of the next one.
- Columns with numbers only are aligned to the right. Line breaks inside a cell are kept; tabs become spaces.
- Pages: A4 or US Letter, margins of 36 pt (12.7 mm), page numbers at the bottom. “Automatic” orientation takes landscape when the first 500 rows need fewer pages that way.
Font and characters
- The text is set in Noto Sans (regular and bold), which covers Latin, Greek and Cyrillic, and only the letters used are embedded in the PDF. The text can be searched and copied.
- Characters that Noto Sans does not have (for example Chinese, Arabic, Hebrew or emoji) and control characters are shown as � and listed under the preview with the row and column where they first appear.
- The text is written in composed form (NFC), so letters with accents look the same however the file stored them.
Limits
- Tested in Chrome on a laptop: 10,000 rows of 6 columns (205 A4 pages) in 7.5 seconds and 100,000 rows (2,041 pages) in 17 seconds, from choosing the file to the result; phones have less memory and may stop sooner.
- At most 100,000 rows and 1,000,000 cells. A column needs at least 2.5 times the font size plus 6 pt: at 9 pt, 18 columns fit across a portrait page (A4 or US Letter), 27 across a landscape A4 page and 25 across a landscape US Letter page.
Questions and answers
Why do some characters show as � in the PDF?
The PDF uses Noto Sans, which has Latin, Greek and Cyrillic letters but not, for example, Chinese, Japanese, Arabic, Hebrew or emoji. The page lists every such character with the row and column where it first appears, so nothing disappears without notice. Keep those columns out, or use a spreadsheet program with fonts for those scripts.
Can I search and copy the text in the PDF?
Yes. The text is real text with the font embedded, not a picture, so PDF readers can search it, copy it and read it aloud.
My table is too wide. What can I do?
Choose landscape or a smaller font size. Columns share the width of the page and their text wraps; when even the narrowest columns do not fit, the page says how many columns fit at that font size.
Is my file uploaded?
No. Your browser reads the CSV and writes the PDF on your device, and the page cannot send anything anywhere.