Skip to main content

Utility tool for converting various files to Markdown

Project description

MarkItDown

[!TIP] MarkItDown is a Python package and command-line utility for converting various files to Markdown (e.g., for indexing, text analysis, etc).

For more information, and full documentation, see the project README.md on GitHub.

[!IMPORTANT] MarkItDown performs I/O with the privileges of the current process. Like open() or requests.get(), it will access resources that the process itself can access. Sanitize your inputs in untrusted environments, and call the narrowest convert_* function needed for your use case (e.g., convert_stream(), or convert_local()). See the Security Considerations section of the documentation for more information.

Installation

From PyPI:

pip install markitdown[all]

From source:

git clone git@github.com:microsoft/markitdown.git
cd markitdown
pip install -e packages/markitdown[all]

Usage

Command-Line

markitdown path-to-file.pdf > document.md

Python API

from markitdown import MarkItDown

md = MarkItDown()
result = md.convert("test.xlsx")
print(result.text_content)

More Information

For more information, and full documentation, see the project README.md on GitHub.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

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

markitdown_chuncking_rag-0.0.1.tar.gz (52.0 kB view details)

Uploaded Source

File details

Details for the file markitdown_chuncking_rag-0.0.1.tar.gz.

File metadata

  • Download URL: markitdown_chuncking_rag-0.0.1.tar.gz
  • Upload date:
  • Size: 52.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.1 {"ci":null,"cpu":"arm64","distro":{"name":"macOS","version":"26.5.1"},"implementation":{"name":"CPython","version":"3.12.4"},"installer":{"name":"hatch","version":"1.17.1"},"openssl_version":"OpenSSL 3.0.15 3 Sep 2024","python":"3.12.4","system":{"name":"Darwin","release":"25.5.0"}} HTTPX2/2.7.0

File hashes

Hashes for markitdown_chuncking_rag-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6da963bed8c01bedee9805856a2a29e9d25e89f9878b76467477ec0694491197
MD5 76cf7e01988b00caef993f75888cd74b
BLAKE2b-256 34aeeedc45930223d6121f4e3070717907b333bed549ea7cef6fdad52b70c1c2

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