This Flask application facilitates PDF-related operations such as merging, converting text to PDF, and splitting PDFs. It offers a user-friendly interface and utilizes the PyPDF2 library for PDF manipulation.
- Merge PDF Files: Combine multiple PDFs into a single document for efficient document management.
- Convert Text to PDF: Transform plain text documents into professionally formatted PDFs.
- Split PDF: Break down large PDFs into individual pages and download them as a ZIP file.
- Install dependencies:
pip install -r requirements.txt
- Run the application:
python app.py
- Open your browser and visit
http://localhost:5000
to access the application.
-
Merge PDF Files:
- Click on the "Merge PDF Files" section.
- Select at least two PDF files to merge.
- Click "Merge" and download the combined PDF.
-
Convert Text to PDF:
- Navigate to the "Convert Text to PDF" section.
- Upload a text file.
- Click "Convert" and download the resulting PDF.
-
Split PDF:
- Access the "Split PDF" section.
- Upload a PDF file to split.
- Click "Split" and download the pages as a ZIP file.
- This application uses Flask, a Python web framework, and PyPDF2 for PDF manipulation.
- Ensure you have Python installed on your system.