Welcome to OpenPDF Tools – your one-stop, open-source playground for slicing, rotating, merging, and splitting PDFs. No uploads. No servers. Just clean, local PDF magic, straight from your browser.
🚀 Built with Vite, React, Tailwind CSS, and sprinkled with shiny Lucide React icons — this project is as sleek under the hood as it is on-screen.
Explore the landing page and tools here:
👉 https://openpdftools.sabarinath.dev/
Jump straight into cropping:
✂️ https://openpdftools.sabarinath.dev/#/crop
- ✂️ PDF Cropper – Crop one page, selected pages, or the whole document.
- 🔄 PDF Rotator – Coming soon!
- 🔗 Merge PDFs – Coming soon!
- ✂️ Split PDFs – Coming soon!
All tools run 100% in-browser. No file uploads. Your PDFs stay with you.
- Drag and drop PDFs like it’s 1999
- Crop one page, selected pages, or the whole book — your call
- Built on Vite for lightning-fast performance ⚡
- Styled with Tailwind CSS for sleek, responsive UI
- Works completely offline — your PDFs stay safe and private
- Node.js (we used v22.17.0 — but anything recent should work)
- npm or yarn — pick your favorite package manager
-
Clone the repo:
git clone https://github.com/SabarinathRajendran/open-pdf-tools.git cd open-pdf-tools
-
Install all the goodies:
npm install # or yarn install
-
Fire it up:
npm run dev # or yarn dev
-
Visit http://localhost:5173 and behold your tool kingdom.
- Upload your PDF like a boss
- View pages with smooth, scrollable previews
- Use crop handles to define the area to keep
- Apply the crop to a specific page, multiple pages (comma-separated), or all pages
- Export and download your cleanly cropped PDF
- PDF wizardry powered by pdf.js
- React + SVG overlays for precise, buttery cropping
- Crop logic with multi-page support
- No servers, no nonsense — everything runs in your browser
- Vite — snappy dev experience
- React — component magic
- Tailwind CSS — beautiful UIs, no hassle
- Lucide React — modern icons
- pdf.js — PDF parsing like a wizard
Got ideas? Found a bug? Wanna add a funky new feature? Here’s how:
- Fork the repo
- Create a new branch:
git checkout -b feature/my-awesome-update
- Make your magic happen 💻
- Push and open a Pull Request
- Pat yourself on the back 🥳
Bonus points for clean code and thoughtful commits. Cookies for tests 🍪
Licensed under the MIT License — use it, fork it, remix it.
Open an issue if you have questions, suggestions, or jokes.
I'm always happy to help (and rarely bite).
Thanks for checking out OpenPDF Tools — now go crop like a pro, merge like a master, and split like a ninja. ✂️🧙♂️📄