How to Adjust Page Margins When Converting Excel to PDF

Explain how to adjust margins, centering, and paper orientation in Excel before exporting to PDF to fix tables that touch the page edges, have excessive whitespace, or get truncated, and give a method for checking the output after export.

Key Points of This Article

  • Margins that are too small make printed or exported text easily touch the edge or get cropped; margins that are too large waste paper and may also push tables onto the next page.
  • For wide tables, switch to landscape orientation first, then adjust the margins, and only consider scaling down the content as a last resort.
  • Set the print area first, removing blank columns and extra rows, so that margins are not taken up by unrelated content.
  • Before exporting, use print preview to confirm the page break positions; after exporting, open the PDF and check the edges and header rows page by page.

Many people export an Excel spreadsheet to PDF and find that the text sits right against the edge of the paper, the rightmost columns are cut off, or large blank areas are left around the edges while the table is split across several pages. Most of these problems are related to page margins. How to adjust page margins when converting an Excel table to PDF is a step that is easy to overlook before exporting, yet it strongly affects how the finished document looks.

This article is for people who need to hand off spreadsheets such as quotations, financial statements, course timetables, and data lists for printing or archiving. After reading it, you will be able to decide which page margins your spreadsheet should use, know where to change them in Excel and how to preview the result after making changes, and quickly check for omissions after exporting.

The methods below rely only on Excel's built-in page setup and general PDF proofreading practices. The article does not refer to any specific conversion website or plug-in, and it applies to most versions of desktop office software.

How do I adjust page margins when converting an Excel sheet to PDF? One-line answer

First, set the margins in Page Setup based on the table's width and its purpose. Then use Print Preview to check the page breaks, and finally export to PDF. In most cases, changing the paper orientation and the print area works better than simply reducing the margins.

Your situationRecommended PracticesCause
The table is very narrow, with only a few columns, and there is too much blank space around it.Use narrower or custom margins, and turn on horizontal centeringThe content is more compact, the layout looks balanced, and paper utilization is higher.
The table is very wide, and the columns on the right are cut off.Switch to landscape orientation first, then reduce the left and right page margins.Provide more width horizontally, which is clearer than simply reducing the font size.
The table has dozens of rows, and the page breaks are in a mess.Adjust the top and bottom page margins, and set the print title rowsThe table header appears on every page, so the page breaks don't make it hard to read.
The text sits right against the edge of the paper, as if it had been cropped.Increase the page margins, leaving at least enough space for the printer to feed paper properly.When the margins are too small, some printers and exported results will crop the edge content.
The table contains many blank columns or outdated data.Set the print area first, selecting only the range you want to export.Avoid unrelated areas occupying the page; adjusting margins only makes practical sense then.

Before You Begin: Confirm These Points First

First, determine the paper size and purpose. If the PDF is to be printed on A4 paper, set it to A4 specifications; if it is only for reading on screen, the paper size matters less, but it is still advisable to keep it consistent with common printing standards for convenient printing later.

Check the actual width of the table. No matter how sensible the margins are, columns that extend beyond the width of the paper won't fit. You can first scroll right in Excel to view the columns on the right, or check the print preview for dashed page-break lines, to decide whether the problem can be solved by adjusting the margins or whether you need to switch to landscape orientation or scale the content down.

Check the table for blank areas. Many tables have formatting, notes, or empty cells outside the data area, and this content gets counted in the print range. First clear the extra rows and columns, or set a print area; otherwise, no matter how you adjust the page, blank content will cause abnormal page breaks.

Decide early whether headers and footers are needed. Headers and footers are related to page margins: their distance from the edge of the paper affects the space available for the body text. If you want to keep page numbers, the date of preparation, or the unit name, check their positions as well, so that they do not overlap with table content.

If the document is a formal file for others to use, leave time for review. After changing the page settings, the numbers and formulas themselves do not change, but page break positions may shift, causing total rows to be split or table headers to not appear on the first page. Before formally issuing it, it is recommended to check the whole document thoroughly.

Steps to Adjust Page Margins in Excel and Export to PDF

  1. Open the target worksheet and go to Page Setup. In the Page Layout options of Excel, find the Page Setup entry. Once opened, tabs for paper, margins, headers and footers, and so on will appear.
  2. Choose the paper size and orientation. Use portrait when the table is narrow; switch to landscape when there are many columns and the width exceeds the paper. After setting the orientation, adjust the margins, because changing the orientation changes the usable width.
  3. Set the margin values. You can use the system's preset Normal, Wide, or Narrow margins, or enter the top, bottom, left, and right values manually. It is advisable to confirm in Print Preview that the text still has a safe distance from the paper edges.
  4. Set the header and footer distances. If the header and footer contain a lot of content, increase their distance from the paper edge appropriately so they do not overlap the top or bottom of the table.
  5. Select the centering options. In the margin options, you can choose horizontal centering and vertical centering. When the table is short and fills only half a page, vertical centering makes the layout more balanced; when the table is narrow, horizontal centering reduces the problem of excessive blank space on one side.
  6. Set the print area and print titles. Select only the cell range you want to export, and set the header row to repeat on every printed page. For multi-page tables, this step keeps the column headings on subsequent pages.
  7. Open Print Preview to check the page breaks. Look page by page at the table edges, the position of the header, whether the total row has been split, and whether the page numbers and headers display correctly. If the page breaks are unsatisfactory, go back to the earlier steps and fine-tune the margins or the scaling ratio.
  8. Export as PDF. After confirming the preview is correct, choose Export or Save As and select PDF format, then save to the desired location. Before exporting, double-check the file name to avoid overwriting the original Excel file.

Verify item by item after completion

After exporting, don't just check the first page. It's recommended that you open the PDF page by page and check it against the checklist below.

Inspection itemHow do you see it?What should I do if I have a problem?
Is the edge text being cropped?Zoom in to inspect all four edges of each page, especially the right column and the last row.Increase the page margins for the corresponding direction, or switch to landscape orientation and export again.
Do table headers appear on every page?Turn to page 2 and beyond, and check whether the column headers repeat.Go back to Excel's settings to set the print titles row, then re-export.
Are the total row and subtotals split apart?Check whether the data is complete before and after the pagination point.Adjust the page margins or line spacing, and if necessary manually insert page breaks at the appropriate positions.
Does the header/footer overlap the table?Check whether the top and bottom of the page overlap with the data.Increase the header and footer distance, or decrease the top and bottom page margins.
Are blank columns still printed?Check whether each page has blank pages with no content on the right side and at the bottom.Reset the print area, remove unnecessary formatting, and then export.
Are the numbers and dates correct?Spot-check several key figures against the original Excel spreadsheet.If the data is abnormal, go back to the original spreadsheet, make the corrections there, and then re-export. Do not patch it up directly on the PDF.

If you have two PDF versions before and after an adjustment, for example when only the page margins were changed and you want to confirm that nothing else has changed, you can use the PDF comparison feature of the OmniDoc desktop client. The desktop client is available at Download page. When comparing, focus on the number of pages, the positions of tables, and whether any text has been added or removed.

📊 Core Comparison

When adjusting a page, margins, paper orientation, and scaling all affect the result, but in different ways.

Adjustment methodMain functionSuitable circumstancesPrecautions
Adjust page marginsChange the distance between the text body and the paper edge, increasing or decreasing the usable layout areaTable edges touch the border; uneven spacing (margins) around all sidesIf it's too small, it will affect printing; if it's too large, it will waste paper space.
Change paper orientationExpand the available width or heightWide table with many columnsAfter changing the direction, the pagination needs to be checked again.
Reduce content proportionScale the overall content down proportionally to fit within the specified number of pages.Only a short bit left to fit it onto one pageText becomes hard to read when the scale is too small.

In most cases, changing the orientation first, then adjusting the margins, and only considering scaling last, can solve most problems while maintaining readability.

❓ Frequently Asked Questions (FAQ)

1. Is it okay to set the page margins to zero?

Not recommended. Most printers and exported results need a certain margin; otherwise, content near the edges is easily cut off. Even for PDFs read on screen, it is advisable to leave appropriate white space so the page looks tidier.

2. Why is the page break still in the wrong place after adjusting the margins?

When the page margins change, the number of rows and columns that fit on each page changes as well, and the page break positions shift accordingly. You should check each page in Print Preview, manually insert page breaks where necessary, or adjust the row heights and column widths and then check again.

3. If only one or two rows of a table overflow, what's the easiest way to handle it?

First try reducing the page margins or switching to landscape orientation. If the content still overflows, then consider scaling down the content proportionally. Avoid deleting data casually, so as not to compromise the integrity of the table.

4. Is the exported PDF's text blurry because of the page margins?

Usually not. Blurry text is mostly related to small font size, a low zoom ratio, or export settings. You can enlarge the page to check the font size of the original table, or increase the zoom ratio appropriately and export again.

5. Can the same method be used for tables in scanned documents or image format?

The scanned file is itself an image, so the page margins can only be adjusted when the PDF is regenerated. If the original table is a scan, you can first determine whether it is one: try selecting a passage of text in the PDF. If you cannot select it, it is usually in image form. In this case, you should go back to the original Excel file, make the adjustments, and then export it again.

📝 Summary

How to adjust page margins when converting an Excel table to PDF: the key is to first check the paper orientation and the table width, then set the page margins, centering, and print area, and finally check page by page using Print Preview and the exported PDF. Consider page margins together with page breaks, headers, and footers, and the finished result will be clearer and better suited for printing and archiving.

Open OmniDoc and convert and organize your documents

Updated 2026-11-29