Click here to use File Converter Pro - No installation needed!
A simple yet powerful web application to convert and manipulate files effortlessly. Convert JPG images to PDF, Word documents, merge PDFs, and more—all in one place!
- JPG → PDF Conversion - Convert single or multiple JPG images to a PDF file with batch support
- JPG → Word Conversion - Embed images directly into Word (.docx) documents
- PDF Merge - Combine multiple PDF files into a single document
- PDF → JPG Conversion - Extract images from PDF files
- Batch Processing - Handle multiple files at once
- Fast & Lightweight - Built with Flask for optimal performance
- Responsive UI - Beautiful Bootstrap-based interface that works on all devices
- No Installation Required - Use directly from the web browser
- Python 3.8 or higher
- pip (Python package manager)
-
Clone the repository
git clone https://github.com/priyanshusingh205/File-Converter.git cd File-Converter -
Create a virtual environment (recommended)
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Run the application
python app.py
-
Open in browser
http://localhost:10000
- Go to the JPG → PDF section
- Select one or multiple JPG files
- Click Convert
- Download your PDF automatically
- Go to the JPG → Word section
- Select a JPG image
- Click Convert
- Download the Word document (.docx)
- Go to the Merge PDF section
- Upload multiple PDF files
- Click Merge
- Download the combined PDF
- Go to the PDF → JPG section
- Select a PDF file
- Click Convert
- Download extracted images
File-Converter/
├── app.py # Main Flask application
├── requirements.txt # Python dependencies
├── templates/
│ └── index.html # Web interface
├── uploads/ # Temporary file storage
├── README.md # Documentation
└── .gitignore # Git ignore file
| Technology | Purpose |
|---|---|
| Flask | Web framework |
| Pillow | Image processing |
| PyPDF2 | PDF manipulation |
| python-docx | Word document creation |
| Bootstrap 5 | Responsive UI |
-
Install Heroku CLI
# Visit: https://devcenter.heroku.com/articles/heroku-cli -
Login to Heroku
heroku login
-
Create a Procfile
echo "web: gunicorn app:app" > Procfile
-
Deploy
git push heroku main
- Create account at PythonAnywhere
- Upload your code
- Configure a web app with Flask
- Reload and access your live URL
- Create account at Render
- Connect your GitHub repository
- Configure build and start commands
- Deploy automatically
# Converts JPG/PNG images to RGB and saves as PDF
image.convert('RGB')
image.save(output, save_all=True, append_images=images[1:])# Embeds images into .docx documents
doc = Document()
doc.add_picture(image_path)
doc.save(output_path)# Combines multiple PDFs into one
merger = PdfMerger()
merger.append(pdf_path)
merger.write(output_path)| Endpoint | Method | Description |
|---|---|---|
/ |
GET | Main page |
/convert_to_pdf |
POST | Convert JPG to PDF |
/convert_to_word |
POST | Convert JPG to DOCX |
/merge_pdf |
POST | Merge multiple PDFs |
/pdf_to_jpg |
POST | Convert PDF to JPG |
- Maximum file size: 100MB per file (configurable)
- PDF → JPG conversion needs to be implemented
- Temporary files are stored in
uploads/folder (cleanup recommended) - Single instance deployment (consider scaling for production)
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
See CONTRIBUTING.md for detailed guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
Priyanshu Singh
- GitHub: @priyanshusingh205
If you find this project helpful, please consider:
- ⭐ Starring the repository
- 🐛 Reporting issues you encounter
- 💡 Suggesting improvements
- 🔗 Sharing with others
Last Updated: 2026
Status: ✅ Active & Maintained