pdf-to-txt
Convert PDF files to plain text using PyMuPDF4LLM
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Menü
Convert PDF files to plain text using PyMuPDF4LLM
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Transcribe audio files to text with automatic language detection (supports Chinese and English)
Download podcast episodes from 小宇宙 (Xiaoyuzhou.fm) and Apple Podcasts
Download audio from YouTube and Twitter/X links
Basierend auf der SOC-Berufsklassifikation
| name | pdf-to-txt |
| description | Convert PDF files to plain text using PyMuPDF4LLM |
| metadata | {"openclaw":{"emoji":"📄","requires":{"bins":["python3"],"python_packages":["pymupdf4llm"]},"install":[{"id":"pip-pymupdf4llm","kind":"pip","command":"pip install pymupdf4llm","label":"Install PyMuPDF4LLM via pip"}]}} |
Convert PDF files to plain text format using PyMuPDF4LLM. This tool extracts text content from PDF documents while preserving the reading order and basic formatting.
Convert a PDF to text file:
python {baseDir}/scripts/convert.py "<pdf_path>"
Output will be saved as <pdf_filename>.txt in the same directory as the PDF.
python {baseDir}/scripts/convert.py "<pdf_path>" --output "~/Documents/output.txt"
Use --markdown flag to get Markdown-formatted output with headers, lists, and other formatting hints:
python {baseDir}/scripts/convert.py "<pdf_path>" --markdown
Convert only specific pages:
# Convert pages 1-10 only
python {baseDir}/scripts/convert.py "<pdf_path>" --pages 1-10
# Convert single page
python {baseDir}/scripts/convert.py "<pdf_path>" --pages 5
# Basic conversion
python {baseDir}/scripts/convert.py "~/Documents/paper.pdf"
# Output: ~/Documents/paper.txt
# With custom output path
python {baseDir}/scripts/convert.py "~/Documents/paper.pdf" --output "~/Notes/paper_content.txt"
# Markdown output
python {baseDir}/scripts/convert.py "~/Documents/paper.pdf" --markdown --output "~/Notes/paper.md"
# Convert first 5 pages only
python {baseDir}/scripts/convert.py "~/Documents/book.pdf" --pages 1-5 --output "~/Notes/chapter1.txt"
--markdown)#- or *