Convert a PDF to text or Markdown
Get clean text for your AI prompts, with page markers and parts. Nothing is uploaded.
- Nothing is uploaded
- No signup
- Free to use
OCR reads pages that have no text, such as scans. The first time, it downloads about 6 MB.
Have many files?
Large batches use a lot of memory. If your browser slows down, process fewer files at once.
What next?
How to turn a PDF into text for an AI prompt
- Drop your PDF into the box above, or click to choose it.
- Choose Plain text or Markdown, and whether to add page markers.
- For a long PDF, choose a part size so each part fits in one prompt.
- Click Copy, or download the text. Paste it into ChatGPT, Claude or any other AI.
Plain text or Markdown?
- Plain text keeps the words and the paragraphs, and nothing else. It is the safest choice for a prompt.
- Markdown also turns large lines into headings and bullets into lists, which helps a model see the structure. Check the headings, because they are guessed from the size of the text.
Long PDFs and parts
AI models can read only a limited amount at once. Choose a part size and the text is split between paragraphs, so a sentence is never cut when it can be avoided. Each part can be labelled, for example Part 2 of 5. The token counts are a rough guide, about four characters for one token. The real number depends on the model.
Scanned PDFs (OCR)
A scan is a picture of a page, so it holds no text. Pages without text are read with OCR, which means recognizing the letters. OCR works in English for now. The first time you use it, the page downloads about 6 MB, and after that it works much faster. The result depends on the scan, and OCR can make mistakes, so read the important parts.
What to know
- The text follows the order inside the PDF, which is usually the reading order. Pages with several columns can come out mixed.
- Tables become lines of text. Images and charts are not described.
- Repeated headers, footers and page numbers are removed by default. Turn that off if something real is missing.
- Nothing is uploaded, so the content of your PDF stays on your device.
Is my PDF uploaded?
No. The PDF is read inside your browser and never leaves your device. OCR also runs on your device.
Does it work on scanned PDFs?
Yes, in English. Pages that have no text are read with OCR. The first use downloads about 6 MB.
Can it keep tables?
Not as tables. Their text comes out as lines. Check any table you need before you paste it.
Which languages does OCR read?
English only, for now. PDFs that already contain text work in any language.
What are parts for?
A long text may not fit in one prompt. Parts split it at paragraph breaks into pieces of about the size you choose.
Can I convert many PDFs at once?
Yes, with Pro you can convert up to 50 PDFs at once and download the text files as one ZIP file.
PDF files are read with pdf.js (Apache-2.0), served unmodified from this site. pdf.js license
Scanned pages are read with Tesseract (Apache-2.0) through tesseract.js. Both run in your browser and are served unmodified from this site. Licenses and sources
More free tools
PDF to Images
Turn each PDF page into a PNG or JPG.
PDF · ConvertersImages to PDF
Combine pictures into one PDF.
PDF · ConvertersText and Markdown to PDF
Turn an AI answer or Markdown into a PDF.
PDF · ConvertersMerge PDF
Combine several PDFs into one. Drag to reorder.
PDFSomething not working? Report a problem