Skip to main content

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

convert_docs-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

convert_docs-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

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

Hashes for convert_docs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9cf125804c8bde27957497f3a83bd447537d14a47223fbfe9b3f4e2c6e22bcd6
MD5 66f3a10ac3c1f176ca5dde8f27ee8e6d
BLAKE2b-256 2617bef3f625292f3082500b3135c7a37465ef74d40d78d2abf800a6dce5aab1

See more details on using hashes here.

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

Hashes for convert_docs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe738ba9f508f612d93ae6395e7fad534aa64d971797f28134658296b27bb925
MD5 ef60ec5a886491aad45613308a990bf1
BLAKE2b-256 bdbdba16bd97535ee527b76500c2cf11278eab57c84c5c9041efe05384c9aa67

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