Home › Prompts › Community › Convert PDF to Markdown

Convert PDF to Markdown

Any chat AIWriting & editingCommunity (CC0)

Works with: ChatGPT · Claude · Gemini · Grok · Microsoft Copilot · Perplexity · Meta AI · DeepSeek · Mistral Le Chat

Note: Review and test before use. Provided as is, without warranty. See Terms.

Prompt

Download  
---
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.

How to use

More: all writing & editing prompts · all community prompts · prompt library

Related prompts

Extract a style guide from your writing

Analyze samples of your writing and produce a reusable voice and style guide for AI and human writers.

Any chat AIWriting & editing

Iterate on a draft in ChatGPT canvas

Open a draft in canvas, then use targeted edits and a final consistency pass instead of rewriting everything.

ChatGPTWriting & editing

Blog post from an outline and your notes

A well-structured blog post that uses your own notes and examples, written in canvas for easy editing.

ChatGPTWriting & editing

Developmental edit of a draft

Big-picture feedback on structure, argument and clarity before line editing, with a prioritized revision plan.

ClaudeWriting & editing

Executive summary of a long document

Summarize a long report or PDF into a one-page brief with key numbers, decisions and risks.

GeminiWriting & editing

Draft a Perplexity Page explainer

Turn research into a structured, cited explainer article you can publish or share as a Perplexity Page.

PerplexityWriting & editing

Get the best new AI prompts every week

One short email a week: the best new prompts and rules for ChatGPT, Claude, Gemini, Midjourney, Cursor and more, plus what changed in the tools. Free, unsubscribe anytime.

Finishes on our newsletter page at beehiiv (opens in a new tab). Or subscribe directly.