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.8.tar.gz (53.2 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.8-py3-none-any.whl (72.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for markitdown_fix-0.1.8.tar.gz
Algorithm Hash digest
SHA256 2c36ab3cfb8cda437ca9d34b4145e6338abf3794d9b2e09f9dd4fa6210c186a3
MD5 1e3e8699868cf5e51b13c3cde24127e6
BLAKE2b-256 0aa9f338d280565e62cabb821e027875b59e5aa36bf45d8834bdbc21b0c1c6e4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for markitdown_fix-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 025f09732cc6b8fad9a409a0e58f159032ce82177140ffa246386b571e389c17
MD5 0aa4d84d1f02f2bee63b908b7f2c0fa6
BLAKE2b-256 440ad0b15ff5aaf7953727db6676409f0cfda6f64057a0e99ef054a5861fa348

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 files

0.1.7

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