A modern web app for working with PDF files directly in the browser. It lets you split, merge, and organize pages without needing desktop software.
This project provides a simple PDF toolkit with these main actions:
- Split a PDF into multiple files using custom page ranges, fixed-size chunks, single-page PDFs, or selected pages.
- Merge several PDFs into one document and reorder the files before exporting.
- Organize pages by rotating, deleting, duplicating, reordering, and previewing them.
- Add page numbers and edit PDF metadata such as title, author, and subject.
- Generate a sample PDF for testing the interface quickly.
- React + TypeScript
- Vite
- pdf-lib for PDF creation and manipulation
- PDF.js for rendering page previews
- Tailwind-inspired styling and Lucide icons
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open the local URL shown by Vite in your browser.
npm run dev— start the development servernpm run build— create a production buildnpm run preview— preview the built app locallynpm run lint— run TypeScript checks
src/components/— UI views for splitting, merging, and organizing PDFssrc/utils/— PDF processing helpers and worker logicsrc/types.ts— shared TypeScript typessrc/App.tsx— main app state and navigation
The app is designed for browser-based PDF editing and works best for local document management and quick PDF cleanup tasks.