Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.markdown)

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-0.1.8b1.tar.gz (60.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-0.1.8b1-py3-none-any.whl (79.6 kB view details)

Uploaded Python 3

File details

Details for the file markitdown-0.1.8b1.tar.gz.

File metadata

  • Download URL: markitdown-0.1.8b1.tar.gz
  • Upload date:
  • Size: 60.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.2 cpython/3.12.3 HTTPX/0.28.1

File hashes

Hashes for markitdown-0.1.8b1.tar.gz
Algorithm Hash digest
SHA256 6040c20e2a22ff352ca2c4dc6afae66d7771af0128b3ea6bcacab062fba8cc4a
MD5 02e3259eeae56f3ee8c85d33844a6c09
BLAKE2b-256 0b8fbab03232137ad9edc87a9159270d1ccc81f7a68b0c03b20f3d5ea27b44f1

See more details on using hashes here.

File details

Details for the file markitdown-0.1.8b1-py3-none-any.whl.

File metadata

  • Download URL: markitdown-0.1.8b1-py3-none-any.whl
  • Upload date:
  • Size: 79.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.2 cpython/3.12.3 HTTPX/0.28.1

File hashes

Hashes for markitdown-0.1.8b1-py3-none-any.whl
Algorithm Hash digest
SHA256 dc0ca5a186d46b8141187f3e574a19383f009fbe2a258a27f7600371bcd70294
MD5 881c6625c4ab01fe021742cb8a61580e
BLAKE2b-256 e61a80c70910d3e211a12365dc0a5a768f0c03edcd6ad87992e602c6312fd6a8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.8b1 This release

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page