TapCub is live — analytics, insights and live chat, free on one platform

Text to PDF · CSV CSV to PDF: print a spreadsheet export as a clean table

CSV files from analytics tools, CRMs and spreadsheets are hard to read as raw text. Open one here to get a PDF table with sized columns, a bold header row that repeats on every page, numbers aligned to the right, and landscape pages for wide data. The file never leaves your browser.

  • Files stay on your device
  • Header row on every page
  • Comma, tab, semicolon

Convert CSV to PDF

Type or paste text, or open a file. Set the layout and click Create PDF; the file downloads straight away.

Create

Opening a .csv or .md file switches this automatically.

Type or paste text above, or open a file. Then click Create PDF.

Landscape fits wide tables with many columns.

English and Western European text uses the standard PDF fonts. Chinese and other characters use Noto Sans SC (SIL Open Font License), loaded only when needed; only the characters you use are embedded.

How much text fits on a page

With normal 1 inch (25.4 mm) margins and 1.4 line spacing. Chinese characters are all one em wide, so the count per line is exact.

How much text fits on a page
Font sizeLines per A4 pageLines per Letter pageChinese characters per A4 line
10 pt494645
11 pt454241
12 pt413837
14 pt353332

Lines per page = (page height − top and bottom margins) ÷ (font size × line spacing), rounded down. An average English line at 11 pt holds about 80 to 90 characters.

Your files never leave this device: they are read and converted by your browser, and nothing is uploaded to TapCub or anyone else. To check, open your browser’s developer tools, go to the Network tab and run the tool: no file is sent.

Version v1.0Updated Update history

Read the result

What the PDF looks like

The PDF is real text, not an image, so it can be searched, selected and copied.

Line wrapping

Long lines wrap at the right margin without splitting English words. Very long strings such as URLs are broken where they hit the margin. Blank lines and leading spaces are kept.

Chinese, Japanese and Korean

East Asian text can break between any two characters, and punctuation such as ,。)never starts a line. Characters outside the Latin set use Noto Sans SC; rare characters that the font does not contain are shown as □ and listed.

Pages

At 11 pt with normal margins an A4 page holds 45 lines. Page numbers sit centred in the bottom margin as “1 / 5”.

File size

Latin-only PDFs use the built-in PDF fonts and are usually a few kilobytes. With Chinese, only the characters used are embedded, so a page of Chinese text is typically tens of kilobytes rather than the full font size.

Need to combine the result with other PDFs? Use merge PDF; to turn the PDF back into text, use PDF to text.

How to use it

Convert text to PDF in four steps

The defaults (A4, normal margins, 11 pt, page numbers) suit letters, notes and reports.

  1. 1

    Add the text

    Paste it into the box or open a .txt, .csv or .md file. The encoding is detected for you.

  2. 2

    Check the content type

    Plain text keeps your lines as typed; CSV becomes a table; Markdown turns # into headings and - into lists.

  3. 3

    Set the page

    Pick A4 or Letter, the margins and the font size. Use Landscape for wide tables and Monospace for code.

  4. 4

    Create the PDF

    Click Create PDF. The file downloads at once; adjust the settings and create it again if needed.

How it works

How the text is laid out

The tool measures each word with the font that will draw it, fills lines up to the margin, and moves to a new page when the next line would cross the bottom margin. pdf-lib then writes the PDF in your browser.

  • Usable width = page width − 2 × margin; an A4 page with 1 inch margins leaves 451 pt (159 mm)
  • Line height = font size × line spacing; lines per page = usable height ÷ line height, rounded down
  • Breaks are allowed after spaces and between East Asian characters; closing punctuation stays with the character before it
  • Text files are read as UTF-8 by default; a byte-order mark selects UTF-8 or UTF-16, and files that are not valid UTF-8 are tried as Chinese GBK (GB18030) before Windows-1252
  • CSV columns get the width of their longest cell; if the table is too wide, columns shrink in proportion and cells wrap
Which settings to pick
DocumentSettingsWhy
Letter, notes, essayA4 or Letter, 11–12 pt, normal marginsComfortable to read and print
Code, logs, config filesMonospace, 9–10 pt, narrow marginsColumns line up; long lines wrap less
Spreadsheet export (CSV)Landscape, 9–10 pt, header row onMore columns fit; header repeats on each page
Draft for commentsDouble line spacingRoom for handwritten notes
Worked example

How many pages will 3,000 lines of text take?

A plain-text log of 3,000 short lines, printed on A4 with normal margins.

Lines and pages
StepCalculationResult
1. Usable height841.89 − 2 × 72697.89 pt
2. Line height at 12 pt, 1.412 × 1.416.8 pt
3. Lines per page697.89 ÷ 16.8, rounded down41
4. Pages3,000 ÷ 41, rounded up74 pages

At 10 pt the same log needs 62 pages (49 lines each); with compact 1.2 spacing it drops further. Lines longer than the page width wrap and add to the count.

Common mistakes

Where text to PDF goes wrong

Most problems come from the file encoding or from content that is wider than the page.

Garbled characters

Text saved by old Windows programs is often not UTF-8. The tool detects GBK and Windows-1252; if the preview looks wrong, re-save the file as UTF-8.

Wide tables in portrait

A CSV with ten columns squeezed onto a portrait page wraps every cell. Switch to Landscape and a smaller font.

Proportional font for code

Indentation and aligned columns only line up in a monospace font. Choose Monospace for code, logs and fixed-width reports.

Uploading private notes

Online converters usually upload your file. This tool makes the PDF in your browser, so the text never leaves your device.

FAQ

Text to PDF questions

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

How are the column widths chosen?

Each column starts at the width of its longest cell. If the table is wider than the page, narrow columns keep their width and wide ones shrink in proportion; long cells wrap onto several lines.

Which delimiters are supported?

Comma, tab, semicolon and pipe are detected automatically, and quoted fields with commas or line breaks inside are read correctly (RFC 4180).

Why are some columns right-aligned?

Columns where nine in ten cells are numbers, prices or percentages are aligned to the right so the digits line up.

My CSV has too many columns. What can I do?

Use Landscape, a 9 pt font and narrow margins. If it is still too wide, remove columns you do not need in your spreadsheet first, or split the export.

Changelog

Update history

New features, fixes and data refreshes for this tool, newest first.

  1. · v1.0

    LaunchedFirst release.

Missing something or found an error? Tell us — requests that come up often go into the next update. All tool updates

Next step

Analytics that keep personal data out

TapCub counts visits without cookies and never stores IP addresses, with a compliance centre for stricter regions.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics