{"id":50307307,"url":"https://github.com/gen-x-coder/office-legacy-converter","last_synced_at":"2026-05-28T17:30:46.994Z","repository":{"id":358290182,"uuid":"1240819190","full_name":"gen-x-coder/office-legacy-converter","owner":"gen-x-coder","description":"Windows GUI tool that converts old Microsoft Office files (.doc, .ppt, .pps) to modern formats (.docx, .pptx) with full formatting preservation via the OnlyOffice x2t engine. Backs up originals before converting. Available in English and Dutch.","archived":false,"fork":false,"pushed_at":"2026-05-16T16:09:13.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-16T17:50:17.788Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gen-x-coder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-16T15:57:17.000Z","updated_at":"2026-05-16T16:09:16.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gen-x-coder/office-legacy-converter","commit_stats":null,"previous_names":["gen-x-coder/office-legacy-converter"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/gen-x-coder/office-legacy-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gen-x-coder%2Foffice-legacy-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gen-x-coder%2Foffice-legacy-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gen-x-coder%2Foffice-legacy-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gen-x-coder%2Foffice-legacy-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gen-x-coder","download_url":"https://codeload.github.com/gen-x-coder/office-legacy-converter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gen-x-coder%2Foffice-legacy-converter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33619965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-28T17:30:46.259Z","updated_at":"2026-05-28T17:30:46.988Z","avatar_url":"https://github.com/gen-x-coder.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Office Legacy Converter\n\nA GUI tool for Windows that converts entire folders of old Microsoft Office files to modern formats in one go — not one file at a time like most online converters, but whole archives including all subfolders.\n\nDesigned for anyone with a collection of `.doc`, `.ppt` or `.pps` files from the pre-2007 era who wants to make them usable in modern software without losing layout, images or tables. Point it at a folder, and it handles the rest.\n\nConversion is handled by the OnlyOffice `x2t` engine, which produces accurate results comparable to opening and re-saving the file in Word or PowerPoint. The tool is available in English and Dutch.\n\n---\n\n## What it does\n\n- Processes entire folder trees in one run — including all subfolders, recursively\n- Converts `.doc` to `.docx`, `.ppt` to `.pptx`, and `.pps` to `.pptx`\n- Creates a full backup with identical folder structure and original file timestamps before converting\n- Optionally removes original files after successful conversion (backup is always made first)\n- Detects files case-insensitively, so `.DOC` and `.Doc` are treated the same as `.doc`\n- Saves your settings between sessions (folders, language, preferences)\n- Checks for and installs missing Python dependencies automatically on first run\n\nMost online tools convert a single file per upload. This tool is built for the opposite situation: a hard drive, NAS, or archive folder with dozens or hundreds of old Office files that all need to be migrated at once.\n\n---\n\n## Requirements\n\n### Python\n\nDownload and install Python 3.10 or higher from [python.org](https://www.python.org/downloads/).\n\nDuring installation on Windows, check the box **\"Add Python to PATH\"**. Without this, the script cannot be started from the command line.\n\nVerify the installation by opening a terminal and running:\n\n```\npython --version\n```\n\nIf you see a version number, Python is ready.\n\n### pip\n\npip is the Python package manager and is included with Python 3.4 and higher. Verify it is working:\n\n```\npython -m pip --version\n```\n\nIf pip is missing, run:\n\n```\npython -m ensurepip --upgrade\n```\n\nThe script will also attempt this automatically if pip is not found.\n\n### OnlyOffice x2t\n\nThe converter relies on `x2t.exe`, the internal conversion engine from OnlyOffice Desktop Editors. This is not included in this repository due to its size and license. You must supply it yourself in one of two ways.\n\n**Option A: You have OnlyOffice Desktop Editors installed**\n\nThe script automatically finds `x2t.exe` in its default installation path. No additional steps are needed.\n\n**Option B: Standalone use without installing OnlyOffice**\n\nCopy the `converter` folder from your OnlyOffice installation to the same directory as `doc_converter.py`:\n\n```\nC:\\Program Files\\ONLYOFFICE\\DesktopEditors\\converter\\\n```\n\nThe result should look like this:\n\n```\ndoc_converter.py\nconverter/\n    x2t.exe\n    (various .dll files)\n```\n\nThe script checks this location first, so it will work without a full OnlyOffice installation on the target machine.\n\n---\n\n## Installation\n\nNo installation is required beyond Python itself. Download `doc_converter.py` and place it wherever you want to run it from. On first run, the only required Python package (`customtkinter`) is installed automatically.\n\n---\n\n## Usage\n\nOpen a terminal in the folder containing `doc_converter.py` and run:\n\n```\npython doc_converter.py\n```\n\nOn first run, the script installs missing dependencies and then starts. On subsequent runs it starts immediately.\n\n**Steps in the application:**\n\n1. Choose your language (English or Dutch). This choice is saved for future sessions.\n2. Choose the source folder containing the old Office files.\n3. Choose the backup folder where originals will be copied before conversion.\n4. Click Scan. The tool lists all found files with their extension and size.\n5. Optionally check the option to delete originals after successful conversion. Originals are always backed up first regardless of this setting.\n6. Click the convert button and confirm the summary. The progress bar shows per-file status.\n\nAfter conversion, a report shows how many files were converted successfully and which files failed, with a separate category for files where conversion succeeded but the original could not be deleted (for example because it was open in another application).\n\n---\n\n## Notes\n\n- The `converter` folder from OnlyOffice is approximately 300 MB and is not included here. You must supply it from your own OnlyOffice installation.\n- OnlyOffice is licensed under [AGPL-3.0](https://www.gnu.org/licenses/agpl-3.0.html). This repository does not redistribute any OnlyOffice binaries.\n- Original files are never deleted unless you explicitly enable the option, and only after a successful conversion and a successful backup.\n- Conversion preserves text, images, tables, fonts, styles, page breaks and layout. This is a full conversion, not a text extraction.\n- The tool was tested on Windows. The conversion logic depends on `x2t.exe`, which is a Windows binary, so this tool is Windows-only.\n\n---\n\n## License\n\nThe Python script (`doc_converter.py`) is released under the MIT License. Do with it as you please.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgen-x-coder%2Foffice-legacy-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgen-x-coder%2Foffice-legacy-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgen-x-coder%2Foffice-legacy-converter/lists"}