This project aims to provide a powerful web-based toolbox of different PDF-related features.
Try or install PDF Tools here: https://pdf.wolke7.cloud.
Merge multiple PDF documents to one file.
There are different options for the outline of the merged file available:
- Retain outline entries as one entry per file: The outlines of the original documents are retained. They are included as children of the corresponding top-level outline element, which is created for every file.
- Retain outline entries: Simply retain the outline entries of the original documents, only adjusting the page/destination they point to, to account for the changed page numbering.
- Create one outline entry per file: Create a single outline entry for each of the documents, using the file name as a title.
- Don't create an outline: Don't create any outline for the merged PDF file.
Visually reorder the pages of a PDF file.
Extract and view or copy the text content of a PDF file, or individual pages.
Crop PDF pages automatically to their content.
The web app hosted at https://pdf.wolke7.cloud is a progressive web app (PWA). You can use it offline (after first visit) and even install it to have it easily available.
This project uses Typescript. The Web App (PWA) is implemented using Next.JS (React) and Tailwind CSS.
The main PDF merging and outline processing work is done in the following files: lib/pdf-outline-helper.ts
and components/PDFMagic.tsx
.
This project makes heavy use of the pdf-lib
JavaScript library for PDF manipulation.
See also https://pdf-lib.js.org, https://github.com/Hopding/pdf-lib and its fork used in this project: https://github.com/cantoo-scribe/pdf-lib.