Skip to content
Krishnendu1910Public

About

PDFly is a privacy-focused, browser-based PDF toolkit featuring 15+ tools for merging, splitting, compressing, signing, protecting, and converting PDFs. Built with React, TypeScript, PDF.js, pdf-lib, and QPDF WebAssembly, it prioritizes local processing, security, accessibility, and a clean user experience.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

πŸ“„ PDFly β€” Simple PDF Tools, Right in Your Browser

Your PDFs. Your browser. Your control.

A privacy-focused PDF toolkit for everyday document tasks β€” organize, convert, edit, and finish documents directly in your browser.

Animated walkthrough of PDFly

🌐 Open PDFly Β Β·Β  πŸ’» View Source Β Β·Β  πŸ› Report an Issue

React 19 TypeScript Vite Client-side processing

Privacy first 15 PDF tools Deployed on Vercel


🧭 Table of Contents


✨ What Is PDFly?

PDFly is a browser-based PDF toolkit built to make everyday document tasks simple, accessible, and privacy-conscious.

Many online PDF services upload documents to remote servers for processing. PDFly takes a different approach: supported PDF operations are processed locally in your browser, without uploading files to a backend for processing.

Use PDFly to organize pages, convert images, merge documents, compress supported content, add page numbers, and perform other common PDF tasks β€” all from one interface.

Important

PDFly is designed for client-side processing. Browser-local processing is not a guarantee that every file or every operation will work perfectly; compatibility depends on the document, operation, and browser.

πŸ–ΌοΈ Product Preview

🏠 Homepage

The homepage introduces PDFly and provides quick access to popular PDF utilities.

PDFly homepage with product introduction and popular PDF tools

🧰 Explore All PDF Tools

Browse the available utilities, filter tools by category, and search for a specific workflow.

PDFly tools directory with categories and PDF utility cards

πŸ–ΌοΈ Images to PDF

Select or drop supported image files, then convert them into a PDF directly in the browser.

PDFly Images to PDF tool with file selection area

πŸ” Privacy by Design

PDFly is built around the principle that documents should not need to leave your device just to perform everyday PDF tasks.

PDFly privacy page explaining local processing and document privacy

πŸ” Privacy Comes First

PDFly is designed to keep document processing under the user's control.

  • πŸ–₯️ Local processing: Supported document operations run directly in your browser.
  • 🚫 No processing uploads: Files are not uploaded to a backend for PDF processing.
  • 🧭 No document-processing telemetry: PDFly does not use analytics or telemetry to track document processing.
  • πŸ“₯ Direct downloads: Generated files can be downloaded directly to your device.

Your documents should remain under your control.

The privacy claims above describe the intended document-processing design. Hosting, browser extensions, device security, and other parts of a user's environment remain outside the application's control.

🧰 Features

PDFly includes 15 PDF tools for everyday document workflows.

Tool What it does
πŸ“‘ Merge PDF Combine multiple PDFs into one document.
βœ‚οΈ Split PDF Divide a PDF into separate documents using pages or ranges.
πŸ”€ Reorder PDF Rearrange pages into your preferred sequence.
πŸ”„ Rotate PDF Rotate individual pages or an entire document.
πŸ—‘οΈ Remove Pages Remove unwanted pages from a PDF.
πŸ“ƒ Extract Pages Select specific pages and create a new PDF.
πŸ–ΌοΈ Images to PDF Turn supported images into a PDF document.
🎞️ PDF to Images Render PDF pages as images.
πŸ“ PDF to Markdown Extract document text into Markdown-oriented content.
πŸ“¦ Compress PDF Reduce PDF file size through supported image optimization.
πŸ”’ Page Numbers Add page numbers to your document.
πŸ’§ Watermark PDF Add customizable text watermarks.
πŸ“ Crop PDF Adjust visible page boundaries.
✍️ Sign PDF Place a visual signature on PDF pages.
πŸ”’ Protect / Unlock PDF Apply password protection or unlock supported encrypted PDFs.

Results depend on document structure, browser capabilities, and the operation being performed.

πŸš€ How to Use PDFly

No installation is required to use the live website.

  1. 🌐 Open PDFly: Visit pdfly-rho.vercel.app.
  2. 🧰 Choose a tool: Select the PDF operation you need.
  3. πŸ“‚ Add your file: Select a PDF or supported image files from your device.
  4. βš™οΈ Configure the operation: Choose pages, settings, output options, or other available controls.
  5. ⚑ Process your document: Let your browser perform the supported operation.
  6. πŸ“₯ Download your result: Review the output filename and download the generated file.

That's it β€” no account is required to get started.

πŸ› οΈ Tech Stack

Category Technologies
βš›οΈ Frontend React 19, TypeScript
⚑ Build Tool Vite
🎨 Styling Tailwind CSS v4
🧭 Routing React Router
🎞️ Animation Framer Motion
πŸ”€ Typography Manrope, DM Mono
🎯 Icons Phosphor Icons
πŸ“„ PDF Manipulation pdf-lib
πŸ” PDF Rendering and Text Extraction PDF.js (pdfjs-dist)
πŸ” Encryption and Decryption QPDF WebAssembly
🧡 Background Processing Web Workers where applicable
πŸ§ͺ Testing Vitest, React Testing Library
🧹 Code Quality ESLint, TypeScript type checking
☁️ Deployment Vercel

πŸ—οΈ Run PDFly Locally

πŸ“‹ Prerequisites

  • Node.js β€” use a version supported by the project's dependencies.
  • npm β€” included with Node.js.
  • Git.

1️⃣ Clone the repository

git clone https://github.com/Krishnendu1910/PDFly.git
cd PDFly

2️⃣ Install dependencies

npm install

3️⃣ Start the development server

npm run dev

Open the local URL printed in your terminal, typically http://localhost:5173.

4️⃣ Run checks

# Run tests
npm test -- --run

# Check code quality
npm run lint

# Check TypeScript types
npm run type-check

# Create a production build
npm run build

Run the commands in your local environment to verify the current checkout; this README does not imply that checks have already passed on every commit.

πŸ”’ Security and Engineering

PDF processing requires careful handling of untrusted files and browser resources. PDFly incorporates safeguards intended to make document handling more robust.

  • πŸ›‘οΈ Hardened PDF.js configuration: Embedded scripting is disabled, and dynamic evaluation support is turned off.
  • πŸ“ Defensive resource limits: Limits apply to selected page operations, cumulative merge size, image batches, and canvas dimensions.
  • πŸ” Encrypted document handling: Encrypted PDFs are handled explicitly rather than silently bypassing encryption checks.
  • 🧼 Output filename sanitization: Generated filenames are sanitized to reduce risks from unsafe names and path-like input.
  • ♻️ Resource cleanup: Temporary object URLs and PDF.js document resources are cleaned up when no longer needed.
  • βœ… Output validation: Generated PDF output is checked for the expected PDF file signature before downloading.

PDFly is designed to process documents locally, but client-side processing does not eliminate every possible risk or guarantee that every PDF will work correctly.

βš™οΈ Production Build

Create an optimized production build:

npm run build

Vite generates the production files in the dist/ directory.

To preview the build locally:

npm run preview

☁️ Deployment

PDFly is a client-side single-page application and does not require a dedicated application backend for its supported PDF operations.

Deploy with Vercel

  1. Push your repository to GitHub.
  2. Sign in to Vercel.
  3. Import the PDFly repository.
  4. Confirm the build command is npm run build.
  5. Set the output directory to dist.
  6. Deploy the application.

Ensure the hosting platform supports SPA route fallback, so direct visits to routes such as /tools/merge resolve correctly.

⚠️ Limitations

  • 🧠 Browser memory: Large PDFs and image-heavy documents may consume substantial memory.
  • πŸ’» Device performance: Processing speed depends on the device, browser, and document complexity.
  • πŸ” Encrypted PDFs: Support depends on the operation and encryption format; unsupported documents may fail.
  • πŸ“„ PDF compatibility: Complex layouts, unusual fonts, scanned documents, and damaged files may produce imperfect results.
  • πŸ–ΌοΈ Image conversion: High-resolution pages can require significant memory and processing time.
  • 🧰 Feature scope: PDFly focuses on its existing tools; it does not claim to replace every professional PDF editor.

πŸ—ΊοΈ What's Next?

PDFly focuses on essential PDF workflows already available. Potential future improvements include:

  • 🩹 PDF repair
  • 🧱 PDF flattening
  • πŸ–οΈ Secure redaction
  • 🧹 Metadata removal
  • πŸ“· PDF scanning
  • ⚑ Further performance, compatibility, and usability improvements

These are possible future additions, not promises of availability in the current release.

πŸ’¬ Feedback and Contributions

Your feedback can help shape the next version of PDFly.

  • What worked well?
  • What was confusing?
  • Did you encounter a bug?
  • Which feature would make PDFly more useful?

🌐 Try PDFly Β Β·Β  πŸ› Report an Issue Β Β·Β  ⭐ Star on GitHub

πŸ“„ License

PDFly is currently private and proprietary. All rights reserved.

The source repository is available for viewing under its current access settings; viewing or cloning the code does not grant permission to redistribute, modify, or commercially use it without authorization.


πŸ“„ PDFly

Your PDFs. Your browser. Your control.

Built with care by Krishnendu Sarkar.

LinkedIn Β· GitHub Β· Live Website

About

PDFly is a privacy-focused, browser-based PDF toolkit featuring 15+ tools for merging, splitting, compressing, signing, protecting, and converting PDFs. Built with React, TypeScript, PDF.js, pdf-lib, and QPDF WebAssembly, it prioritizes local processing, security, accessibility, and a clean user experience.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages