pdf to markdown
- Repo stars 239
- Author repo python-agentframework-demos
- Domain
- Data
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 88 / 100 · heuristic scan, not runtime safety proof
- Runtime evidence
- Not run; no isolated runtime test evidence is currently recorded
- Author / version / license
- @Azure-Samples · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No explicit requirements detected
- Detected file/system behavior
-
- Read-only
- Network behavior
- Local-only
- Install commands
- None (reference only)
Heads up: Tool permissions are not declared; actual access depends on the runtime.
# PDF to Markdown Conversion
This skill converts PDF files to Markdown format using [Microsoft's markitdown](https://github.com/microsoft/markitdown) package.
## When to use
- User asks to convert a PDF to Markdown
- User wants to extract text content from a PDF
- User needs to read or parse a PDF document
- User asks to summarize or analyze a PDF file
## How to use
Use `uvx` to run markitdown directly. Pick the dependency group matching the file type:
| File type | Dependency group |
|-----------|-----------------|
| PDF | `pdf` |
| PowerPoint | `pptx` |
| Word | `docx` |
| Excel (.xlsx) | `xlsx` |
| Excel (.xls) | `xls` |
```bash
uvx 'markitdown[pdf]' <path-to-file> -o output.md
```
Or install all optional dependencies at once:
```bash
uvx 'markitdown[all]' <path-to-file> -o output.md
```
## Examples
```bash
uvx 'markitdown[pdf]' report.pdf -o report.md
uvx 'markitdown[pptx]' slides.pptx -o slides.md
uvx 'markitdown[docx]' document.docx -o document.md
```
## Output
- If you were asked to save the output to a specific file, save it to the requested file using `-o`.
- If no output file was specified, use the source filename with a `.md` suffix.
Sections and files
Listed in source order.
sections -> When to use → How to use → Examples → Output
terms -> This skill converts PDF files to Markdown format using [Microsoft's markitdown](https://github.com/microsoft/markitdown) package. · Use uvx to run markitdown directly. · - If you were asked to save the output to a specific file, save it to the requested file using -o.
files/cmd -> uvx · pdf · pptx · docx · xlsx · xls · .md
body sha256 -> 11a09c5ac0dd
When to use
User asks to convert a PDF to Markdown User wants to extract text content from a PDF User needs to read or parse a PDF document User asks to summarize or analyze a PDF file
How to use
Use
uvxto run markitdown directly. Pick the dependency group matching the file type: File type · Dependency group PDF ·pdfPowerPoint ·pptxWord ·docxOutput
If you were asked to save the output to a specific file, save it to the requested file using
-o. If no output file was specified, use the source filename with a.mdsuffix.