Skip to content
Skillpedia
PDF, Word & slides7.4k · #13235

markdown-converter

What it does

This skill converts many file types into Markdown using a command that needs no separate install. It is for anyone who needs documents turned into plain text they can read, search, or edit.

When to use it

  • ✓When you want a PDF, Word file, or spreadsheet turned into Markdown text.
  • ✓When you need text pulled from an image or a recording.
  • ✓When you want a YouTube link or a web page as readable text.

Skill link

https://github.com/steipete/agent-scripts/blob/main/skills/markdown-converter/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/steipete/agent-scripts/blob/main/skills/markdown-converter/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Convert this Word report into a Markdown file I can edit.”

5 new skills a week. 1 minute to read.

How it works

The agent runs a converter through a package runner that needs no separate install. It reads the file and writes the result to the screen or to a file you name.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Markdown Converter

Convert files to Markdown using uvx --from "markitdown[all]" markitdown — no installation required.

Basic Usage

# Convert to stdout
uvx --from "markitdown[all]" markitdown input.pdf

# Save to file
uvx --from "markitdown[all]" markitdown input.pdf -o output.md
uvx --from "markitdown[all]" markitdown input.docx > output.md

# From stdin
cat input.pdf | uvx --from "markitdown[all]" markitdown

Supported Formats

  • Documents: PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx, .xls)
  • Web/Data: HTML, CSV, JSON, XML
  • Media: Images (EXIF + OCR), Audio (EXIF + transcription)
  • Other: ZIP (iterates contents), YouTube URLs, EPub

Options

-o OUTPUT      # Output file
-x EXTENSION   # Hint file extension (for stdin)
-m MIME_TYPE   # Hint MIME type
-c CHARSET     # Hint charset (e.g., UTF-8)
-d             # Use Azure Document Intelligence
-e ENDPOINT    # Document Intelligence endpoint
--use-plugins  # Enable 3rd-party plugins
--list-plugins # Show installed plugins

Examples

# Convert Word document
uvx --from "markitdown[all]" markitdown report.docx -o report.md

# Convert Excel spreadsheet
uvx --from "markitdown[all]" markitdown data.xlsx > data.md

# Convert PowerPoint presentation
uvx --from "markitdown[all]" markitdown slides.pptx -o slides.md

# Convert with file type hint (for stdin)
cat document | uvx --from "markitdown[all]" markitdown -x .pdf > output.md

# Use Azure Document Intelligence for better PDF extraction
uvx --from "markitdown[all]" markitdown scan.pdf -d -e "https://your-resource.cognitiveservices.azure.com/"

Notes

  • Output preserves document structure: headings, tables, lists, links
  • First run caches dependencies; subsequent runs are faster
  • For complex PDFs with poor extraction, use -d with Azure Document Intelligence
  • If automatic charset detection picks the wrong encoding for a text file, pass -c UTF-8 (or the known charset)
FAQ

Do I have to install anything first?

No. The skill runs the converter through a package runner, so no separate install is needed.

Which formats are supported?

PDF, Word, PowerPoint, Excel, HTML, CSV, JSON, images, audio, ZIP files, YouTube URLs, and EPUB.

Can it read text from images?

Yes. The skill lists OCR for images and transcription for audio.

Details

Original description by the author

Markdown conversion: PDF, Office, HTML, data, OCR, audio, ZIP, YouTube.

repo: steipete/agent-scripts

Popularity

GitHub stars
7.4k
Ranking position
#13235
License
MIT
Updated
10/30/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills