PDF to Markdown
Upload a PDF and get clean, well-structured Markdown back, generated with AI.
Headings, lists, and tables are inferred from the document's content and layout. Images and complex formatting are not carried over - always spot-check the result.
Using a lot? Bring your own free or paid API key for unlimited requests
The free tier is limited to a few requests per day per visitor. Paste your own key here and Drefly automatically detects which provider it belongs to. If the key format matches more than one provider, you'll be asked to pick the right one. Your key is stored only in your browser's local storage and is never saved on our servers.
New to API keys? Here's where a first-time user can grab a free one in under a minute, with no card required for most of these:
- Google AI
Studio (Gemini) - generous free daily quota, sign in with a Google account, key
starts with
AIza - Groq Console -
free tier with fast open models, key starts with
gsk_ - OpenRouter - several
free models available, key starts with
sk-or- - Anthropic
Console (Claude) - paid with a small free trial credit, key starts with
sk-ant- - OpenAI
Platform - paid, key starts with
sk-
Steps: open one of the links above, sign in or create a free account, find "Create API key" (or "Get API key"), copy the key, then paste it into the field above.
Frequently asked questions
How is structure detected?
An AI model reads the extracted text and infers headings, lists, and tables from the content and layout.
Are images kept?
No, only text content is converted. Images and complex layouts are not carried over.
Is there a page limit?
Yes, there’s no page limit - any size PDF is supported per request.
Is PDF to Markdown free to use?
Yes, converting a PDF to Markdown with AI is completely free with no signup.
Does it preserve headings and lists?
Yes, the AI model reconstructs headings, lists, tables, and formatting as proper Markdown syntax.