In short
- Open the print window, expand More settings (in Safari, Show Details) and clear the box for headers and footers.
- The browser adds those lines when it prints a web page, so they are not part of the page itself.
- Remove them from a PDF you already saved
You print a web page, an e-ticket or a PDF opened in your browser, and every sheet has a date in one corner, the page title in another, and a long web address at the bottom. It looks untidy, and on a ticket or a form it can push real content to a second page.
Those lines come from the browser, not from the page. The setting that controls them is in the print window of every common browser, and it takes two clicks to turn off. This guide shows where it is, what to do if the lines are already inside a saved PDF, and what to check when the setting is not there.
On EditFlip, step by step
- Step 1
Open the print window
Press Ctrl and P on Windows or Linux, or Command and P on a Mac, with the page or PDF open in your browser. The print window shows a preview, and the lines you want to lose are visible along the top and bottom of it.
- Step 2
Expand the extra settings
In Chrome and Edge, open More settings. In Firefox, expand More settings too. In Safari, press Show Details if you only see a few options. Look for the box called Headers and footers, or Print headers and footers.
- Step 3
Clear the box and check the preview
Clear the box. The preview should redraw at once without the date, the title, the address and the page count. Look at the first and the last sheet before you print or save.
- Step 4
If the lines are already in a saved PDF, clean the copy
On the EditFlip home page press Choose files, pick the PDF and press Edit. Press Edit text, tap each header or footer line, delete its words, and press Done. Your original stays as it was and the new copy is named with (edited).
Why the browser adds these lines
A web page has no pages of its own. When you print it, the browser cuts it into sheets, and it decides to add a few lines to help you identify them. These usually hold the date and the page title at the top, and the web address and the page count at the bottom.
That is useful when you print a long article and want to know where it came from. It is a nuisance for a ticket, a boarding card, a receipt or a form, where you only want the page as the site designed it.
It is also why two browsers can print the same page with different extra lines. The page did not change. Each browser has its own idea of what should be written in the margins, and each lets you switch that off.
Chrome and Edge
Open the print window, then More settings. In the list you will find a box called Headers and footers. Clear it, and the preview loses the extra lines. Chrome often remembers the choice for the next print, but check the box each time to be sure.
The Headers and footers box is all or nothing. You cannot keep the page number and drop the date. If you need to pick, print or save to PDF with the box off, and add the page numbers afterwards with the Page numbers tool.
Menu names can change a little between versions, so if you do not see the box, look for the word headers in the print window.
While you are in More settings, look at Margins and Background graphics too. A tight margin gives the page more room, so it may fit on one sheet instead of two. Background graphics, when off, saves ink on pages with dark banners.
Firefox
In the print window, expand More settings and clear Print headers and footers. Some older guides describe a Page Setup dialog with header and footer fields set to blank. That was the way in older versions, and the newer print window uses the checkbox instead.
Firefox can also remember the headers and footers you picked, so if they keep coming back, look at the print window again before you print.
If a page prints on two sheets and the second one has only a line or two, look at Margins and Scale in the same window. A smaller margin or a slightly smaller scale often pulls the last lines back onto the first sheet.
Safari on a Mac
Open the print window with Command and P. If it shows only a short list of options, press Show Details. The box is called Print headers and footers. Clear it, and the preview loses the lines.
Safari also lets you choose Save as PDF from the PDF menu at the bottom left, so you can turn the box off first and keep the clean file.
Check the preview every time you print from Safari. If the lines show up again, for example after an update, clear the box again.
Printing a PDF that you opened in the browser
When you open a PDF in a browser tab and print it, the same print window appears. The PDF's own pages already hold everything they need, so check the preview: if you see extra lines, clear the setting as above.
A PDF that you saved from a web page may have those lines inside it already. The browser wrote them as text when it saved. Turning the setting off now will not remove them from the old file, because they are part of the pages. That is the case for Edit text in the EditFlip editor.
When a PDF is printed from the viewer of a browser, sheets sometimes get scaled to fit the paper. If you see a margin that is too wide, look for a Scale or Fit to page setting in the same window and set it to the actual size.
Getting a clean copy when the lines are already inside
The cleanest way is to go back to the web page, turn the setting off, and save again as PDF. It takes one minute and leaves nothing behind.
If the page is gone, for example a receipt that has since expired, delete the lines in the PDF. The Edit text tool works on the lines the PDF holds as real text, and when you delete all the words of a line, they are cut out of the saved copy. It works page by page, so for a long document, saving again is faster. For a scanned page, Redact can cover the lines with a black box, which leaves a visible bar.
A separate guide covers removing a header and footer from a PDF in more depth.
Before you delete anything in a PDF, check how many pages it has. Two or three pages take a few minutes. Past ten pages you will save time by going back to the web page.
When the box is missing or the lines do not go
Some sites print through their own page or button, with a custom layout, and the print window may look different. Use the browser's own menu, Print, instead of the site's button.
A page can also draw its own header, a logo, a banner or a banner of cookies, that has nothing to do with the browser setting. That part you clear in the page itself, or by saving the page as a PDF and covering it afterwards.
On a phone, printing goes through the phone's own system, which has its own options. If you are only after a clean file, saving the page as a PDF and editing the copy is often the easier path.
Delete header and footer text from a PDF you already saved, or cover it with a Redact box. Free, no account, and the PDF stays on your device.
Clean a PDF on EditFlip →Questions
How do I print a web page without the date and URL?
In the print window, open More settings and clear Headers and footers. In Safari, press Show Details first and clear Print headers and footers.
Why does my printed page have a web address at the bottom?
The browser adds it when it prints a web page. It is not part of the page.
Can I keep the page number but drop the date?
Not in the browser: the setting is on or off for all of them. Print without them, then add page numbers to the PDF.
The header is already inside my PDF. What now?
Save the page again with the setting off, or delete the lines with Edit text in the EditFlip editor.
Does this work on Edge?
Yes. Edge has the same Headers and footers box under More settings.
Does the setting change the PDF file I print?
It changes only what the browser adds to the printout. A PDF that already contains those lines keeps them.
Is my PDF uploaded when I clean it on EditFlip?
No. The work is done in your browser, on your own device.
