🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@mote-software/markitdown

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mote-software/markitdown

Convert various file formats to Markdown

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

@mote-software/markitdown

Convert various file formats to Markdown with ease.

Installation

npm install @mote-software/markitdown

Or with pnpm:

pnpm add @mote-software/markitdown

Usage

Command Line

# Convert a file to markdown
markitdown input.pdf > output.md

# Or use npx without installing
npx @mote-software/markitdown input.docx > output.md

Programmatic API

const { runMarkitdown, getBinaryPath } = require('@mote-software/markitdown')

// Run markitdown and get output
const markdown = runMarkitdown('input.pdf')
console.log(markdown)

Supported Formats

  • PDF documents (.pdf)
  • Word documents (.docx)
  • PowerPoint presentations (.pptx)
  • HTML files (.html)
  • Images (various formats)
  • Audio files (with transcription)
  • And more!

Platform Support

This package includes pre-built binaries for:

  • macOS (Intel x64 and Apple Silicon arm64)
  • Linux (x64)
  • Windows (x64)

The correct binary for your platform will be automatically installed.

How It Works

This package uses platform-specific optional dependencies to install the correct binary for your system. If the optional dependency installation fails (e.g., due to network issues), the postinstall script will download the binary from npm as a fallback.

License

MIT

Credits

Wrapper of the excellent markitdown project by Microsoft.

Keywords

markdown

FAQs

Package last updated on 23 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts