pdf2docx is a Python library that leverages PyMuPDF to extract information from PDF documents, analyze their layouts based on specific rules, and create corresponding .docx files using python-docx. This library facilitates the conversion of various elements, including text, images, and tables, and is equipped with features to extract tables, manage formatting, and maintain layout integrity as much as possible. In addition, it offers a command-line interface as well as a graphical user interface to accommodate different user preferences. Its modular architecture comprises distinct packages for managing pages, layouts, tables, images, shape paths, text spans, and other components, allowing for precise control over the translation of PDF content into Word documents. Developers can take advantage of the API for batch conversion processes or seamlessly integrate it into their existing workflows. Comprehensive documentation is provided, covering installation (available from PyPI or source), usage instructions, and technical insights into layout parsing, table extraction, and the various internal modules. The project is open-source and hosted on GitHub, operating under its license and disclaiming any warranties. Overall, pdf2docx is a versatile tool that significantly streamlines the conversion process from PDF to Word format, making it an essential asset for anyone working with these file types.