How to Stop Your PDF From Breaking in the Wrong Place

· 10 min read ·Comfyfile
How to Stop Your PDF From Breaking in the Wrong Place

You finish the quote, export it, and send it. The client opens page one and finds the heading "Pricing" sitting alone at the very bottom with nothing under it. The actual prices are on page two.

Nobody will email you about it. They will just think, quietly, that you rushed.

Page breaks are the difference between a document that looks written and one that looks assembled. And the reason they go wrong is almost never carelessness. It is that most writing tools show you one long scrolling column while the PDF is made of pages, and you never see the second thing until after you have sent it.

Why a PDF breaks in the wrong place

A page break is not a decision your document makes. It is what happens when the text runs out of room.

Your editor keeps flowing paragraphs downward forever. The PDF has to stop at the bottom of an A4 sheet, wherever that lands. If a heading happens to be the last thing that fits, the heading stays and the paragraph it introduces goes to the next page. The software is not doing anything wrong. It just has no idea that those two blocks belong together.

That produces four failures, and they show up in almost every homemade PDF:

What goes wrong What the reader sees
Orphaned heading A section title alone at the foot of a page, its content overleaf
Split table Column headers on one page, half the rows on the next
A stray last page Two lines of text on an otherwise blank final sheet
Separated signature block A name and date line marooned away from the terms they refer to

Each one takes about ten seconds to fix. The hard part is seeing them before the recipient does.

Why pressing Enter until the text moves is not a fix

This is how most people handle it, so it is worth saying plainly: holding Enter to push a heading onto the next page works exactly once.

Empty lines are content. They sit in the document like any paragraph. The moment anything above them changes, and something above them always changes, they move too. Add a sentence to the intro and your careful gap slides halfway up page two, taking a chunk of white space with it into the middle of a section.

It is worse on anything more than one person touches. A colleague edits a line in the second paragraph, the spacing collapses, and now there are seven blank lines in the middle of your contract with nobody quite sure who put them there or whether they are safe to delete.

A real page break is a single instruction that says "start the next page here". Nothing above it can dislodge it.

Step 1: see the pages before you export

You cannot fix a break you cannot see, so this is where it starts.

In Comfyfile's document editor there is a toggle at the top right with two settings, Flow and Pages. Flow is the wide scrolling column that every editor gives you. Pages lays the same document out on A4 sheets.

The document editor header showing the Flow and Pages toggle beside the Save button

The important part is not that it looks like paper. It is that the sheet uses the same page size, the same margins and the same typeface as the export, so a break you see here is a break you get in the PDF. On a wide screen Pages is already switched on, and your choice is remembered next time.

The status line at the bottom of the editor tells you the count as you write: words, characters, and how many pages that comes to right now.

Step 2: read the foot of every page

Scroll down and look only at the bottom of each sheet. Ignore the writing. You are looking for four things, in this order:

  1. A heading with nothing under it
  2. A table that starts within the last few lines of a page
  3. A page that ends mid-sentence in a paragraph you would rather keep whole
  4. A final page carrying less than a third of a page of text

Here is the first one, in the wild. This is a staff handbook, and "Booking time off" has landed at the very bottom of page one:

The Pages view showing the heading Booking time off stranded alone at the bottom of page one, with its first paragraph starting on page two

Look at the amount of white space under that heading. That is not a design choice. That is a paragraph that did not fit, and the reader is going to feel the jolt when they turn the page and start reading a section whose title they saw twenty seconds ago.

Step 3: put the break where the meaning changes

Once you can see the problem, moving it is one action.

Put your cursor at the start of the block that should begin the new page. That is usually the heading, not the paragraph after it, because a heading belongs to what follows it rather than to what came before.

Then open the Insert menu, the plus icon in the toolbar, and choose Page break.

The Insert menu open in the document editor with Page break and its Ctrl+Enter shortcut visible

The keyboard shortcut is Ctrl+Enter, or Cmd+Enter on a Mac, and it is worth learning because you will use it more than anything else in that menu. It splits at the cursor, so whatever sits after the cursor moves to the new page along with everything below it.

Step 4: check what you just did

The break shows up immediately as a labelled seam between two sheets, so you are never guessing about whether it took effect.

The Pages view after the fix, showing a labelled page break seam with the heading Booking time off now at the top of page two

The heading now opens page two with its paragraph directly underneath it. Page one ends a little early, which is exactly what a book, a contract or a report does, and it reads as deliberate because it is.

One detail worth knowing: the seam is labelled "Page break" when you put it there yourself, and unlabelled when the page simply ran out of room. So you can tell your own decisions apart from the software's at a glance, which matters when you come back to a long document weeks later.

Switch to Flow and the break is still there, drawn as a thin labelled rule between the blocks:

The Flow view of the same document showing the page break as a labelled dividing rule above the heading

Same instruction, two views. Nothing about your document changes when you toggle between them.

Fixing the other three breaks

A table that splits across two pages. Put a page break before the table so the whole thing starts a fresh sheet. If the table is genuinely longer than a page, it has to split somewhere, so split it yourself: break it into two tables with a repeated header row and a break between them. That way the second half still has column headings, which is the part readers actually miss.

A last page with two lines on it. Do not add a break. Cut instead. Find two sentences earlier in the document that were doing nothing and delete them, and the tail usually pulls back onto the previous page. Tightening the writing is the fix that also improves the document.

A signature block or a terms clause that must stay together. Give it a break of its own and let it start a page. In a contract this is not cosmetic. Anything that separates a signature line from the terms it applies to is worth avoiding, and reviewers notice.

While you are at it, keep an eye on tables and images generally. If you are laying out anything with columns, our guide to making a PDF without Microsoft Word covers why a real table beats tabs and spaces, which is the other most common reason an exported document looks homemade.

A five point check before you export

Run this once, top to bottom. It takes under a minute on a ten page document.

  1. Bottom of every page. Any heading with nothing under it?
  2. Every table. Does one start in the last few lines of a page?
  3. Last page. Is it carrying enough to justify existing?
  4. Every image. Is one sitting alone on a sheet with its caption on the next?
  5. Page count. Does it match what you expect? An extra page is usually a stray break or an empty paragraph at the end.

Then export. In Comfyfile that is Actions at the top right, then Download PDF, and the file arrives named after your document with nothing added to the page, no cover sheet and no generated footer.

If you are working in Word, Google Docs or LibreOffice

The break problem is universal, so here is the honest version for the tools you might already be in.

Microsoft Word has the best controls of the three, and hardly anyone knows they exist. Select a heading, right-click, choose Paragraph, then the Line and Page Breaks tab. Tick Keep with next and the heading refuses to be separated from the paragraph after it, permanently, no matter how the text above changes. Keep lines together does the same for a block you do not want split. Set it once on your heading styles and you never think about orphaned headings again. Ctrl+Enter inserts a hard break.

Google Docs has Insert, then Break, then Page break, on Ctrl+Enter. What it does not give you is a live view of where the pages fall while you are in pages mode with a wide window, so check the result with File, then Print preview, before you download.

LibreOffice Writer puts the equivalent under Format, then Paragraph, then the Text Flow tab, where you will find "Keep with next paragraph" and orphan and widow control.

Whichever you use, the principle is the same. Look at the pages before you send them, and use a real break rather than a run of empty lines.

What a page break cannot do

Worth being straight about the limits.

A table taller than a full page will always break somewhere. No setting prevents that, in any tool. Your only real control is choosing where.

A single very long paragraph will also split across a page boundary in the exported file. That is normal typesetting and readers do not mind it at all, so do not spend time fighting it. What they do mind is a heading cut off from its content, which is the thing worth checking.

And breaks are the last step, not the first. Fix them once the words are final. Doing it while you are still writing means redoing it, because every sentence you add moves everything below.

How Comfyfile Can Help

If a PDF keeps breaking in the wrong place, the missing piece is usually seeing the pages while you write. Documents is on every Comfyfile plan, including the free one: write in your browser, switch the toggle to Pages to see exactly where each sheet ends, drop a break with Ctrl+Enter where the meaning changes, then use Actions and Download PDF. What you saw is what exports. Nothing is added to your page. If the document has blanks somebody has to complete, add fillable form fields before you export and they stay fillable in the PDF.

Related Reading

Share this article

Share on X Share on LinkedIn

Ready to share files securely?

Experience password protection, auto-expiry, and download limits with Comfyfile

Start Sharing Free
← Back to all articles