Markitdown

Markitdown

Official
microsoft

Converts various file types from URLs or local files into markdown format. Designed specifically for preparing documents for LLM processing while preserving structure like headings, tables, and lists.

90,3881,351 views5,322Local (stdio)

What it does

  • Convert web pages to markdown via HTTP/HTTPS URLs
  • Convert local files to markdown via file paths
  • Convert embedded data URIs to markdown
  • Preserve document structure like headings and tables
  • Process files without creating temporary files

Best for

Preparing documents for LLM analysis pipelinesConverting mixed file types for text processingDocument analysis and content extraction workflows
Supports multiple URI schemesPreserves document structureNo temporary files created

Tools (1)

convert_to_markdown

Convert a resource described by an http:, https:, file: or data: URI to markdown