A simple desktop GUI application to convert Microsoft Word .docx
files to .pdf
format using the docx2pdf
library.
- Convert one or more Word
.docx
files to.pdf
. - Select multiple files and convert them all at once.
- View and manage input and output paths in a list view.
- Choose a custom output folder for each file.
- Remove selected files from the list.
- Log window to track file additions/removals, path settings, and conversion results.
- Clear log output manually by selecting and deleting text.
- Add Word Files – Select one or more
.docx
files to add to the conversion list. - Set Output Path for Selected – Choose where each converted PDF will be saved.
- Remove Selected – Select the files you want to remove, then click the Remove Selected button.
- Convert All – Start the conversion of all added files.
- View Logs – Check the log window for real-time updates and results.
Note: Batch conversion may take some time. If you're converting more than two files at once, please be patient and allow the process to finish.
- Python 3.x
docx2pdf
(installed in step #3 below)tkinter
(usually included with Python installations)
Follow the steps below to set up and run the word-to-pdf-converter
locally.
Open your terminal (Command Prompt, PowerShell, Git Bash, or macOS/Linux Terminal), then run:
git clone https://github.com/emh68/word-to-pdf-converter.git
cd word-to-pdf-converter
This keeps dependencies isolated to this project.
python -m venv venv
venv\Scripts\activate
If you're using PowerShell and
activate
doesn't work, try:
venv\Scripts\Activate.ps1
🍎 macOS/🐧Linux
python3 -m venv venv
source venv/bin/activate
Run the command below. This will install the required dependencies (in this case docx2pdf
). If you get a "pip not found" error, try python -m pip install -r requirements.txt
instead.
pip install -r requirements.txt
python main.py
Note: If you get a "command not found" error, try:
python3 main.py