Excel to PDF

Turn an Excel workbook into a PDF table — every sheet, with dates and formula results intact.

Choose an Excel workbook

Browse files

or drag and drop · .xlsx up to 50MB

Processed on your device. This file is never uploaded.

  1. 1Drop your .xlsx file into the box above — it stays on your device.
  2. 2Choose landscape, header row and whether to include every sheet.
  3. 3Convert and download the PDF.

A spreadsheet is data; a PDF is a document

Sending a workbook sends a working file: formulas someone can break, columns they can hide, numbers they can change. Sending a PDF sends a statement of what the numbers were. That is why finance, procurement and reporting workflows all end in a PDF even when the work was done in Excel.

It also solves the plainer problem of the recipient not having Excel, or opening it on a phone where a wide sheet is unreadable.

Reading .xlsx without a spreadsheet engine

An .xlsx file is a zip archive of XML. That is what makes this possible in a browser: the workbook lists its sheets, a relationship file maps them to their worksheet XML, and each worksheet holds its cells. Text is stored once in a shared-string table and referenced by index, because spreadsheets repeat themselves enormously.

All of that can be read with the zip library and XML parser already present, which keeps the tool light. What a full spreadsheet library would add — formula evaluation, charts, pivot tables — is not needed when the destination is a printed table.

The date problem

Excel has no date type. A date is a number — days elapsed since the start of 1900 — and the only thing marking it as a date is the cell's number format. Convert naively and every date in your document prints as a five-digit number.

So the workbook's style table is read, the cells whose format is a date or a time are identified, and those numbers are converted back into readable dates. The conversion even reproduces Excel's famous 1900 leap-year bug, because every spreadsheet in existence depends on it and dates would otherwise land a day out.

Wide sheets

Columns are given equal width, since the widths you set in Excel are about screen space rather than paper. Landscape is on by default and makes a real difference; narrow margins add a little more. Past a dozen or so columns, though, a table stops fitting on a page in any orientation — at that point the honest answer is to split the sheet.

Common uses

  • Sending a report as a fixed document rather than a live file
  • Attaching figures to an application or a submission
  • Printing a sheet from a machine with no spreadsheet software
  • Archiving a monthly export in a format that will still open
  • Sharing data with someone who should not edit it

Privacy

The workbook never leaves your device. Given what spreadsheets tend to contain — salaries, pricing, customer records — that matters more here than almost anywhere else on this site.

Frequently asked questions