WHY THIS ONE IS NOT HERE

A spreadsheet is a calculation, not a page

An .xlsx is a zip of XML holding cell values, formulas, a shared string table, number formats, styles, conditional rules and a print-area definition. To turn it into a PDF you have to evaluate every formula in dependency order, format each result the way the sheet says, decide which columns fall on which page, and repeat the print titles. That is a spreadsheet application, and a browser tab does not have one.

THE HONEST PATH

Print from the app, or rebuild the table here

If the requirement is “this exact sheet, with its colours and its merged cells, as a PDF”, the right tool is the one that drew it: File → Print → Microsoft Print to PDF, or Export as PDF in LibreOffice. Those respect the page breaks, repeated headers and scaling you set deliberately.

If the requirement is “a clean table of these values for a report”, CSV to PDF is often the better result: the same data, set in a consistent typeface, with a header row on every page and no grey gridlines nobody asked for. Columns are sized from their content, quoted cells keep their embedded commas, and the separator is detected from the first line, so a semicolon-separated export from a European locale behaves.

QUESTIONS

Excel to PDF — common questions

Will CSV to PDF keep my formulas?

No, and no format except a spreadsheet can. A CSV carries the last calculated values as text. If a cell showed a percentage and you need a percentage, format it in the sheet before exporting or in the spreadsheet afterwards.

What about colours, borders and charts?

They are lost at the CSV step, because a CSV is values only. A chart is a picture: export or screenshot it as an image and place those pages through Image to PDF, then merge that with the table.

My sheet has forty columns. Will it fit on A4?

Not at a readable size. Landscape helps, a smaller base text size helps, and beyond that the sheet belongs in a spreadsheet print dialog where you can set fit-to-one-page-wide — a scaling decision a table layout here deliberately does not make.

Is there really no JavaScript library that reads xlsx?

There are readers, and reading is not the problem. Rendering a workbook faithfully means the calculation engine, the style cascade and the print model as well, and shipping all three would break the size this site keeps to.

Why not upload the file to a conversion server?

Spreadsheets are the documents that most often contain other people’s personal data. This site has no server, which is why the statement that your file is never uploaded is a fact rather than a policy.

KEEP GOING

Related free tools