Convert PDF to TXT
Get the text of a PDF as a .txt file. Scanned and image-only PDFs work too, because every page goes through OCR.
Result
Your Markdown or JSON shows up here.
3 free pages a day, no sign-up.
How it works
- Step 1Upload your PDF
- Step 2We read every page in reading order
- Step 3Download the .txt file or copy the text
Why use this PDF to TXT converter
Works on scans
Image-only pages are read with OCR instead of coming back empty.
Reading order
Columns, headers and footers are detected, so sentences are not cut across columns.
UTF-8 for every language
Chinese, Arabic, Hindi and accented Latin text come out correctly in any editor.
What people use it for
- Getting a book or report into a plain-text editor
- Preparing documents for search, word counts or translation tools
- Feeding plain text into scripts and data pipelines
- Archiving the text of scanned letters and records
Models that do this well
The free tool picks one for you. With the API you choose, and can set fallbacks so a failed page is retried on the next model.
1Mistral OCRFast document OCR that returns clean Markdown with tables and embedded images.
mistral/mistral-ocr6 credits / page2Gemini FlashGeneral vision model with strong handwriting and layout understanding at a low price.google/gemini-flash3 credits / page3Amazon TextractAWS OCR with form key-value pairs, tables and per-word confidence scores.aws/textract6 credits / page4TesseractThe classic open-source OCR engine. Plain text from clean printed scans.tesseract/tesseractFreeDo it with the API
Converting more than a few files? The same conversion is one request. Pick any model, or let auto choose.
curl https://api.ocrrouter.ai/v1/ocr \
-H "Authorization: Bearer $OCRROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "auto",
"file_url": "https://example.com/invoice.pdf",
"format": "markdown"
}'Questions
More free tools
PDF to MarkdownPDF to textImage to textHandwriting to textPDF to JSONJPG to textPNG to textPhoto to textPicture to textScreenshot to textGIF to textExtract text from imageCopy text from imageExtract text from PDFOCR PDFScanned PDF to textImage to LaTeXPDF to LaTeXImage to MarkdownImage to JSONImage to tablePDF to ExcelPDF to CSVImage to ExcelImage to WordPDF to Word (OCR)Make PDF searchablePDF to HTMLBank statement converterPDF to Google DocsPDF to linkImage to linkVideo to linkMP3 to linkFile to link