Link- https://riyaachauhan.github.io/PDFz/
PDFz is a simple web-based file converter built with Flask. Users can upload a file, choose a target format, and download the converted output directly from the browser.
- Convert images to PDF
- Convert PDF files to images such as PNG, JPG, and WEBP
- Convert images to different image formats
- Convert text files to PDF
- Support compression options for image output
- Provide a download link for the generated file
- Input: JPG, JPEG, PNG, WEBP, BMP, GIF, PDF, TXT, HTML, MD
- Output: PDF, PNG, JPG, WEBP, TXT
PDFz/
├── backend/
│ ├── app.py
│ ├── config.py
│ ├── requirements.txt
│ ├── services/
│ │ ├── converter_service.py
│ │ ├── img_service.py
│ │ └── pdf_service.py
│ ├── static/uploads/
│ └── templates/index.html
├── frontend/
│ ├── index.html
│ ├── script.js
│ └── style.css
├── dockerfile
└── readme.md
Make sure you have Python 3.10+ installed.
-
Clone the repository
git clone https://github.com/RiyaaChauhan/PDFz.git cd PDFz -
Install dependencies
pip install -r backend/requirements.txt
-
Run the app
cd backend python app.py -
Open the app in your browser at http://localhost:5000
- Open the home page.
- Upload a file.
- Select the target format.
- Choose a compression level if needed.
- Click Convert.
- Download the generated file from the success message.
Run the conversion tests with:
python -m pytest backend/tests -qThis project is licensed under the MIT License. See the LICENSE file for details.