Chuyển đến nội dung

Excel sang PDF

Biến các trang tính .xlsx thành bảng dễ đọc, in được.

Xử lý trên thiết bị của bạn

Công cụ này chạy hoàn toàn trong trình duyệt của bạn. Tệp của bạn không bao giờ được tải lên, và bạn có thể tự kiểm chứng điều đó trong tab mạng của trình duyệt. Tự kiểm chứng: mở tab mạng của trình duyệt và theo dõi. Bạn sẽ thấy một yêu cầu nhỏ hỏi xem bạn còn tác vụ nào không - một tên công cụ và một mã băm, không bao giờ là tệp.

Công cụ này làm gì

A spreadsheet has no pages, no margins and frequently no sensible width, so converting one is a series of choices rather than a straight translation. This reads the .xlsx directly, resolves what each cell actually displays, and sets the sheets as tables on paper you pick. The defaults are landscape, fit to width, and the header row repeated after every page break.

Use it when a sheet has to be read rather than worked in: a price list going to a client, a timesheet attached to an invoice, an export from an accounting system that somebody needs on paper, or a table you want to hand over in a form that will not be quietly edited.

Cách hoạt động

  1. Drop your .xlsx files onto this page. Every sheet in each workbook is converted.
  2. Leave the orientation on landscape unless your sheet is unusually narrow - most are wider than they are tall.
  3. Keep fit to width on so the table is set at 9 point and the columns cross the page instead of running off it.
  4. Decide whether to draw grid lines, and whether each sheet's name should be printed as a heading above it.
  5. Raise the column limit under advanced options if your sheet is wider than 20 columns and you want all of them.
  6. Press Convert and the PDF downloads.

Dates are what spreadsheet converters get wrong most often. A date in a .xlsx is a plain number with a number-format attached to it; read the number without resolving the format and every date in the document turns into a five-digit integer. The format is resolved here, in the reader, before anything reaches the layout - which is why 45000 arrives as a date and not as forty-five thousand.

Formulas are read as their last calculated value rather than as formulas, which is almost always what a printed table should show and is also the only honest option: evaluating a workbook's dependency graph would mean implementing Excel's function library. The consequence worth knowing is that a workbook saved without recalculating carries stale values, and the PDF will faithfully reproduce them.

The column ceiling exists so the tool says something rather than shrinks. A sheet forty columns wide, scaled until all forty fit across A4, produces four-point type that nobody can read - so 20 columns is the default and the remainder are left out visibly instead of being crushed in. Raise the limit to 50 if you need to, and think about A3 in landscape at the same time.

Fit to width sets the base type at 9 point instead of 11. That is the whole of what it does, and the bluntness is deliberate: a fixed size you can predict beats an automatic scale factor that comes out differently on every sheet, and 9 point fits roughly a fifth more columns across a page than 11 does.

Each sheet starts on a fresh page by default, and its name becomes both a heading and a bookmark, so a twelve-sheet workbook arrives as a twelve-entry outline. Switch to run on under advanced options and the break between sheets is removed, which is worth doing when the sheets are short enough that each would otherwise waste most of a page.

Công cụ này không làm được gì

  • Charts, sparklines and other drawings on a sheet are not converted. Only cell values and the table structure come across.
  • Cell formatting is reduced to the table's own structure. Fill colours, custom borders and conditional formatting are not reproduced.
  • Columns beyond the limit - 20 by default, 50 at most - are left out rather than the type being shrunk until everything fits.

Câu hỏi thường gặp

Bảng tính của bạn rộng hơn trang giấy. Điều gì xảy ra?
20 cột đầu tiên được chuyển và phần còn lại bị bỏ qua. Bạn có thể nâng giới hạn đó lên 50 trong phần tuỳ chọn nâng cao, nhưng trước hết hãy thử trang nằm ngang kèm vừa chiều rộng, và cân nhắc khổ A3 - một trang tính thực sự cần 40 cột thì cần giấy khổ lớn, chứ không phải phông chữ nhỏ hơn. Các cột vượt giới hạn được báo lại chứ không bị bỏ đi lặng lẽ.
Biểu đồ của bạn có được giữ lại không?
Không. Một biểu đồ trong .xlsx là hình vẽ được mô tả bằng phương ngữ XML riêng và do Excel dựng lúc hiển thị, nên tái tạo nó nghĩa là phải xây lại bộ dựng biểu đồ của Excel. Thứ được chuyển là giá trị ô, định dạng hiển thị của chúng và cấu trúc bảng. Nếu biểu đồ mới là điều quan trọng, hãy chụp màn hình rồi dùng Ảnh sang PDF, hoặc xuất nó từ Excel rồi đóng dấu vào sau.
Công thức có được tính lại không?
Không. Giá trị tính lần cuối của mỗi ô được đọc từ tệp, tức giá trị mà Excel đang hiển thị khi sổ tính được lưu. Thông thường đó chính xác là những gì một bảng in cần chứa. Nếu một sổ tính được lưu mà chưa tính lại, thì PDF sẽ mang đúng những con số cũ như trong tệp - hãy mở nó ra, tính lại, lưu, rồi chuyển lại.
Một sổ tính có nhiều trang tính thì sẽ ra sao?
Tất cả đều được chuyển, theo thứ tự trong sổ tính. Theo mặc định, mỗi trang tính bắt đầu trên một trang mới với tên của nó làm tiêu đề và làm một mục trong mục lục PDF. Đổi thiết lập "giữa các trang tính" thành "nối tiếp" trong phần tuỳ chọn nâng cao thì các chỗ ngắt đó bị bỏ đi, nên các trang tính ngắn nối tiếp nhau thay vì mỗi trang chiếm một tờ.
Bảng tính của bạn có bị tải lên không?
Không. Tệp .xlsx được giải nén và đọc trong một Web Worker trong trình duyệt của bạn, và tệp PDF được tạo ngay tại đó. Điều này quan trọng với bảng tính hơn hầu hết các loại tệp khác, bởi một sổ tính thường chứa nhiều thứ hơn nhiều so với cái bảng bạn định in. Không có gì trong đó đi đâu cả, vì bản thân tệp cũng không đi đâu.

Công cụ liên quan