How to Remove Extra Text When Exporting Excel to PDF

Excel exports to PDF with extra page numbers, file names, or stray text on every page. How do I find the source and remove it? Troubleshoot item by item across four causes: headers and footers, print area, comments, and conversion tools, and give the fix steps for each.

Key points of this article

  • Extra page numbers, dates, and file names usually come from the header and footer settings; editing the cell contents has no effect, so you need to clear them in Page Setup.
  • Scattered text to the right of or below a table is usually leftover content outside the print area; shrinking the print area will exclude it.
  • A table header that repeats on every page comes from the print title rows; if you want it to show only on the first page, turn off this setting.
  • Online conversion websites often add their own branding to the footer; exporting locally or using a desktop client can avoid this.

When a spreadsheet is exported to PDF, extra content may appear at the top or bottom of each page, such as page numbers, dates, or file names, or a few unreadable lines may show up beside the table. This affects how the document looks when shared with others. Many people instinctively go back into the table and search cell by cell, deleting text for a long time while it still remains. This extra content is usually not inside the cells. It comes from headers and footers, print settings, comments, or content added by the conversion tool itself.

This article is for readers who run into problems like "extra text appears when exporting Excel to PDF." After reading it, you should first work out where the text comes from, then remove it with the matching method, and finally check whether anything was missed. The methods here apply to most desktop office software exporting to PDF, and also to cases where you export first and then edit.

Excel export to PDF includes extra text — what should I do? One-sentence conclusion

Answer directly: The extra text mostly has fixed sources. First check where it appears on each page and whether it falls outside the table content, then decide where to make the change.

Your situationRecommended PracticesCause
Filenames, dates, and page numbers that repeat at the top or bottom of each pageClear headers and footers before exportingThese are generated by the print settings; changing the cells has no effect.
Stray text appears to the right of or below the table, and only on certain pages.Reduce the print area and delete unnecessary rows and columnsContent left outside the print area will also be exported.
The table header row repeats at the top of every page, but you only want it on the first page.Cancel the print titles settingPrint titles repeat on every page
The text is a website name, logo, or watermark, from an online conversion service.Switch to exporting locally, or handle it using the desktop client.Online conversion services may add their own watermarks or branding to the output.
There is some extra text in the PDF that has already been exported.Delete or redact with a PDF editor, then save as a new fileNo need to go back and redo the table; the cost is low.

First, determine which type of problem it is

Before changing anything after exporting, first look carefully at where the text appears and what pattern it follows. The table below can help you match each item to its location.

SymptomsCommon causesHow to confirm?
Page numbers, dates, or file names appear at the top and bottom of each pageHeader and footer settingsOpen the page setup and check whether anything has been entered in the header and footer fields.
Repeat the same header row at the top of every pagePrint Title RowsCheck whether the row numbers are filled in the print titles under Page Setup.
Scattered text appears only on the last page or on a certain page.Residual content at table edges or page-break positionsSwitch to Page Break Preview and check whether there is content outside the dashed lines.
Gray "Page X" markers appearingDisplay markers in the view, not printed contentSwitch back to normal view for comparison. If the exported PDF still shows the issue, then you need to continue troubleshooting.
Text appearing in the comment boxComments are set to printCheck whether the print option for comments is selected in the page setup.
Website names, advertisements, or watermarks appearAutomatically added by conversion toolExport the comparison another way: if only one tool appears, the source is that tool.

Item-by-item troubleshooting and fixing

The suggested order for troubleshooting is as follows: first handle the parts that are easy to confirm, then move on to the parts that require judgment.

  1. Check the table edges. Press Ctrl+End in the table to jump to the last used cell. If it lies far outside the data, there are blank cells to the right or below that contain spaces, white font, or leftover content. Clear these areas before exporting.
  2. Clear the header and footer. Go to Page Setup and set both the header and footer to none, or delete any custom content. If page numbers or dates are really needed, add them to the PDF separately instead of keeping them in the export settings.
  3. Check the print area and print titles. Set the print area to the data range that actually needs to be output. If the title rows do not need to repeat on every page, leave them empty.
  4. Handle comments and gridlines. Set comments to not print, and leave the gridlines option unchecked for printing. These two items are often overlooked, yet they appear on every page after export.
  5. Export again, then open the PDF and check the first page, a middle page, and the last page to confirm that the unwanted content has disappeared.

Text from a conversion tool or an exported file

If the extra content is a website name, logo, or watermark, the problem usually lies in the conversion process rather than in the table itself.

  1. Switch to exporting locally. Export the PDF directly from your office software. The data does not need to be uploaded to a third-party server, so no one else's watermark or identifier will be added.
  2. If you must use an online conversion website, read its description first: the file size limit, whether it adds a watermark, whether it preserves the layout, and whether it stores your files. These factors determine whether it is suitable for processing important spreadsheets.
  3. For a file that has already been exported, open it in the PDF editor of the OmniDoc desktop client, select the extra text, and delete it directly. OmniDoc's PDF editor supports editing paragraph text as well as redaction (blacking out). You can get the client from the download page: download.omnidoc.top.
  4. If the extra text is at the bottom of the page and far from the body text, you can choose to black it out, which will not disrupt the position of other content.
  5. After processing, save as a new file and keep the unmodified original PDF so you can check it later.

How to Avoid This Happening Again

  • Before exporting, check the page boundaries in Print Preview or Page Break Preview to confirm that no content extends beyond the data range.
  • Fix the print area to the actual data range. When rows or columns are added to the table later, remember to update the print area as well.
  • Keep only generic content in the template's headers and footers; add information that changes from file to file, such as page numbers and dates, only when needed.
  • For tables containing customer information, financial data, or internal reference numbers, prefer exporting on your own computer and avoid online conversion services of unknown origin.
  • After exporting, spot-check that numbers, dates, and headers are complete, especially merged cells and content that spans pages.

❓ Frequently Asked Questions (FAQ)

1. Are the page numbers and dates added automatically by Excel, and can they be removed?

This is usually an automatic field in the header and footer settings. Go to Page Setup, clear the header and footer, and then export again. It should no longer appear.

2. After deleting the header and footer, there is still gray text in the PDF. What is it?

Most of them are page-break markers or on-screen display content in the view. After switching back to normal view, export again and compare. If they still appear in the PDF, check the boundary areas and the annotation settings.

3. Will deleting text with a PDF editor affect the layout?

When text is deleted, adjacent paragraphs may shift position. Redacting (blacking out) does not change the position of other content, making it suitable for scattered text at the bottom or edges of a page.

4. How should I handle the watermark on PDFs exported from online conversion websites?

First check the service's documentation to confirm whether deleting identifiers is permitted. If it is not, switch to exporting locally, or redact the identifiers in the desktop client and then save a copy.

📝 Summary

Extra text that appears when exporting Excel to PDF mostly comes from headers and footers, print areas, print titles, comments, or the conversion tool. Check where the text appears and what pattern it follows first, then fix the matching cause. This is much faster than searching cell by cell. For PDFs that have already been exported, you can edit them with a PDF editor, and keep the original file so you can compare against it.

Open OmniDoc, convert and organize your documents

Updated 2026-11-28