Excel to PDF

Published Updated

Print the values of one Excel sheet, or all of them, as a plain table and save it as a PDF from your browser's print dialog.

Values in a clean table, saved through the print dialog

The workbook is read with SheetJS and each cell's displayed text, with its number format applied, goes into a plain HTML table. The tool then opens your browser's print dialog, where Save as PDF writes the file. Text in the PDF stays selectable.

It is a quick way to share the numbers in a sheet. It is not a replica of how the sheet looks in Excel.

Spreadsheet features and what happens to them

Several rows below were checked with the SheetJS version the site uses (0.20.3) on a test workbook:

In the workbookIn the PDF
Text and numbersPrinted as displayed, for example $12.50
DatesFormatted by SheetJS; the built-in short date shows as 10/27/26 whatever your region
FormulasThe stored result; blank if the file stored none
Hidden rows and columnsPrinted
Merged cellsText in the first cell, the others empty
Colours, fonts, column widthsReplaced by Arial, black text, grey borders
Charts, images, commentsNot printed
Print area, headers, footersIgnored

SheetJS does not compute formulas itself; its formula notes say so plainly.

How dates, times and number formats print

We converted a generated workbook (written with SheetJS 0.20.3) in Google Chrome 156, Chromium 153 (Playwright build, not Google Chrome), Firefox 155 and Playwright's WebKit build (not the Safari app). The printable page held the same text in all four; an .xls copy of the workbook gave the same text as the .xlsx.

Cell value and Excel formatPrinted as
10 March 2026, yyyy-mm-dd2026-03-10
11 March 2026, d mmm yyyy11 Mar 2026
13 March 2026, dddd, mmmm dFriday, March 13
14 March 2026, m/d/yy3/14/26
15:30, h:mm AM/PM3:30 PM
1234567.891, #,##0.001,234,567.89
0.000123, 0.00E+001.23E-04
-45, #,##0;(#,##0)(45)
2.75, # ?/?2 3/4
123, 0000000123
TRUETRUE
1/3, no format (General)0.333333333

So the format codes in the file decide what you see, including leading zeros and brackets for negatives.

Wide sheets, long sheets and every sheet in one PDF

The tool fits the table to the page width, but a sheet with many columns needs more room: our 30-column sheet laid out 1,738 to 1,739 pixels wide in a frame 720 pixels wide, about the printable width of a Letter or A4 page.

We then printed the tool's page to PDF with Chrome 156 and Chromium 153 themselves (Letter paper, 0.4-inch margins, default scale) and read the PDFs back:

What was printedPDF pagesText size
Sheet of 19 rows and 8 columns19.6 pt
30 columns x 15 rows1, shrunk to fit, no column cut off6.4 pt
2,001 rows x 4 columns49 (about 41 rows a page)9.6 pt
All Sheets: the three sheets above plus one hidden sheet366.4 pt on every page (headings 8.8 pt)

The shrink applies to the whole print job, so one wide sheet makes all the others small when you choose All Sheets. A sheet hidden in Excel is listed in the sheet menu and printed with All Sheets, under its own heading.

Saving a sheet as PDF

  1. Step 1

    Add an .xlsx or .xls file

    SheetJS reads the workbook in the page. The sheet menu lists every worksheet, plus All Sheets.

  2. Step 2

    Pick a sheet and convert

    The sheet's displayed values are laid out as a plain bordered table and your browser's print dialog opens.

  3. Step 3

    Save as PDF

    In the dialog pick Save as PDF as the destination, then paper size and orientation. The Save / Print PDF button brings the dialog back.

Better routes for some files

  • The data matters more than the page: XLSX to CSV.
  • A table you have as JSON: JSON to Excel, then print from Excel.
  • A Word document instead: DOCX to PDF uses the same print-dialog route.

Excel to PDF questions

Will the PDF look like my spreadsheet?

Only the values come across. Cells are printed as a simple table in Arial with thin grey borders, so fills, font colours, bold, column widths, charts, images and conditional formatting are not shown. Number formats are applied by SheetJS, so currency and percentages keep their symbols; dates in Excel's built-in short format come out as month/day/year.

Why do formulas show a blank or an old value?

Formulas are not recalculated here; the tool prints the result that was saved inside the file. A workbook written by a program that does not store results, or one saved before recalculating, shows those cells blank or out of date. Open it in Excel, recalculate and save first.

Are hidden rows printed?

Yes. Hidden rows and columns are included, and a merged cell shows its text in the first cell with the others left empty. Delete or unhide what you do not want before converting.

How do I fit a wide sheet on one page?

The table takes the page width and long text wraps inside its cell, but many columns still need more room than a page has. Printing a 30-column test sheet to PDF in Chrome 156 shrank it onto one Letter page at two-thirds of the normal text size. For larger text, switch to landscape or a larger paper size in the print dialog; very wide sheets are easier to read split into narrower sheets.

Can I print every sheet into one PDF?

Yes. Choose All Sheets in the menu. Each sheet starts on a new page with its name as a heading.

Does it use my Excel print area and page setup?

No. Print areas, page breaks, headers, footers and repeated title rows set in Excel are ignored. Page size, margins and orientation come from your browser's print dialog.

Will a sheet I hid in Excel end up in the PDF?

Yes, if you choose All Sheets. Hidden sheets are listed in the sheet menu like the others and are printed with their name as a heading. Pick the sheets you want one at a time, or delete the hidden sheet in a copy of the workbook first.

How many pages will a long sheet take?

In our test a sheet of 2,000 rows and 4 short columns printed as 49 Letter pages in Chrome 156, about 41 rows a page at the default margins. Every row is printed; the tool has no row limit of its own and no repeated header row on later pages.

Why is the text tiny when I print all sheets?

In Chrome 156 and Chromium 153 the print shrank the whole job to fit its widest page: with a 30-column sheet in the workbook, every sheet printed at 6.4 pt instead of 9.6 pt. Print the wide sheet on its own and the others separately.

Can I convert an old .xls file?

Yes. The tool accepts .xls (Excel 97-2003) as well as .xlsx, and an .xls copy of our test workbook printed the same text as the .xlsx file.

Related Tools