Recursively convert documents (pdf, docx, pptx, xlsx, ...) to Markdown via markitdown, mirroring the source folder structure into a destination folder.
Project description
convert-docs
Recursively convert documents (pdf, docx, pptx, xlsx, and more) to Markdown via markitdown, mirroring the source folder structure into a destination folder.
Install
uv tool install convert-docs
(Or, before it's published to PyPI: uv tool install git+https://github.com/owenljy/convert-docs)
Usage
Run with no flags for an interactive prompt (asks for source, then destination):
convert-docs
Or pass flags to skip the prompts:
convert-docs -s ~/Documents/Reports -o ~/Documents/Reports_MD
convert-docs -e pdf,docx # restrict which extensions get converted
convert-docs -f # force re-conversion, ignoring the up-to-date skip
| Flag | Description |
|---|---|
-s, --source |
Source directory to scan (skips the interactive prompt) |
-o, --output |
Output directory, mirrors source structure (skips the interactive prompt) |
-e, --ext |
Comma-separated extensions to convert |
-f, --force |
Force re-conversion even if output .md already exists and is up to date |
Files with unsupported extensions are listed at the end instead of being silently skipped, and any conversion failures are reported with the underlying error.
Update
uv tool upgrade convert-docs
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file convert_docs-0.1.0.tar.gz.
File metadata
- Download URL: convert_docs-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.27 {"installer":{"name":"uv","version":"0.11.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cf125804c8bde27957497f3a83bd447537d14a47223fbfe9b3f4e2c6e22bcd6
|
|
| MD5 |
66f3a10ac3c1f176ca5dde8f27ee8e6d
|
|
| BLAKE2b-256 |
2617bef3f625292f3082500b3135c7a37465ef74d40d78d2abf800a6dce5aab1
|
File details
Details for the file convert_docs-0.1.0-py3-none-any.whl.
File metadata
- Download URL: convert_docs-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.27 {"installer":{"name":"uv","version":"0.11.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe738ba9f508f612d93ae6395e7fad534aa64d971797f28134658296b27bb925
|
|
| MD5 |
ef60ec5a886491aad45613308a990bf1
|
|
| BLAKE2b-256 |
bdbdba16bd97535ee527b76500c2cf11278eab57c84c5c9041efe05384c9aa67
|