Skip to main content

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

markitdown_fix-0.1.7.tar.gz (52.6 kB view details)

Uploaded Source

Built Distribution

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

markitdown_fix-0.1.7-py3-none-any.whl (71.7 kB view details)

Uploaded Python 3

File details

Details for the file markitdown_fix-0.1.7.tar.gz.

File metadata

  • Download URL: markitdown_fix-0.1.7.tar.gz
  • Upload date:
  • Size: 52.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.2

File hashes

Hashes for markitdown_fix-0.1.7.tar.gz
Algorithm Hash digest
SHA256 d3bc04da86b6cd879bfe7b372746a89db82bc9a4c550a13d6ec64b0722d0b7dc
MD5 3a2c96fe4c7aedb345edfa092bee6487
BLAKE2b-256 ad21c173be1b3e93132bb3ca9a558a3555225985917eb0a6126d59f6bddff32d

See more details on using hashes here.

File details

Details for the file markitdown_fix-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: markitdown_fix-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 71.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.2

File hashes

Hashes for markitdown_fix-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d0175cd11557c8350aad3cef7d1d3c4c03116bb361f5ad10900ec52a738add79
MD5 e1a120b938a49225fd37977093128f09
BLAKE2b-256 5e3a0b8a64fed57b412658e47e7f2a616b8fa71e8af420980838862ce6943a5f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.8

2 files

This release

0.1.7 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page