Word tasks · Long documents
Split a Word document into separate files at its headings
A report, manual or book draft that has outgrown one file is easier to share, review and reuse one chapter at a time. This guide splits a long Word document at its headings two ways: copying each section into its own file, which suits most documents, and the Outline view subdocument route, which is faster on a very long file but needs more care.
Before you start: headings and a spare copy
Both routes split at headings, so the split points have to be real heading styles — Heading 1 for chapters, Heading 2 for sections inside them — not just large, bold text. Open the Navigation pane (View tab, then Navigation Pane, or press Ctrl+F) and check the Headings list: Microsoft's Navigation pane guide notes that only headings with heading styles applied appear there. If a chapter title is missing from the list, click in that title in the document and apply Heading 1 from the Home tab before you go any further.
- Save a spare copy of the original. Use File, then Save As, and keep an untouched copy under a name such as report-full-original. Every route below works on the other copy, so a bad split costs you nothing.
- Decide the split level. Splitting at Heading 1 gives you one file per chapter. Splitting at Heading 2 gives many smaller files. Pick one level for the whole job and stick to it.
- Note what will not follow a section. Headers, footers, page numbering and any table of contents belong to the whole document. Each new file starts fresh on those, and cross-references to other chapters become ordinary text or broken references once the chapters live apart — Microsoft describes a master document as the container you would need to cross-reference across separate files, which is a sign to fix cross-chapter references by hand after a plain split.
The safe route: copy each section into its own file
This route never changes the original and gives you full control over each file's name. It is slower on a document with dozens of sections, and it is the route to choose when the file matters.
- Jump to the first heading. In the Navigation pane, click the first heading you want as its own file. The cursor lands at the start of that section.
- Select to the end of the section. Click at the start of the heading, then scroll to the last paragraph before the next heading at the same level, hold Shift and click at the very end of that paragraph. The selection should run from the heading up to — but not past — the next heading.
- Copy, then paste into a new document. Press Ctrl+C. Create a new blank document (Ctrl+N), press Ctrl+V, and use the Keep Source Formatting paste option so styles, numbering and pictures travel with the text.
- Save the new file with its own name. File, then Save As — name it after the heading, in the folder the split files will live in. Close it and repeat from the next heading until every section has a file.
An equally safe variant: open a fresh copy of the whole document for each section, delete everything except that section, and Save As under the section's name. It keeps section formatting, headers and footers exactly as they were, at the cost of more deleting on a long document.
The fast route: Outline view and Create subdocuments
Word's master document feature can cut a document into subdocuments at its headings in a few clicks. Work on a copy, not the original: this route rewrites the file you run it on, inserts section breaks around each part, and leaves you with a master document that links to the new files rather than containing them.
- Open the copy in Outline view. Open the spare working copy, then go to the View tab and choose Outline.
- Show the master document tools. On the Outlining tab, click Show Document in the Master Document group. The Create command appears.
- Select one section at a time. Click the plus sign beside a heading to select that heading and everything under it, up to the next heading at the same level.
- Click Create. Word wraps the selection as a subdocument. Repeat for each heading you want as a separate file.
- Save, then find the new files. Press Ctrl+S. Word saves each subdocument as its own file in the same folder as the master document, naming each one from its heading text. You can rename the files afterward and open each one on its own, without the master.
Keep the master document and its subdocuments together in one folder, and do the day-to-day editing inside the individual subdocument files, not inside the master. If all you wanted was the split, you can set the master aside once the subdocuments are saved — the separate files stand on their own.
A note on macros
A short VBA macro can loop through the headings and save each section as a file, and for a document with a hundred sections that can be worth it. Treat it as an alternative for a copy you can afford to lose, not the main route: a macro you find online runs with your full access to your files, and its idea of where a section ends may not match yours. The two routes above need no code and leave you able to check each split as you make it.
Check the new files
- Open each file and read the first and last lines. The first line should be the heading you split at, and the last line should be the paragraph just before the next heading — nothing missing, nothing carried over.
- Check pictures, tables and lists. Pictures and tables should sit where they sat in the original, and numbered lists should not restart or continue oddly. A list that continues a sequence from an earlier chapter needs its numbering set in the new file.
- Count the files against the headings. The number of new files should match the number of headings at your chosen level in the Navigation pane. A short count means a section is still bundled inside a neighbor.
End state
- Each heading at the level you chose is now the start of its own file, named after that heading, in one folder.
- Every new file opens on its own, with its section's text, pictures and tables complete — first line and last line checked.
- The untouched original is still saved, so the split can be redone a different way if the first attempt does not suit.
When it goes wrong
- A chapter is missing from the Navigation pane. Its title is formatted by hand instead of with a heading style. Apply Heading 1 (or the level you are splitting at) to the title and it will appear — and both split routes will treat it as a split point.
- Create is grayed out in Outline view. Click Show Document first — the Create command only appears once the Master Document group is expanded — and make sure a heading and its text are actually selected.
- The subdocument files have odd names or landed somewhere unexpected. Word names subdocuments from their heading text and saves them beside the master document. Rename them after saving, and move the master and its files together if you move them at all.
- Formatting changed in a copied section. The paste used the new document's styles instead of the original's. Undo it and paste again choosing Keep Source Formatting.
- Page numbers or a contents list look wrong in a new file. They belonged to the whole document, not the section. Set page numbering in each file as you want it, and build any contents list for a single file from that file's own headings.
Related document tasks
-
Split one PDF into separate files by page range
Split a long PDF into separate files by page range with PDFsam Basic, with Acrobat, or with a free online splitter.
-
Create an index in Word for the back of a long document
Readers of a manual, report or book-length document expect to look a term up at the back and land on the right page.
-
Convert a Word document to Google Docs format and bring it back without losing formatting
Sometimes the editing happens in Google Docs and the finished file has to be a Word document again — a collaborator works in Docs, the client expects .docx.
-
Make every heading in a Word document match with Format Painter and style updates
Three headings are blue and bold, one is black, one is the wrong size, and one picked up italics from somewhere — a familiar sight in any document more than one person has touched.
Sources
- Microsoft Support, Use the Navigation pane in Word — browsing by headings, which headings appear in the pane, and moving parts of a document by their headings.
- Microsoft Support, Create a cross-reference — what a master document and its subdocuments are, and why cross-references across separate files need one.