PDF to Text

Pull all the text out of a PDF as clean, readable paragraphs. Copy it, or save it as a .txt or .json file. Your PDF is read on your device and never uploaded.

Updated by Khokhar Sab

How do I convert a PDF to text?

Press Choose PDF files and pick one or more PDFs. The text appears in the box within a second or two. Choose whether to join lines into paragraphs and remove repeated headers, then press Copy text or Download .txt. For several PDFs, the download is one ZIP with a text file for each.

  1. Press Choose PDF files.
  2. Check the text in the box; switch files with Showing if you picked several.
  3. Set Join lines into paragraphs and Remove repeated headers, footers and page numbers.
  4. Press Copy text, or Download .txt.

How do I copy text from a PDF without the line breaks?

When you copy from a PDF reader, every line ends with a hard break and words split by hyphens stay split. This tool rebuilds paragraphs from the positions of the lines: it joins lines that belong together, removes line-end hyphens inside words, and starts a new paragraph at wider gaps and indents. Untick Join lines to keep the original breaks.

Why does my PDF give no text, or strange symbols?

No text usually means the PDF is a scan: each page is a photo, with no letters stored. That needs OCR (optical character recognition), which this tool does not do yet. Strange symbols mean the PDF uses a font with no map back to letters, so readers cannot tell what each shape is. The tool warns you in both cases.

What is the JSON option for?

JSON gives the text in a structured form: one entry per page with its page number, and each block marked as a heading, paragraph, list item or code. It also includes the PDF's title, author and dates when the file has them. That suits scripts, databases and AI tools that need to cite a page.

{
  "source": "report.pdf",
  "pageCount": 12,
  "pages": [
    { "page": 1, "text": "…",
      "blocks": [{ "type": "heading", "level": 1, "text": "Annual report" }, …] }
  ]
}

How accurate is the extracted text?

For PDFs made by a word processor or browser, the words come out exactly as stored. Order can differ in complex layouts, such as text boxes or tables. We ran the tool on test files with known content and counted results.

Measured on 2026-10-12 in Chrome 152 on an i5-8350U laptop.
Test filePagesWords foundTime
Long report made with Markdown to PDF225,741 of 5,7410.3 s
Text pages with 2 blank pages51,350 of 1,350, blank pages 3 and 5 named0.2 s
Report with a photo page2648 words, photo page 2 named as having no text0.2 s

Limits and fixes

  • Scans need OCR first: run OCR PDF, then convert. The tool lists pages with no text.
  • Columns and tables: text follows the order the PDF stores it, which is usually reading order. Table cells come out one per line.
  • Hidden text, such as white text or an invisible OCR layer, is extracted too, because it is part of the text layer.
  • Right-to-left scripts (Arabic, Hebrew) may come out in the wrong order in some files.
  • Locked PDFs need their password removed first with Unlock PDF.

Frequently asked questions

Is it free?

Yes, with no sign-up and no limit on files or pages.

Is my PDF uploaded?

No. The text is read in your browser with PDF.js, so the file never leaves your device.

Can I convert many PDFs at once?

Yes. Pick several files; each becomes its own .txt file inside one ZIP.

Does it keep bold, headings and links?

Plain text has no formatting. Use PDF to Markdown to keep headings, lists, bold text and links.

Can I paste the text into an AI chatbot?

Yes. Clean paragraphs and page markers help a chatbot quote the right page. Tick Mark where each page starts.

Learn more

How this tool was built and tested