PDF Merger & Splitter

The PDF Merger & Splitter is a web-based application developed using Django framework that enables users to perform two fundamental PDF operations: merging multiple PDF files into a single document and splitting a PDF file into multiple parts. The application provides a user-friendly interface with drag-and-drop functionality, making it accessible to users without technical expertise. Built with Python and PyPDF2 library, the system ensures efficient PDF processing while maintaining document integrity and quality.

pdf splitter

Features

  • Merge multiple PDFs into a single PDF
  • Split a PDF into separate pages or page ranges
  • Download generated PDF outputs

Scope

  • Merging multiple PDF files (up to 5 files)
  • Splitting PDF at specified pages
  • Uploading PDF files
  • Downloading processed files
  • Basic validation and error handling
  • User-friendly interface

Technology Stack

ComponentTechnology
FrameworkDjango
LanguagePython
PDF ProcessingPyPDF2
DatabaseSQLite
FrontendHTML, CSS
Development ServerDjango Development Server
Version ControlGit
Operating SystemWindows/Linux/Mac

Functional Modules

Module 1: PDF Merging

FeatureDescription
File SelectionSelect up to 5 PDF files
ValidationVerify file format and size
ProcessingMerge all pages in sequence
OutputGenerate single merged PDF
DownloadProvide download link

Module 2: PDF Splitting

FeatureDescription
File SelectionSelect single PDF file
Split PointsEnter page numbers or ranges
ValidationValidate split points
ProcessingSplit PDF accordingly
OutputGenerate multiple PDF parts
DownloadProvide download links

Installation Procedure:

  1. Open a terminal in the project root directory.
  2. Create and activate a virtual environment:
    PowerShell: python -m venv venv .\venv\Scripts\Activate.ps1
    Command Prompt: python -m venv venv .\venv\Scripts\activate.bat
  3. Install required packages:pip install django pypdf2
  4. Apply database migrations:python manage.py migrate

Running the Project

Start the development server:

python manage.py runserver

Then open the app in your browser with auto generated IP address


Download PDF Merger & Splitter

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.