Tips & Tricks

How to Merge PDF Files Using Only Preview or Built-In Tools on a Mac

You have three PDF files on your Mac and need them combined into one. You could search for an online tool, upload the files, wait for the merge, and download the result. Or you could do it in 10 seconds using software already on your Mac without opening a browser. Preview, the default PDF viewer built into every Mac, can merge PDFs through a drag-and-drop interface that is faster than any online tool.

Beyond Preview, macOS includes additional built-in tools that can merge PDFs in different ways: Automator for creating one-click merge actions, the Print dialog for combining files through the system PDF engine, and even Terminal commands for scripted batch merges. Each method has strengths depending on whether you are merging two files or two hundred.

How to Merge PDF Files Using Only Preview or Built-In Tools on a Mac

Method 1: Drag-and-Drop Merge With Preview

Open the first PDF in Preview. Make sure the sidebar is visible. If it is not, go to View and select Thumbnails. The sidebar shows a thumbnail of every page. Open a second Finder window and locate the PDF you want to insert. Drag the second PDF file from Finder into the Preview sidebar. Drop it between the page thumbnails where you want it inserted. The pages from the second file are inserted at that position. Repeat for additional files. When you are satisfied with the page order, save the document. Command-S saves in place, overwriting the original. Option-Shift-Command-S opens Save As if you want to keep the original and save the merged file separately.

You can also drag individual pages within the sidebar to reorder them. Select one or more page thumbnails, hold Shift to select a range or Command to select individual pages, and drag them to a new position in the sequence. This page reordering capability means you can merge files and rearrange their pages in a single operation, making Preview a capable Merge PDF tool for most everyday needs.

WukongPDF

Try Merge PDF

No installation needed. Works directly in your browser.

Get Started โ†’

Method 2: Using the Print Dialog to Combine PDFs

macOS includes a system-wide PDF engine that can combine files through the print dialog of any application. Open the first PDF in Preview. Choose File, Print, or press Command-P. In the print dialog, click the PDF button in the lower-left corner and select Add PDF to Document. Choose the second PDF file. The pages are appended after the last page of the first document. Repeat for additional files. When all files are added, click the PDF button again and choose Save as PDF. This method is useful when you have already opened a PDF and want to append another file without switching to Finder for drag-and-drop.

Method 3: Create a One-Click Merge Action With Automator

If you merge PDFs regularly, an Automator Quick Action turns the multi-step process into a single right-click. Open Automator from the Applications folder. Choose New Document and select Quick Action. Set the workflow to receive PDF files in Finder. From the Actions library, drag Combine PDF Pages into the workflow. Add a Move Finder Items action if you want the merged result saved to a specific folder. Save the Quick Action with a descriptive name like Merge Selected PDFs.

Once saved, select multiple PDF files in Finder, right-click, and navigate to Quick Actions at the bottom of the context menu. Select your Merge action. Automator combines the selected files into a single PDF and saves it alongside the originals or in your specified output folder. The entire process takes one second after setup. For anyone who handles PDFs as part of their daily workflow, this small automation investment eliminates repetitive manual merging forever.

Method 4: Terminal Commands for Batch and Scripted Merging

macOS includes a command-line tool called python that can run CoreGraphics scripts for PDF manipulation. A simple Python script using the Quartz framework can merge every PDF in a folder. Open Terminal and create a script that lists the PDF files, opens each one, creates a new output document, and inserts each page. This approach is for users comfortable with the command line, but it scales to hundreds of files without the performance degradation of GUI-based tools.

For those who prefer a simpler command-line tool, installing CocoaPods or Homebrew provides access to utilities like pdftk and qpdf, which are cross-platform PDF toolkits. While these are not technically built-in, requiring a one-time Homebrew installation, they are free and open-source. The command to merge all PDFs in a folder with pdftk is: pdftk *.pdf cat output merged.pdf. This single line merges every PDF in the current folder into one file, ordered alphabetically by filename.

When Built-In Tools Are Not Enough

Preview's merge capability covers most needs but has limits. It cannot merge password-protected PDFs without the password. It does not preserve bookmarks from the source files. It offers no control over page size standardization, so if the source files have different page dimensions, the merged document will have inconsistently sized pages. It also processes files entirely in memory, which can slow down or crash with very large documents, over 500 pages or 100 MB.

For merges that need bookmark preservation, page size standardization, or handling of password-protected files, WukongPDF's Mac PDF merge tool, accessible through any browser, handles these cases. The browser-based tool also provides a visual drag-and-drop interface for page ordering that matches Preview's convenience while adding the features Preview lacks. The choice between built-in and browser-based comes down to the complexity of the merge. For simple merges of unprotected files, Preview is fast, free, and already installed. For merges with special requirements, a dedicated tool saves time and prevents frustration.

Preventing Common Merge Mistakes

Before merging, check the page dimensions of each source file. In Preview, open the file and press Command-I to view the Inspector. Note the page size. If the files have different page sizes, decide whether to standardize them before merging. A letter-sized page and an A4 page look almost identical on screen, but the size difference causes subtle layout shifts and printing problems. Standardize page sizes using Preview's Print dialog, selecting a common paper size and using Scale to Fit before merging.

After merging, scroll through the entire document once. Check that pages are in the correct order. Verify that no pages were accidentally omitted. Confirm that landscape pages within a portrait document are oriented correctly. A 30-second visual check prevents the embarrassment of sending a merged document with pages 10 through 15 inserted upside down or in the wrong sequence. WukongPDF's PDF Tools include a page preview that shows thumbnails of every page after merging, making errors immediately visible.

A practical tip for anyone who merges PDFs from different sources: standardize the page size before merging rather than after. When you merge a letter-sized PDF with an A4 PDF, the resulting document has inconsistently sized pages that cause problems during printing and viewing. The fix is to open each file in Preview, use the Print dialog to re-save it at a uniform page size with Scale to Fit enabled, and then merge the standardized files. This pre-merge standardization takes a minute per file and produces a merged document where every page is the same size, every page prints consistently, and the reading experience is seamless from start to finish. Skipping this step means accepting a document where the page dimensions jump with every source file boundary.

WukongPDF

Try Merge PDF

No installation needed. Works directly in your browser.

Get Started โ†’