Skip to main content

A simple Python package with minimal GUI to convert .pdf into .docx file.

Project description

PDF → DOCX Converter

A sleek, dark-themed desktop app to convert PDF documents into editable Word files — no command line needed.


Preview

PDF  →  DOCX
Convert PDF documents to editable Word files

[ ⬆  Click to upload PDF here ]

OUTPUT FILE
[ path/to/output.docx          ] [ Browse ]

[         Convert          ]

▸  Selected: document.pdf
▸  Starting conversion…
▸  Conversion complete!

Features

  • 🖱️ Click-to-upload file picker with visual feedback
  • 📄 Auto-suggests output path based on input filename
  • Non-blocking conversion — runs in a background thread so the UI stays responsive
  • 📊 Animated progress bar with indeterminate and completion states
  • 🪵 Live log panel with colour-coded status messages
  • 🎨 Dark UI built with pure tkinter — no external GUI dependencies

Requirements

  • Python 3.7+
  • tkinter (bundled with standard Python on Windows and macOS)
  • pdf2docx

Installation

pip install pdf2DocxGUIbyeliteVaibhav

This will automatically install pdf2docx as a dependency.

Linux users: tkinter may need to be installed separately:

sudo apt install python3-tk   # Debian/Ubuntu
sudo dnf install python3-tkinter  # Fedora

Usage

After installing, launch the app from your terminal:

pdf2DocxGUIbyeliteVaibhav

Or run it directly with Python:

from pdf2DocxGUIbyeliteVaibhavimport mainFunc

mainFunc()

Steps

  1. Click the upload zone and select your PDF file
  2. The output path is auto-filled — or click Browse to choose a custom save location
  3. Click Convert
  4. Find your .docx file at the chosen output path

How It Works

Under the hood, the conversion is powered by pdf2docx, which parses PDF structure and rebuilds it as a Word document — preserving layout, text, tables, and images where possible.

The GUI is built entirely with Python's built-in tkinter library, keeping the install footprint minimal.


Limitations

  • Conversion quality depends on the source PDF. Scanned/image-only PDFs will not produce editable text (no OCR support).
  • Complex layouts (multi-column, heavy graphics) may not convert perfectly — this is a limitation of pdf2docx itself.

Contributing

Pull requests are welcome! Please open an issue first to discuss any major changes.

git clone https://github.com/vaibhavbhor404/pdf-to-docx-gui
cd pdf-to-docx-gui
pip install -e ".[dev]"

License

MIT © eliteVaibhav

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdf2docxguibyelitevaibhav-0.2.12.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pdf2docxguibyelitevaibhav-0.2.12-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file pdf2docxguibyelitevaibhav-0.2.12.tar.gz.

File metadata

File hashes

Hashes for pdf2docxguibyelitevaibhav-0.2.12.tar.gz
Algorithm Hash digest
SHA256 344a08d6801ae511fd33d44b230e30757d0f3051977172ad9e7211db27d56d2d
MD5 2a32cf291cecd98b5096bcafda86cc59
BLAKE2b-256 02fcbc79e2a9a7c0d32b61b4688a893bb3342c7e7a26112b1504f547f31882b7

See more details on using hashes here.

File details

Details for the file pdf2docxguibyelitevaibhav-0.2.12-py3-none-any.whl.

File metadata

File hashes

Hashes for pdf2docxguibyelitevaibhav-0.2.12-py3-none-any.whl
Algorithm Hash digest
SHA256 3f9c2baf7908059f207030a607e0659b28908bd12fe0731a4179be268cfa825c
MD5 5869eb45a655a91265c205d6894b0c53
BLAKE2b-256 0f530f29b7dcc23f150021f0915f735b2daa6c24a7f781cece8aa367b104e26e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page