Skip to content

How PDF Merge & Split works

Atlanta, USA

GitHub Cloud2BR OSS - Learning Hub

Last updated: 2026-08-28


PDF Merge & Split is a static web application. PDF bytes are read into browser memory and processed locally; the app has no upload API, database, or storage service.

How it works

  1. Select one or more PDF files from your device.
  2. Choose Merge to combine files in order, or Split to select pages from one document.
  3. For merge, choose a uniform page size. A4 portrait is the default.
  4. Choose PDF, separate PDFs, PNG, or JPG output as available.
  5. The browser creates the result and starts a local download.

The app uses pdf-lib for PDF page operations, PDF.js for page rendering, and JSZip for multi-file downloads.

Page ranges

Enter page numbers and inclusive ranges separated by commas:

1-3, 5, 8-10

Ranges are validated against the selected document. Repeated pages are included once, in the order entered.

Merged page layout

Merged PDFs default to A4 portrait, so every output page has the same dimensions. Letter and landscape layouts are also available. Source pages are scaled proportionally, centered, and given a small margin; content is never stretched or cropped. Select Keep original page sizes when preserving each source page's dimensions is more important than a uniform document layout.

Privacy model

  • Files stay in the current browser tab.
  • No document content is transmitted to Cloud2BR or GitHub Pages.
  • The workspace is cleared when the page is refreshed or closed.
  • Generated files are downloaded directly to the device.

Warning

Browser memory limits still apply. For very large or sensitive documents, use an approved desktop tool and follow your organization's data-handling policies.

Supported outputs

Operation Output Result
Merge PDF One PDF containing every source page in the displayed order
Split PDF One PDF containing the selected pages
Split Separate PDFs One PDF per entered range, packaged as ZIP
Split PNG or JPG One image per selected page, packaged as ZIP

Password-protected or malformed PDFs may not be readable. The original files are never modified.