A straightforward web application that converts PDF files to DOCX and vice versa. This project uses Python for backend processing and HTML/CSS for the frontend interface.
- Convert PDF to DOCX
- Convert DOCX to PDF
- Convert DOC to PDF
- Simple and intuitive web interface
- File upload and download functionality
- Backend: Python 3.12
- Frontend: HTML, CSS
- Web Framework: Flask
- File Conversion Libraries:
- docx2pdf
- python-docx
- pdf2docx
- Clone the repository: git clone https://github.com/achobandu/document_converter.git cd document_converter
- Install the required dependencies: pip install flask werkzeug docx2pdf python-docx pdf2docx
- Run the application: python app.py
- Open your web browser and navigate to
http://localhost:5000
- Open the web application in your browser.
- Click on the "Choose File" button to select a PDF, DOCX, or DOC file.
- Click "Convert" to start the conversion process.
- Once conversion is complete, click the "Download Converted File" button to get your converted document.
app.py: The main Python script containing the Flask application and conversion logic.templates/index.html: The HTML template for the web interface.uploads/: Directory where uploaded and converted files are temporarily stored.
Contributions, issues, and feature requests are welcome. Feel free to check issues page if you want to contribute.