Word guide · Windows and Mac

Combining Word documents: thesis chapters into one file

Combining Word documents without copy and paste takes one command: open the file that will hold everything, click where the next part should go, and choose Insert › Object › Text from File on Windows or Mac. Word pours the whole of the other file in at that point. The click path is the easy part. What decides whether the result is a clean thesis or a patchwork is which file you insert into, and what you check after each chapter goes in.

By André Antão Published 10 min read
The short answer
  1. Open the document everything will go into (the one with the right styles), and click on an empty line at its end.
  2. For a new chapter, add Layout › Breaks › Next Page first.
  3. WindowsMacOn the Insert tab, click the arrow next to Object, choose Text from File, pick the file and click Insert.
  4. Repeat for each file in order, then select all and update fields so captions, cross-references and the contents catch up (section 03).

01How to combine Word documents with Text from File

Microsoft documents the same steps for Word for Microsoft 365 on Windows and on Mac (Microsoft Support, Insert the contents of a document):

  1. Open the destination document and click where the other file's content should start. Put the cursor on an empty paragraph, not inside a line of text.
  2. On the Insert tab, click the arrow next to Object (on Windows it sits in the Text group, near the right end of the ribbon).
  3. Choose Text from File.
  4. Find the file, select it and click Insert, or double-click it.
  5. To add more documents, move to the end of what you just inserted and repeat (Microsoft Support, Insert a document in Word).

The text arrives with its tables, pictures, footnotes, fields and section breaks. It is copied, not linked: changes you make later to the original file don't reach the combined one. Choose Object in that menu instead and you get an embedded icon or frame, not editable text, which is never what a thesis needs.

Figure 1Word, simplified. On the Insert tab, the arrow next to Object opens a short menu; Text from File is the item that brings in another document's text. It opens the Insert File dialog, with the chapter files named 00 to 05 so they sort in order, and 03-methodology.docx selected. On Windows, the arrow on the Insert button also offers Insert as Link (section 04).

What Microsoft says about headers and footers

Microsoft's advice is to insert a file "in a new section" if you want its header and footer, so that they apply only to those pages (Microsoft Support, Insert a document in Word). For a thesis I put a Next Page section break before every chapter anyway, because chapters start on a new page and often need their own running header (Microsoft Support, Insert a section break). What a section break carries, and how to unlink one chapter's header from the last, is in my guide to section breaks in Word.

Not in Word for the web

Microsoft says you can't insert the contents of a document in Word for the web, and that Word for the web can't add section breaks yet. Open the file in the desktop app (Editing › Open in Desktop, or Open in Word) and do the merge there.

02Before you merge: get the files ready

Twenty minutes on the separate files saves hours in the combined one. This is the order I work in when a thesis reaches me as one file per chapter.

Choose the right file to insert into

When the inserted text uses a style whose name already exists in the destination, such as Normal, Heading 1 or Caption, it takes the destination's version of that style. Text formatted by hand, with a font or spacing picked from the toolbar, keeps its own look. In practice that means:

  • Insert into the file whose styles are right. That is your university template, or the chapter you have already set up properly. Never insert into a blank new document: it has Word's default styles, and every chapter will take them.
  • Use the same style names in every chapter. If Chapter 2 used Heading 1 and Chapter 4 used a custom "Chapter title" style, both come in, and you have two kinds of chapter heading. My guide to styles in Word sets up one set of styles that all the chapters can share.

Clean each chapter file first

  • Save a copy of every file in a separate folder. The merge is a one-way step.
  • Accept or reject tracked changes and delete resolved comments in each chapter (Review tab). Whatever is in the file comes along, and fifty open comments from three supervisors are harder to sort out in one 200-page file than in seven short ones.
  • Delete typed chapter numbers if your headings number themselves. "Chapter 3" typed in front of an automatically numbered heading becomes "Chapter 1 Chapter 3" once everything is in one file.
  • Remove the reference list at the end of each chapter if the thesis has one list at the end. With Zotero, Mendeley or Word's own citations, keep the citations and let one bibliography at the end of the master rebuild itself (section 06).
  • Name the files so they sort in order, with a leading number: 00-front-matter, 01-introduction and so on. Inserting in the wrong order is the most common slip I see, and it is invisible until the contents page is updated.

Some guides suggest selecting several files at once in the Insert File dialog. I insert one at a time. A multiple selection gives no control over the order, and if one chapter comes in wrong, Ctrl+Z (⌘+Z on a Mac) takes out just that chapter.

03A worked example: seven chapter files into one thesis

Here is the whole merge on a fictional thesis on brand trust and customer loyalty, written as seven files. The front matter file already has the university's template styles, so it becomes the master.

  1. Open 00-front-matter.docx and save it straight away under a new name, such as thesis_master.docx.
  2. Press Ctrl+End (⌘+Fn+→ on a Mac keyboard without an End key) to go to the very end, and turn on Home › Show/Hide (¶) so you can see breaks and empty paragraphs.
  3. Choose Layout › Breaks › Next Page. The cursor now sits on an empty paragraph at the top of a new page and a new section.
  4. Choose Insert › Object › Text from File, pick 01-introduction.docx and click Insert.
  5. Check the chapter before going on: its first page, its heading in View › Navigation Pane, its header and page number. Fix anything now (Figure 3 shows what to look for); one chapter at a time is far easier than seven at once.
  6. Go to the end again and repeat steps 3 to 5 for chapters 2 to 5 and the references.
  7. Select everything (Ctrl+A, or ⌘+A) and update the fields with F9 (on a Mac, add Fn if the key doesn't respond). Caption numbers and cross-references update through the whole thesis; the chapter numbers in numbered headings renumber by themselves.
  8. Update the contents page: click in it, press F9 and choose Update entire table. If a chapter is missing from it, see my guide to the table of contents in Word.
Figure 2The fictional thesis before and after the merge. Before: seven files, numbered so they sort in order, with the front matter file as the master because it holds the template styles. After: one file in which each part starts after a Next Page section break, the front matter runs in roman numerals and the chapters and references run from 1 to 131 without restarting.

What a freshly inserted chapter looks like

Chapter 3 of the example was written in a different file from the template, with its title formatted by hand. This is what it looked like the moment it went in, and what it looked like ten minutes later.

Figure 3The first page of Chapter 3 straight after Text from File, and after the clean-up. As inserted: (1) the title is bold capitals typed by hand, not a heading, so it is missing from the Navigation pane and the contents; (2) a typed reference to another chapter; (3) the caption number restarts at 1, as it did in the separate file; (4) the chapter brought its own page numbering, restarting at 1. The body text is also in the chapter's own font and spacing, set by hand. After: the title has Heading 1 and numbers itself, the reference is a cross-reference, the caption field renumbers to 3.1, the page number continues at 42, and the body has the master's Normal style.

The fixes, in the order I make them:

  • Body text in the wrong font or spacing. Select the chapter's body text (not the headings), press Ctrl+Space on Windows to remove the hand-applied character formatting (Microsoft Support, Keyboard shortcuts in Word), or apply the body style from Home › Styles, which resets the paragraph settings.
  • Title not a heading. Click in it, delete the typed "Chapter 3:" and apply Heading 1.
  • Typed references to other chapters. Now that everything is in one file, replace them with real cross-references (References › Cross-reference), which Word can't make between separate files.
  • Caption numbers. If the captions were inserted with Insert Caption, updating fields renumbers them. Captions typed by hand stay as typed and have to be redone.
  • Page numbers. Double-click the footer, open Page Number › Format Page Numbers and choose Continue from previous section instead of Start at (Microsoft Support, Format page numbers in Word). The one exception is Chapter 1: after roman front matter it keeps Start at 1, with the 1, 2, 3 number format.

My guide to formatting a thesis in Word puts these settings in the order of a full set-up, if the merged file needs more than a tidy.

Seven chapters, seven different fonts?Send me the files and I'll merge and restyle them

04Copy and paste, master documents, links or PDF?

Text from File is the method I use, but it isn't the only way to merge files in Word. Here is how the others compare for a thesis.

  • Copy and paste. Fine for a few pages. Open the chapter, select all, copy, and paste into the master. The Paste Options button that appears decides the formatting: Keep Source Formatting keeps the look of the copied text, Merge Formatting discards most hand-applied formatting so the text matches its surroundings, and Keep Text Only strips all formatting, drops pictures and turns tables into plain paragraphs (Microsoft Support, Control the formatting when you paste text). For whole chapters, Text from File does the same job without opening each file.
  • Insert as Link. On Windows, the arrow on the Insert button in the Insert File dialog offers Insert as Link, which inserts an IncludeText field instead of the text itself, so the combined file shows the chapter file's current text when the field is updated (Microsoft Q&A, Problem inserting Word document into a Word document; Microsoft Support, Field codes: IncludeText field). It is useful while chapters are still being written by different people. For the final thesis I avoid it: the file depends on the chapter files staying in the same place, and a field updated at the wrong moment replaces your corrections with the old text.
  • Master document. Word's Outlining tab can turn chapter files into subdocuments of a master document (View › Outline, then Show Document). Office Watch, which publishes instructions for using them, still calls master documents "not the most stable or reliable part of Microsoft Word" and warns they are more likely to fail on OneDrive or SharePoint. I don't build theses this way. If you inherit one, Office Watch's advice for the final copy is to unlink the subdocuments, which turns it into one ordinary file.
  • Combine as PDF. Saving each chapter as a PDF and merging the PDFs gives a single file to submit, but page numbers restart, the contents page can't update, and the bookmarks don't join up. It is a last resort for submission day, not a way to build a thesis.

05Combining two versions of the same document

Combining two Word documents sometimes means something else: you edited Chapter 2 while your supervisor edited another copy, and you need both sets of changes in one file. Text from File would give you the chapter twice. Word's Combine merges the two versions into a new document and shows the differences as tracked changes, leaving both originals as they were (Microsoft Support, Compare and merge two versions of a document).

Windows
  1. On the Review tab, choose Compare › Combine.
  2. Pick one version as the Original document and the other as the Revised document, then click OK.
Mac
  1. On the Review tab, choose Compare › Combine Documents.
  2. Pick the Original document and the Revised document, then click OK.

Microsoft's Windows page adds that for more than two copies, you save the combined result and then combine the next copy with it (Microsoft Support, Combine document revisions). If you only want to see what changed between two drafts, without merging, use Compare instead; my guide to comparing Word documents covers it.

06When the merged file comes out wrong

Text from File isn't there, or is greyed out

You are almost certainly in Word for the web, which can't insert the contents of a document. Open the file in the desktop app.

The inserted chapter changed font or spacing

Its styles share names with the master's, so it took the master's definitions. That is usually what you want. If the master is the one that's wrong (Word's defaults rather than your template), undo, and insert into the right file instead (section 02). If only a few paragraphs look different, they were formatted by hand: select them and apply the right style.

Every chapter is "Chapter 1", or the numbers are doubled

Either each file had the chapter number typed in, or the chapter files used a different numbering list from the master. Delete any typed numbers, then reapply Heading 1 to each chapter title so all of them use the master's numbered heading style. If caption numbers stay wrong after that, select all and update fields again: chapter-numbered captions such as Figure 3.1 take their chapter number from the heading.

Page numbers restart at 1 in every chapter

Each chapter brought its own section with its own page numbering. In each chapter's first footer, open the page number format and choose Continue from previous section. A section set to restart passes that setting on to any new section made from it, so check every chapter, not only the first (Microsoft Q&A, Next Page section break and page numbers).

A chapter brought its own header, or the header repeats the wrong chapter

Headers belong to sections, and an inserted chapter can arrive with its own. Double-click the header on the chapter's first page and check Link to Previous on the Header & Footer tab: on when the header should match the chapter before, off when it should change. My guide to section breaks explains which setting lives where.

A blank page appears between two chapters

The chapter file ended with a page break, or an empty paragraph spilled onto a new page, and then the Next Page section break added another page. With Show/Hide on, delete the page break or the empty paragraphs before the section break, not the section break itself, which holds the next chapter's layout.

Two reference lists, or citations that won't update

Each chapter brought its bibliography field. Delete all but the one at the end of the thesis. With Zotero, a reply on the Zotero forums calls copying references between documents "fully intended usage" (Zotero Forums, Copying citations). The citation style and other settings in Document Preferences belong to each document, so after the merge open Document Preferences in the master, confirm the style, and click Refresh, which updates every citation and the bibliography (Zotero documentation, Using the Zotero word processor plugin). With Mendeley or Word's own citation tool, keep one bibliography at the end, update it after the merge, and check that every source cited in the inserted chapters appears in it.

Comments and tracked changes appeared all over the merged file

They were in the chapter files and came in with the text. Deal with them in the master now (Review › Accept › Accept All Changes if every change is approved), and next time clear them in each chapter before merging.

07Questions people ask

Does combining Word documents keep the formatting?

Text formatted by hand keeps its look. Text in a style that also exists in the destination file, such as Normal or Heading 1, takes the destination's version of that style. So insert into the file whose styles are right, and the chapters will match it.

How do I combine two Word documents into one?

Open the first document, click on an empty line at its end, and choose Insert, the arrow next to Object, Text from File. Pick the second document and click Insert. If the second file should start on a new page with its own header, add a Next Page section break first. If the two files are two edited copies of the same text, use Review, Compare, Combine instead.

Can I merge Word files on a Mac?

Yes. In Word for Microsoft 365 for Mac the steps are the same as on Windows: Insert, the arrow next to Object, Text from File, choose the file, Insert. To merge two edited versions of one file, use Review, Compare, Combine Documents.

Should I write my thesis as one file or one file per chapter?

Separate files are easier to send to a supervisor; one file is the only way to get a contents page, caption numbers, cross-references and page numbers that run through the whole thesis. Many students write in chapters and merge before the final formatting, which works well if every chapter uses the same template styles from the start.

Will the inserted file stay linked to the original?

No. Text from File copies the text, so later edits to the chapter file don't reach the combined document. Only Insert as Link, which inserts an IncludeText field, keeps a link to the original file.

How this was checked

The Text from File steps and the Mac and Windows coverage come from Microsoft Support's Insert the contents of a document (Word for Microsoft 365 on Windows and Mac, and the Word for the web limit) and Insert a document in Word (repeating for more files, and the new-section advice for headers and footers). Section breaks and the Word for the web limit on them are from Insert a section break; paste options from Control the formatting when you paste text; Insert as Link from a Microsoft Q&A answer (Windows) and Field codes: IncludeText field; Combine from Compare and merge two versions of a document (Mac, written for Word 2019 for Mac) and Combine document revisions (Windows). Continue from previous section is from Format page numbers in Word; Ctrl+Space, F9, Ctrl+End and the Mac equivalents from Keyboard shortcuts in Word. The master document cautions are from Office Watch; the inherited page-numbering restart from another Microsoft Q&A answer; the Zotero points from the Zotero documentation and forums, all listed under Sources. How inserted styles behave and the faults in Figure 3 are from the theses I format. The thesis in the examples is fictional. I had no Mac to test on; the Mac steps are Microsoft's own.

André Antão is a university lecturer in Management and Marketing at the Polytechnic University of Portalegre and a PhD candidate in Management. He has formatted theses in Word and LaTeX for 8 years.

Sources

  1. Insert the contents of a document Microsoft Support
  2. Insert a document in Word Microsoft Support
  3. Insert a section break Microsoft Support
  4. Control the formatting when you paste text Microsoft Support
  5. Field codes: IncludeText field Microsoft Support
  6. Compare and merge two versions of a document Microsoft Support
  7. Combine document revisions Microsoft Support
  8. Format page numbers in Word Microsoft Support
  9. Keyboard shortcuts in Word Microsoft Support
  10. Problem inserting Word document into a Word document Microsoft Q&A
  11. Next Page section break doesn't start the following page with a new page number Microsoft Q&A
  12. Using Word Master Documents safely Office Watch
  13. Using the Zotero word processor plugin Zotero documentation
  14. Copying citations Zotero Forums