How to Merge and Split PDF Files Online (No Upload Required)
This guide has a free tool → Open PDF Merge & Split
# How to Merge and Split PDF Files Online (No Upload Required)
The Problem with Most Online PDF Tools
You need to combine three PDF files into one document, or extract pages 5 through 10 from a 40-page report. You search for "merge PDF online" and the first page of results is filled with dozens of tools. They all look roughly the same. They all have one thing in common: they want you to upload your files to their servers.
For a school assignment or a publicly available brochure, that is a reasonable trade-off. For anything that contains personal data, that trade-off deserves more scrutiny than most people give it.
When you upload a file to an online service, you are making a trust decision about:
- How long they retain your file after processing
- Who within the organization has access to it
- Whether their servers are encrypted at rest and in transit
- Whether their privacy policy allows them to use your content
- Whether they have been breached in the past and will be again
For PDFs specifically, this matters more than it might for other file types. PDFs are the format of choice for contracts, tax returns, medical records, financial statements, legal filings, and HR documents. These are exactly the files people commonly need to merge or split - and exactly the files that should not be uploaded to unknown third-party servers.
A 2023 audit of several popular online PDF tools found that some retained uploaded files for 72 hours or more after the user "deleted" them. Some services explicitly include language in their terms of service allowing them to process uploaded content to "improve their products."
The solution is not to find a more trustworthy cloud PDF service. The solution is to process PDFs in your browser - where the files never leave your device.
---
PDF Merge & Split
Merge PDF online free or split PDF into pages - no upload to servers, all processing happens in your browser
Image Compressor & Resizer
Compress images online free without uploading - reduce image file size in your browser with no quality loss
Client-Side PDF Processing: How It Works
Modern browsers are full programming environments. The JavaScript that runs in a browser tab can read files from your disk, manipulate them in memory, and write results back to your disk - all without any server involvement.
Several open-source JavaScript libraries handle PDF manipulation at this level:
- pdf-lib - Create, modify, and combine PDF files in JavaScript
- PDF.js - Mozilla's PDF rendering engine (also runs in browsers)
- pdfmake - Generate PDFs from document definitions
- jsPDF - Create PDFs from HTML and JavaScript
When you use PDF Merge & Split, the processing happens through JavaScript in your browser tab. The workflow looks like this:
- You select files through the browser's file picker
- JavaScript reads those files into browser memory (ArrayBuffer)
- The library parses and manipulates the PDF data in memory
- The result is created as a new Blob in memory
- The browser triggers a download of that Blob to your disk
- The tab closes, the browser clears the memory
At no point does your PDF data travel over the network. The server only serves the JavaScript code that does the processing - the data itself never leaves your machine.
The Practical Limits of Browser Processing
Since processing happens in your browser's memory, the limit is your available RAM. A modern laptop with 16GB of RAM can comfortably handle PDFs up to several hundred megabytes. Very large PDFs (500MB+) may cause the browser tab to run slowly or crash on memory-constrained devices.
Contrast this with cloud-based tools, which often impose file size limits (the free tier might cap at 25MB), page limits, or a maximum number of daily operations. Browser-based processing has none of these artificial constraints - the only real limit is your hardware.
---
How to Merge PDFs
Merging PDFs means combining the pages from multiple PDF files into a single output file, in a specified order.
Step 1: Open the Tool
Navigate to PDF Merge & Split. The page loads the processing library from the server, but from this point forward, no data leaves your browser.
Step 2: Add Your Files
Drag and drop multiple PDF files into the upload zone, or click to open the file browser and select multiple files at once (hold Ctrl or Cmd to select multiple files). Files appear in a list showing their name and page count.
Step 3: Order Your Files
The order of files in the list determines the order of pages in the merged output. If you added files in the wrong order, drag them to rearrange. The final document will contain all pages from the first file, followed by all pages from the second file, and so on.
This step matters more than it seems. Most people forget to arrange files before merging and end up with a document in the wrong order, requiring them to merge again.
Step 4: Merge and Download
Click the Merge button. The library reads each PDF file, extracts its pages in order, writes them into a new PDF document, and triggers a download of the result. For typical document-sized PDFs (under 50MB total), this takes a few seconds. The output is saved with a default filename that you can rename before or after downloading.
---
Common Merge Use Cases
Combining Invoice Scans for Expense Reports
Many companies require expense reports with attached invoice images. If each invoice is a separate scan, merging them into one PDF makes submission cleaner and easier for accounting to process. You can merge 10, 20, or 50 invoices in a single operation.
Assembling a Document for Signature
Cover letter, contract body, and exhibits are often authored separately and need to be combined into one document for a DocuSign or similar workflow. Merge them in the correct order before uploading to the signature service.
Combining Resume Components
If your portfolio, CV, and cover letter are separate documents, merge them for a single-file submission. This ensures the recipient sees everything in the order you intended.
Creating a Book or Report from Chapters
When multiple authors each contribute a chapter or section, the final assembly step is often just a PDF merge. Browser-based processing means you can do this locally without sending the full manuscript to a cloud service.
Consolidating Scanned Records
Medical records, historical documents, and multi-page forms are often scanned page by page. Merging them creates a single coherent document for storage or submission.
---
How to Split a PDF
Splitting means extracting a subset of pages from a PDF to create a new, smaller document. There are several variations:
Extract a Page Range
The most common split operation: you have a 50-page report and you want pages 10-15. Specify the start and end page. The output contains only those pages.
Use cases:
- Extract the executive summary from a long report
- Pull out the signature pages from a contract
- Extract a specific section for sharing without the full document
- Get the financial statements from an annual report
Extract Specific Individual Pages
Sometimes you need non-contiguous pages. Specify a comma-separated list: 1, 5, 8, 12. The output contains exactly those pages in that order.
Use cases:
- Extract specific exhibits referenced in a legal filing
- Pull out individual pages that need to be filed separately
- Create a highlights version from selected pages of a presentation
Split Into Individual Pages
Extract every page as its own separate PDF file. The result is N PDF files for an N-page document.
Use cases:
- A batch scan contains multiple separate documents that need to be filed individually
- Each page of a contract needs separate signing
- Individual pages need to be attached to different tickets or records
- Creating separate assets from a multi-up PDF sheet
Remove Specific Pages
The inverse of extraction: keep everything except certain pages. This is useful when you want most of the document but need to redact or exclude specific pages before sharing.
If you want to keep pages 1-10 and 15-50 but exclude pages 11-14, specify the pages you want to keep rather than the pages to remove.
---
Working with PDF Pages
Understanding PDF Page Numbering
PDFs use 1-based page numbering (page 1 is the first page). This matches what you see in a PDF viewer. When specifying page ranges, use the page numbers as displayed in the viewer, not internal document IDs.
Note that some PDFs have internal page numbering that differs from their physical position. A legal document might show page i, ii, iii for the front matter, then 1, 2, 3 for the body. In page extraction tools, you typically work with the physical page position (page 1 = first physical page), not the printed number.
Checking Page Count Before Splitting
Before splitting, verify the total page count. Open the PDF in any viewer. Chrome, Firefox, and Edge can all display PDFs natively - drag and drop the file into the browser. The page count appears in the viewer controls.
This matters when someone sends you "page 15 of the contract" but you need to know which physical page in the file that corresponds to.
Preserving Page Orientation
When merging documents that contain a mix of portrait and landscape pages, each page's orientation is preserved in the output. A landscape chart embedded in an otherwise portrait document will remain landscape in the merged output. This is correct behavior, though it may look unusual when scrolling.
Some PDF viewers automatically rotate pages to fill the viewport, which can make orientation less obvious when reviewing. The actual orientation data in the file is unchanged.
---
Password-Protected PDFs
Most browser-based PDF tools, including browser-based merge and split, cannot process encrypted PDFs. This is by design - the encryption exists to prevent unauthorized processing.
If you try to merge or split a password-protected PDF, the tool will display an error.
To work with an encrypted PDF:
- Open it in a PDF viewer (Adobe Acrobat, Preview on Mac, or any viewer that prompts for the password)
- Print to PDF - most operating systems have a built-in "Print to PDF" function
- The printed output will be an unencrypted PDF that you can then merge or split
On macOS: Open the encrypted PDF in Preview, enter the password, then go to File > Export as PDF. Save the unencrypted version.
On Windows: Open in any viewer, then go to File > Print, select "Microsoft Print to PDF" as the printer, and print to a file.
Be cautious about which files you unlock this way. Encryption on a PDF may exist for a reason - confirm you are authorized to create an unlocked copy before doing so.
---
Scanned PDFs vs. Native PDFs
Understanding the two categories of PDF files helps set expectations about what operations are possible.
Native PDFs
Native PDFs are created digitally from a source application - Microsoft Word, LibreOffice, LaTeX, InDesign, Google Docs, or any software with "Export to PDF" or "Print to PDF." They contain:
- Actual text as encoded characters (searchable, selectable, copyable)
- Vector graphics and fonts that scale to any resolution
- Clickable hyperlinks
- Bookmarks and table of contents navigation
- Embedded metadata (author, title, creation date)
- Sometimes forms, annotations, or interactive elements
Native PDFs merge cleanly. The merged output preserves text searchability, links, and navigation. File sizes are efficient because text is stored as characters rather than pixels.
Scanned PDFs
Scanned PDFs are digital photographs of physical paper, wrapped in a PDF container. They contain:
- Images of pages (often JPEG or CCITT-compressed raster images)
- No searchable text (unless OCR was applied after scanning)
- Fixed resolution - zooming in reveals pixelation
- No working hyperlinks
- Often larger file sizes than equivalent native PDFs for the same visual content
Scanned PDFs can be merged and split successfully. The operation works on the image data the same way. But the output is still a collection of page images - merging two scanned PDFs does not magically make the text searchable.
Checking Whether a PDF is Scanned or Native
Open the PDF and try to select a word of text. If you can click and drag to select text characters, it is a native PDF. If you can only select the whole page or nothing, it is a scanned PDF.
In Chrome's built-in PDF viewer, the search function (Ctrl+F) will find nothing in a purely scanned PDF.
---
PDF File Size Considerations
Why Merged PDFs Can Be Large
The merged PDF size is approximately the sum of all input file sizes, plus a small overhead for the merged document structure. No compression or optimization is applied during a simple merge.
If the merged file is too large for email or a file size-limited upload:
Re-compress images within the PDF. If the source PDFs contain high-resolution images or scanned pages, a PDF optimizer can reduce the image quality/resolution to shrink the file. This is a different operation from merging - it requires a tool that can re-encode the image data inside the PDF.
Compress images before including them. If you are scanning documents specifically to merge them, scan at 150 DPI instead of 300 DPI. For document text, 150 DPI is readable. The resulting scans will be significantly smaller.
Use the [Image Compressor](/tools/image-compressor) on source images. If you are creating PDFs from images, compress those images first. Smaller input images produce smaller PDFs.
File Size After Splitting
When you extract pages from a PDF, the output file size is roughly proportional to the number of pages extracted as a fraction of the total. Extracting 5 pages from a 50-page document produces a file about 10% the size of the original. The actual ratio depends on whether the extracted pages are image-heavy or text-heavy.
---
PDF Security and Metadata
PDFs can contain metadata similar to images. Native PDFs often include:
- Author name (from the creating application's user settings)
- Software name and version that created the PDF
- Creation date and last modified date
- Title and subject fields
- Comments and annotations with author names
This metadata travels with the file. Before sharing a PDF containing sensitive metadata, consider reviewing and potentially removing it.
In Adobe Acrobat: File > Properties > Description tab shows metadata, and File > Properties > Security shows encryption settings.
Using ExifTool on the command line:
# View PDF metadata
exiftool document.pdf
# Remove all metadata from a PDF
exiftool -all= document.pdf
# Remove only author and creator fields
exiftool -author= -creator= document.pdfNote that removing metadata does not affect the visual content of the PDF - it only removes the embedded fields.
---
Automating PDF Merging with Code
For developers who need to merge or split PDFs programmatically, here are examples in several languages.
JavaScript / Node.js with pdf-lib
const { PDFDocument } = require('pdf-lib');
const fs = require('fs');
async function mergePDFs(inputPaths, outputPath) {
const mergedPdf = await PDFDocument.create();
for (const inputPath of inputPaths) {
const pdfBytes = fs.readFileSync(inputPath);
const pdf = await PDFDocument.load(pdfBytes);
const pages = await mergedPdf.copyPages(pdf, pdf.getPageIndices());
pages.forEach((page) => mergedPdf.addPage(page));
}
const mergedPdfBytes = await mergedPdf.save();
fs.writeFileSync(outputPath, mergedPdfBytes);
console.log(`Merged ${inputPaths.length} PDFs into ${outputPath}`);
}
// Usage
mergePDFs(
['invoice-jan.pdf', 'invoice-feb.pdf', 'invoice-mar.pdf'],
'invoices-q1.pdf'
);JavaScript / Node.js - Extract Pages
const { PDFDocument } = require('pdf-lib');
const fs = require('fs');
async function extractPages(inputPath, outputPath, startPage, endPage) {
// Pages are 0-indexed internally, but users think in 1-based
const startIndex = startPage - 1;
const endIndex = endPage - 1;
const pdfBytes = fs.readFileSync(inputPath);
const pdfDoc = await PDFDocument.load(pdfBytes);
const newPdf = await PDFDocument.create();
const indices = [];
for (let i = startIndex; i <= endIndex; i++) {
indices.push(i);
}
const pages = await newPdf.copyPages(pdfDoc, indices);
pages.forEach((page) => newPdf.addPage(page));
const newPdfBytes = await newPdf.save();
fs.writeFileSync(outputPath, newPdfBytes);
console.log(`Extracted pages ${startPage}-${endPage} to ${outputPath}`);
}
// Extract pages 5-10
extractPages('report.pdf', 'report-extract.pdf', 5, 10);Python with PyPDF2
from pypdf import PdfWriter, PdfReader
def merge_pdfs(input_paths: list[str], output_path: str) -> None:
writer = PdfWriter()
for path in input_paths:
reader = PdfReader(path)
for page in reader.pages:
writer.add_page(page)
with open(output_path, 'wb') as f:
writer.write(f)
print(f"Merged {len(input_paths)} PDFs into {output_path}")
def extract_pages(input_path: str, output_path: str,
start_page: int, end_page: int) -> None:
reader = PdfReader(input_path)
writer = PdfWriter()
# Convert from 1-based (user) to 0-based (internal)
for page_num in range(start_page - 1, end_page):
writer.add_page(reader.pages[page_num])
with open(output_path, 'wb') as f:
writer.write(f)
print(f"Extracted pages {start_page}-{end_page} to {output_path}")
def split_into_individual_pages(input_path: str, output_dir: str) -> None:
import os
reader = PdfReader(input_path)
os.makedirs(output_dir, exist_ok=True)
for i, page in enumerate(reader.pages):
writer = PdfWriter()
writer.add_page(page)
output_path = os.path.join(output_dir, f"page-{i+1}.pdf")
with open(output_path, 'wb') as f:
writer.write(f)
print(f"Split {len(reader.pages)} pages into {output_dir}")
# Example usage
merge_pdfs(['chapter1.pdf', 'chapter2.pdf', 'chapter3.pdf'], 'book.pdf')
extract_pages('annual-report.pdf', 'financial-statements.pdf', 45, 58)
split_into_individual_pages('scanned-batch.pdf', './individual-pages/')Bash with Ghostscript
For Linux systems where Ghostscript is installed:
# Merge multiple PDFs
gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=merged.pdf \
-dBATCH file1.pdf file2.pdf file3.pdf
# Extract pages 5-10
gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=extract.pdf \
-dBATCH -dFirstPage=5 -dLastPage=10 input.pdfCommand Line with pdftk
pdftk is a popular command-line PDF toolkit:
# Install on Ubuntu
sudo apt-get install pdftk
# Merge two PDFs
pdftk file1.pdf file2.pdf cat output merged.pdf
# Extract pages 5-10
pdftk input.pdf cat 5-10 output extract.pdf
# Extract individual pages (pages 3, 7, and 12)
pdftk input.pdf cat 3 7 12 output selected.pdf
# Split into individual pages
pdftk input.pdf burst output page_%04d.pdf---
PDF Accessibility Considerations
When merging PDFs that will be published or submitted formally, consider accessibility.
Tagged PDFs. Accessible PDFs contain "tags" - structural markers that define headings, paragraphs, lists, table cells, and image alt text. Screen readers use these tags to present the document in a meaningful order. Merging two tagged PDFs preserves the tags from both. However, if the documents have different tag structures, the combined document may have accessibility issues at the merge point.
Reading order. The reading order in a PDF is separate from the visual layout. After merging, verify that the reading order (as seen by a screen reader) matches the visual order. PDF accessibility tools like Adobe Acrobat Pro or the free Accessibility Checker can audit this.
Bookmarks. Long merged documents benefit from a bookmark/navigation panel. If the source PDFs had bookmarks, they may or may not be preserved in the merged output depending on the merging tool.
For formal document submissions (government filings, legal documents, academic submissions) that require PDF/A or Section 508 compliance, a simple merge may not be sufficient. Verify compliance requirements before submitting.
---
When to Use PDF vs. Other Formats
Not every document needs to be a PDF. Understanding when PDF is the right choice avoids unnecessary processing.
Use PDF when:
- The document needs to look identical across all recipients regardless of their software
- The document must be printable with precise layout
- You are submitting a final, signed, or official version
- You need to preserve fonts and complex formatting from the original application
- The recipient expects a PDF (contract, invoice, formal report)
Consider other formats when:
- The document will be edited by the recipient (use DOCX or similar)
- The content is primarily data (use CSV or JSON - tools like CSV to JSON and JSON to CSV can help)
- The content is web-published and needs to be searchable and accessible (use HTML)
- The document is for internal collaboration (use the native format of your collaboration tool)
---
Privacy-First PDF Workflow
For handling sensitive documents, establish a workflow that keeps all processing local:
- View PDFs locally. Use your system PDF viewer or a browser rather than uploading to a cloud viewer.
- Merge and split locally. Use PDF Merge & Split in the browser, which processes files without uploads. Alternatively, use pdftk, Ghostscript, or the Python/Node.js libraries shown above.
- Remove PDF metadata before sharing. Use ExifTool to strip author, software, and creation date metadata if these are sensitive.
- Convert to PDF from trusted sources. When creating PDFs from other formats, use your local application's "Print to PDF" or "Export to PDF" rather than uploading to an online converter.
- Verify what you are sharing. Before sending a merged document, review it to confirm only the intended pages are present, especially if you merged documents that had sections not meant for the recipient.
---
PDF Merge and Split Troubleshooting
Even with a client-side tool, you may encounter issues. Here are the most common problems and their solutions.
The Merged PDF Is Blank or Corrupted
This can happen when one of the source PDFs is malformed or uses a feature the merging library does not support (such as advanced PDF forms, certain types of digital signatures, or non-standard encryption). Try each source PDF individually to identify which one is causing the issue. Open the problematic file in a standard viewer to confirm it renders correctly - a PDF that appears broken in your viewer will not merge correctly either.
Pages Are in the Wrong Order
After downloading the merged PDF, the page order does not match what you intended. The most common cause is that files were added in a different order than expected, or the drag-to-reorder step was missed. Re-open the tool, add files in the correct order (or drag them to the correct positions), and merge again. Preview the order in the tool before merging to avoid a second pass.
The PDF Opens But Some Pages Are Missing
If you extracted pages 5-10 but the output only shows 4 pages, check whether the source PDF uses non-standard page numbering. Some PDFs insert blank pages, cover pages, or separator pages that are counted in the physical page order but are easy to miss when specifying ranges. Open the source PDF and count pages from the very beginning to verify your page range.
Fonts Look Different After Merging
This is rare with client-side PDF merging, but some older PDFs embed fonts in ways that do not combine cleanly. If font rendering changes after merging, the source PDF likely has non-standard font embedding. Converting the problematic source PDF to a fresh PDF first (using Print to PDF on your operating system) often resolves this by normalizing the font embedding.
Large Files Take a Long Time to Process
For very large PDFs (hundreds of megabytes), browser-based processing takes longer because it must hold the entire file in RAM. This is normal. For files over 200MB, consider using a command-line tool like pdftk or Ghostscript which are more efficient for large files. For everyday document sizes (under 50MB per file), browser-based processing is fast enough that the difference is not noticeable.
---
Comparing PDF Processing Approaches
Understanding the trade-offs between different PDF processing approaches helps you choose the right tool for each situation.
| Approach | Privacy | Speed | File Size Limit | Cost | Offline |
|---|---|---|---|---|---|
| Browser-based (client-side) | Highest - no upload | Fast for typical sizes | Limited by RAM | Free | Yes |
| Cloud service (free tier) | Low - files uploaded | Fast | Often 25-100MB | Free with limitations | No |
| Cloud service (paid) | Low - files uploaded | Fast | Higher or unlimited | Monthly fee | No |
| Desktop app (Acrobat) | High - local | Fast | Limited by disk | High cost | Yes |
| Command line (pdftk/gs) | High - local | Very fast | Limited by disk | Free | Yes |
| Programmatic (pdf-lib) | High - local | Depends on code | Limited by RAM/disk | Free | Yes |
For most everyday PDF tasks - combining a few documents, extracting some pages - the browser-based approach is the right choice. It is free, requires no installation, and processes files locally. For bulk operations on many large files, command-line tools are more efficient.
---
Try It Now
The PDF Merge & Split tool processes everything in your browser. Your files never leave your device. There are no file size limits beyond your available RAM, no page limits, no watermarks, and no account required.
Drag in your PDFs, reorder if needed, and get results in seconds. The same tool handles merging, page extraction, and splitting into individual pages - all the common PDF manipulation tasks, without uploading anything to a server.
For bulk PDF processing or automation, the code examples in this guide give you the same capabilities programmatically using pdf-lib (JavaScript/Node.js) or PyPDF2 (Python). For quick one-off operations, the browser-based tool is the fastest path from files to result.
Related Tools
Free, private, no signup required
JSON Formatter
JSON formatter and validator online - format, beautify, and validate JSON data instantly in your browser
Base64 Encoder/Decoder
Base64 encode and decode online - convert text to Base64 or decode Base64 strings instantly, free
Text Diff Checker
Free online text diff checker - compare two texts and see the differences highlighted line by line
Password Generator
Strong password generator online - generate secure random passwords that never leave your browser
You might also like
Want higher limits, batch processing, and AI tools?