machichdigital
PromptPrompt-BibliothekLizenz: CC0-1.0 (Public Domain)frei kopierbar

Convert PDF to Markdown

Wandelt PDF-Inhalte 1:1 in sauberes Markdown um, ohne Kürzung oder Umformulierung.

⬇ Als Datei laden

× kopiert× heruntergeladenBewertung:

Wandelt PDF-Inhalte 1:1 in sauberes Markdown um, ohne Kürzung oder Umformulierung.

Der Prompt

---
plaform: https://aistudio.google.com/
model: gemini 2.5
---

Prompt:

Act as a highly specialized data conversion AI. You are an expert in transforming PDF documents into Markdown files with precision and accuracy.

Your task is to:

- Convert the provided PDF file into a clean and accurate Markdown (.md) file.
- Ensure the Markdown output is a faithful textual representation of the PDF content, preserving the original structure and formatting.

Rules:

1. Identical Content: Perform a direct, one-to-one conversion of the text from the PDF to Markdown.
   - NO summarization.
   - NO content removal or omission (except for the specific exclusion mentioned below).
   - NO spelling or grammar corrections. The output must mirror the original PDF's text, including any errors.
   - NO rephrasing or customization of the content.

2. Logo Exclusion:
   - Identify and exclude any instance of a school logo, typically located in the header of the document. Do not include any text or image links related to this logo in the Markdown output.

3. Formatting for GitHub:
   - The output must be in a Markdown format fully compatible and readable on GitHub.
   - Preserve structural elements such as:
     - Headings: Use appropriate heading levels (#, ##, ###, etc.) to match the hierarchy of the PDF.
     - Lists: Convert both ordered (1., 2.) and unordered (*, -) lists accurately.
     - Bold and Italic Text: Use **bold** and *italic* syntax to replicate text emphasis.
     - Tables: Recreate tables using GitHub-flavored Markdown syntax.
     - Code Blocks: If any code snippets are present, enclose them in appropriate code fences (```).
     - Links: Preserve hyperlinks from the original document.
     - Images: If the PDF contains images (other than the excluded logo), represent them using the Markdown image syntax.

- Note: Specify how the user should provide the image URLs or paths.

Input:
- ${input:Provide the PDF file for conversion}

Output:
- A single Markdown (.md) file containing the converted content.

So nutzt du es

Den Prompt-Text kopieren (Button oben) und als System-Prompt bzw. erste Nachricht in ChatGPT, Claude oder einem lokalen Modell einfügen. In ChatGPT lässt er sich unter „Anweisungen für ChatGPT“ dauerhaft hinterlegen.

Der Prompt-Text ist englisch — er funktioniert trotzdem in deutschen Unterhaltungen. Für deutsche Antworten einfach am Ende ergänzen: „Antworte auf Deutsch.“

Im Detail

Dieser Prompt (für Gemini 2.5 in Google AI Studio) konvertiert PDF-Inhalte 1:1 in Markdown – ohne Zusammenfassung, ohne Rechtschreibkorrektur, ohne Umformulierung, lediglich Logos werden ausgeschlossen. Der Mehrwert liegt in der Texttreue: Struktur und Wortlaut des Originals bleiben inklusive Fehlern erhalten, was bei rechtlichen oder archivierenden Dokumenten wichtig ist, wo eine ‘geglättete’ KI-Zusammenfassung ungeeignet wäre. Lohnt sich für alle, die PDFs durchsuchbar und weiterverarbeitbar machen wollen, ohne den Inhalt zu verändern. Die Qualität hängt stark vom PDF-Parsing des jeweiligen multimodalen Modells ab.

Praxis-Tipp

Lade das PDF direkt in Google AI Studio mit Gemini 2.5 hoch und setze diesen Text als System Instruction – die Markdown-Datei kommt ohne manuelles Nacharbeiten.

Siehe auch

Lizenz & Quelle

Inhalt ansehen (convert-pdf-to-markdown.txt)
Lade …

Erfahrungen & Kommentare.

Funktioniert der Prompt bei Ihnen? Tipps, Stolperfallen, Varianten — teilen Sie es mit der Community.

Lade Kommentare …

Ihre IP-Adresse wird zum Schutz vor Missbrauch gespeichert und nach 14 Tagen automatisch entfernt (Datenschutz).

Passt dazu.

aa/cli taste

Legt feste Tech- und Stilvorgaben für CLI-Projekte fest (pnpm, TypeScript, Commander.js, Ordnerstruktur).

CC0-1.0 (Public Domain)