How to Merge PDF Files: Combine PDFs in the Right Order

By Adel Elmoslemany, founder of DonePDF About 11 minutes to read

A job application with a CV, a cover letter and three certificates. An invoice and its receipts. Ten chapters exported as separate files. A portal that accepts only one upload. In each case you need one PDF made from several, in the right order. This guide shows how to do it with the free Merge PDF tool, which runs in your browser, and how to handle images, scans, mixed page sizes and files that refuse to merge.

Open the Merge PDF tool

Which tool for which job

Merge PDF joins whole files. A few jobs need a related tool:

You want to…Use
Join several PDFs into one, in an order you setMerge PDF
Join PDFs and photos (JPG, PNG, HEIC and more)Merge PDF and JPG
Join PDFs and text files (TXT, MD, CSV, LOG)Merge PDF and Text
Combine a file of front sides and a file of back sidesMerge Odd and Even Pages
Add another PDF and then move single pages aroundOrganize PDF
Take only some pages from a file before mergingExtract PDF Pages
Make the merged file smallerCompress PDF

Merge PDFs step by step

  1. Add the files. Click "Upload files" and select all the PDFs at once (hold Ctrl on Windows or Cmd on a Mac to pick several), or drop them anywhere on the page. You can add more later with "Add More Files".
  2. Set the order. The files are joined from the top of the list to the bottom. Drag a file to move it, or use its up and down arrows. The × button removes a file.
  3. Check the options. Type a name under "Output Filename", choose a page size and orientation, and decide on page numbers, a table of contents and form fields (see the options below).
  4. Merge. Click "Merge PDFs". The new file is saved to your device under the name you typed; ".pdf" is added if you leave it out.
  5. Check the result. Open the merged file and scroll through it once before you send it. If something is in the wrong place, click "Reset", put the files in order again and merge once more. Your original files are never changed.

Merge your PDFs now →

Get the order right

When you select many files at once, they appear in the order your computer hands them over, which is usually alphabetical. Two habits save time with long lists:

  • Number the file names first. Rename the files 01-cv.pdf, 02-cover-letter.pdf, 03-certificate.pdf and so on, then select them all. They arrive in the right order and you only check the list.
  • Use the arrows for small moves. Dragging is quick on a computer; the up and down arrows are more precise, especially on a phone.

The same file cannot be added twice: a file with the same name and size as one already in the list is skipped and the tool shows "No new valid files". If you really need a document twice, save a copy under another name.

The merge options explained

OptionWhat it doesDefault
Output FilenameName of the merged file. ".pdf" is added if missing.empty
Page Size"Original size" keeps every page as it is. A4, Letter, Legal, A3 or A5 scales every page to fit that size.Original size
OrientationWith a fixed page size: portrait or landscape paper. With "Original size", "Landscape" turns every portrait page by 90°.Portrait
Add page numbersPrints a number in the bottom right corner of every page.Off
Add table of contentsAdds a first page that lists each file and the page it starts on.Off
Preserve form fieldsKeeps the look of fields when pages keep their original size.On

Leave Orientation on "Portrait" unless you want pages turned. With "Original size", "Landscape" does not change the paper; it rotates every upright page so its content lies sideways.

One page size for every page

Files from different sources rarely match: a scanned receipt, a Letter-size form from the US and an A4 report end up as pages of different sizes, which looks untidy on screen and prints badly. Choose A4, Letter, Legal, A3 or A5 under "Page Size" and every page is placed on that paper size.

  • Each page is scaled to fit and centered. It is never stretched, so a page with different proportions gets white margins at the sides or at the top and bottom.
  • Pages that were rotated in the original keep showing the right way up.
  • Pick "Landscape" for wide paper, for example for slides or spreadsheets.

Because each page is redrawn onto new paper, form fields and links stop working in this mode. If you need those, keep "Original size". To change the size of a single file without merging, use Resize PDF.

Page numbers and a contents page

Page numbers. With "Add page numbers" on, every page of the merged file gets a plain number in the bottom right corner, counted from the first page. Leave it off if your files already carry their own numbers, or if a form must not be changed. For numbers in another position, font or format, merge without numbers and then use Add Page Numbers.

Table of contents. "Add table of contents" puts a new first page in front of the document. It lists the name of every file and the page where it starts, so a reader of a long bundle can find each part. Name your files clearly before merging, because the file names are what appears on that page. The entries are plain text, not clickable links, and the list fits on one page.

The contents page uses a standard PDF font. Letters it cannot show, for example Arabic or Chinese characters in a file name, are printed as "?". Rename such files in Latin letters if you want a readable contents page.

Combine PDFs and images

Merge PDF accepts PDF and text files only. To put photos, screenshots or scanned JPGs in the same file as your PDFs, use Merge PDF and JPG:

  1. Add your PDFs and images together. Besides JPG and PNG it takes formats such as WEBP, HEIC from iPhones, GIF, BMP, TIFF and SVG.
  2. Put them in order and turn any sideways photo with the rotate buttons.
  3. Create the PDF. Every image becomes a page between your documents.

Merge PDFs and images →

If you only have images and no PDFs, Images to PDF turns them into one PDF directly.

Combine PDFs and text files

Merge PDF also accepts plain text files (.txt). Each one is laid out on new pages with simple 10-point text, placed in the list order between your PDFs. This works for English and other text in Latin letters. The built-in font cannot draw Arabic, Chinese, Cyrillic and many other scripts, and the merge stops with an error; turn such text into a PDF in your own editor first.

For Markdown, CSV and log files as well, use Merge PDF and Text.

Merge PDFs and text files →

Merge front and back scans

A scanner that only scans one side gives you two files for a double-sided document: one with all the front sides, one with all the back sides, often in reverse order. Merge PDF would put the second file after the first, which is not what you want. Merge Odd and Even Pages interleaves the front and back sides page by page, so you get front 1, back 1, front 2, back 2 and so on. It works with the back sides in normal or reverse order, and from one file or two.

Combine front and back scans →

More scan problems, such as a whole file that came out backwards, are covered in How to Organize PDF Pages.

Merge only some pages

Merge PDF always adds every page of every file. When you only need part of a file, you have two ways:

The second way is quicker when you remove only a few pages; the first is easier when you keep only a few.

Put one PDF inside another

Merge PDF joins files one after another, so it cannot drop a file into the middle of another one. Use Organize PDF instead: open the main file, click "Merge" to add the second file (its pages are added at the end) and drag them to the right place. The step-by-step version is in How to Organize PDF Pages.

Insert pages with Organize PDF →

Applications and upload portals

Job sites, universities, visa centres and tender portals often accept one PDF per application, sometimes with a size limit. A short checklist:

  1. Put the documents in the order the instructions list them, usually form or letter first and supporting papers after.
  2. Choose A4 or Letter under "Page Size" so that every page prints the same.
  3. Leave "Add page numbers" off if the instructions ask for unchanged documents.
  4. Give the file a clear name, for example lastname-firstname-application.pdf.
  5. If the file is over the limit, run it through Compress PDF. For a target in megabytes see Compress PDF to an exact size, and for e-mail see PDF too large for e-mail.
  6. If the portal asks for a password-protected file, add the password last with Protect PDF.

Phone, Mac and Windows

Merge PDF works in any modern browser, so the steps are the same everywhere. Only finding the files differs:

DevicePicking several filesWhere the merged file goes
iPhone and iPad"Upload files" opens the Files app; tap "Select" to choose several PDFsFiles app, usually Downloads
AndroidLong-press one file in the picker, then tap the othersDownloads folder
MacCmd-click each file, or drag them from Finder onto the pageDownloads folder
WindowsCtrl-click each file, or drag them from File Explorer onto the pageDownloads folder

On a phone, put the files in order with the arrow buttons rather than by dragging, and keep very large sets for a computer, which has more memory.

What is kept and what is not

  • Quality: pages are copied without recompressing, so text stays selectable and images keep their resolution.
  • File size: about the size of all files added together. Compress afterwards if needed.
  • Bookmarks: the bookmarks of the original files are not carried over. Add a contents page if readers need to find each part.
  • Form fields and links: with "Original size" pages are copied as they are, but fields from different files can clash if they share names, so check a fillable form after merging. With a fixed page size fields and links stop working. If only the filled-in look matters, Flatten PDF each form first.
  • Digital signatures: a signed PDF loses its valid signature once it is part of a new file. Merge first, then sign the final document, for example with Sign PDF.
  • Password-protected PDFs: cannot be read. Remove the password with Unlock PDF first.
  • Number and size of files: no fixed limit; the memory of your device is what counts.

Troubleshooting

The merge stops with an error

The most common cause is a password-protected PDF; unlock it with Unlock PDF. A damaged file can sometimes be fixed with Repair PDF. A text file in a non-Latin script also stops the merge (see text files). Remove files one by one to find the one causing the error.

A file did not appear in the list

Merge PDF only takes PDF and text files; images go through Merge PDF and JPG. A file identical to one already in the list is skipped.

Pages are sideways in the merged file

Check that Orientation is set to "Portrait". With "Original size", "Landscape" turns every upright page. If a page was already sideways in the original file, fix it with Rotate PDF.

There are page numbers I did not want

"Add page numbers" was ticked. Untick it and merge again from your original files.

The merged file is too large to send

Run it through Compress PDF. Scans and photos usually shrink the most.

My phone gets slow or the page reloads

The browser ran out of memory with a very large set. Merge in two or three groups and then merge the results, or use a computer.

Privacy: where your files go

Merge PDF runs in your browser. Your files are read and joined on your own device and are not uploaded to our server; the merged file is saved straight to your device. The tool is free, needs no sign-up and adds no watermark.

Frequently asked questions

How do I merge PDF files into one?

Open Merge PDF, select all the files at once (or drop them on the page), put them in the right order with drag and drop or the arrow buttons, check the options and click "Merge PDFs". The combined file is saved to your device.

How do I change the order of the files?

Drag a file in the list to its new position, or use the up and down arrows next to it. The files are joined from the top of the list to the bottom.

Can I reorder single pages, not just whole files?

Not in Merge PDF, which keeps each file in one piece. Merge first, then open the result in Organize PDF and drag the pages where you want them.

How do I add page numbers while merging?

Tick "Add page numbers" before you click "Merge PDFs". Every page then gets a plain number in the bottom right corner. For another position or format, merge first and then use Add Page Numbers.

Can I merge PDFs with different page sizes?

Yes. With "Original size" every page keeps its own size. Choose A4, Letter, Legal, A3 or A5 if you want every page the same size; each page is then scaled to fit and centered, without being stretched.

Can I combine a PDF with JPG or PNG images?

Use Merge PDF and JPG. It accepts PDFs and common image formats in one list, so you can put a photo between two documents and save everything as one PDF.

Can I merge only some pages from each PDF?

Merge PDF always adds every page. Take the pages you need with Extract PDF Pages first, or merge everything and then delete the extra pages with Remove PDF Pages or Organize PDF.

How do I put one PDF in the middle of another?

Open the main file in Organize PDF, click "Merge" to add the second file (its pages go to the end) and drag them to the right place. Or split the main file first and merge the three parts in order.

Why does a file fail to merge?

The usual reason is a password: a protected PDF cannot be read until you remove the password with Unlock PDF. A damaged file can sometimes be fixed with Repair PDF.

Are bookmarks, links and form fields kept?

Bookmarks of the original files are not carried over. With "Original size" the pages are copied as they are; with a fixed page size each page is redrawn, so fillable fields and links do not stay active. A digital signature is no longer valid after merging.

Does merging reduce the quality?

No. Pages are copied without recompressing images, so text stays selectable and images keep their resolution. The merged file is about the size of the files added together; compress it afterwards if it is too big.

Is there a limit on the number or size of files?

There is no fixed limit in the tool. Because the work happens in your browser, very large sets depend on the memory of your device; if a phone struggles, merge on a computer or in smaller groups.

Can I merge PDFs on my phone?

Yes. Open Merge PDF in your phone browser, tap "Upload files" and pick several files. Use the arrow buttons to change the order, which is easier than dragging on a small screen.

Is my file uploaded, and is it free?

Merge PDF runs in your browser, so your files are not uploaded to our server. It is free, needs no account and adds no watermark.

Ready to merge your PDFs?

Open the tool, add your files, put them in order and click "Merge PDFs".

Merge PDF files now

More page tools are collected in the Merge, Split and Organize PDF Guide.