Most PDFs hold their words as real text, which is why you can usually select a paragraph and paste it into a message. Doing that by hand across thirty pages is slow and full of stray line breaks. The free PDF to Text tool pulls the text out of the whole file, or only the pages you choose, and lets you copy it or save it as a .txt file. If a page is a scan, it can read the picture with OCR as well.
This guide explains every option, how the text is put together, what you get from tables and columns, and how to fix messy output. If you only have one stubborn PDF that will not let you select anything, the shorter post on copying text from a PDF that won't select goes straight to the cause.
What PDF to Text does
The tool opens your PDF in the browser and reads each page. Pages with a text layer are read directly, which is instant and exact. Pages without one are scanned pictures, so the tool can draw them and recognise the letters with OCR.
You get plain text:
- Lines in reading order, with a blank line where the gap is clearly bigger than usual.
- Counts of pages, words and characters.
- Everything in one box, or page by page.
You do not get fonts, pictures, colours or exact positions, and a table comes out as lines of text. If you want an editable document with headings and tables, use PDF to Word instead. If you want the pages themselves made searchable, use PDF OCR.
How to use PDF to Text, step by step
- Open PDF to Text.
- Press Choose a PDF file, or drop a PDF on the box. If it has an open password, a form asks for it.
- Under Options, type the Pages you want, such as
1-3, 7, or leave it empty for every page. - Keep Read scanned pages (OCR) ticked if the PDF may contain scans, and choose the Language of scanned pages.
- Tick Page separators or Join broken lines into paragraphs if you want them.
- Press Extract text. A progress line such as "Page 4 of 20 · reading text…" shows the page being worked on, and Stop ends the run after the current page.
- Use Copy all, or Download .txt. The file is named after the PDF, with the prefix "Tech Solution Point - " that every download from this site gets.
Every option explained
Pages
Leave it empty for the whole file, or type pages and ranges like 1-3, 7. The hint under the box shows how many pages the file has. A wrong entry shows a message such as "“12” is outside 1–10." and the Extract text button is disabled until you fix it.
Read scanned pages (OCR)
On by default. A page with fewer than 20 visible characters of real text counts as a scan. For those pages the tool draws the picture at about 200 dots per inch (never wider than 2,400 pixels) and reads it. If the picture gives more text than the page's own layer, the OCR text is used and the page gets a "read from the image" label.
Turn it off for PDFs you know have real text; it saves time. With it off, scanned pages are skipped and you see a warning such as "3 pages have no text layer (scanned or image-only). Tick “Read scanned pages (OCR)” and extract again to read them."
OCR reads up to 100 scanned pages per run. More than that are left empty with a warning, and you read the rest by typing their numbers in Pages.
Language of scanned pages
Used only when OCR runs, and greyed out when OCR is off. The list has 14 choices, including English, বাংলা (Bengali), English + বাংলা, Hindi, Urdu, Arabic and several European languages. Choose the language that is actually printed on the scan. The choice is remembered in this browser and shared with PDF OCR and the other reading tools, and the first use of a language downloads its data from this site.
Page separators (--- Page N ---)
Puts a line like --- Page 3 --- before each page's text. Pages with no text still get their marker, so you can see that they were empty. This is useful when you need to know where a quotation came from.
Join broken lines into paragraphs
PDFs store a paragraph as many short lines, because that is how it fitted the page. Tick this to join lines that were only wrapped at the page width. It also puts back a word split with a hyphen at the end of a line, such as "infor-" and "mation". Short lines such as addresses, headings, bullets and numbered items stay on their own lines, and so does any text whose lines are all short.
For example, this text from a notice:
The meeting will be held on Sunday at
10 am in the main office. Please bring
your original certificates and two photos.
Documents required:
1. Original SSC certificate
2. Two passport-size photos
becomes this with joining on:
The meeting will be held on Sunday at 10 am in the main office. Please bring your original certificates and two photos.
Documents required:
1. Original SSC certificate
2. Two passport-size photos
Reading the result
The Text panel starts with four figures: Pages, Read with OCR, Words and Characters. Read with OCR counts the pages whose text actually came from the picture; a page that was read but where the page's own text was longer is not counted. The word and character counts follow the Join option.
The View switch has two modes. All text is one box you can copy from. By page lists each page as a fold-out line with a "read from the image" label for OCR pages and a "no text" label for empty ones; open a page to see its text and a Copy this page button. Copy all and Download .txt always take the whole text, with your options applied.
Notes you may see above the figures:
- "Stopped early: only the first N selected pages are included." You pressed Stop.
- "N pages have no readable text (blank or just pictures)." Those pages were checked but gave nothing.
- "No text was found in the selected pages." Nothing at all came out.
What it accepts and its limits
- Files: PDFs only. Another file type gives "“name” isn't a PDF file." and a file that only looks like a PDF gives "isn't a PDF (no PDF header found)".
- Size: the file picker refuses files over 200 MB.
- Passwords: a PDF that needs an open password asks for it. A PDF with only a permissions password opens without one.
- OCR: up to 100 scanned pages in a run, each read at about 200 dots per inch.
- Damaged files: a PDF that cannot be read gives "This file couldn't be read as a PDF." Try Repair PDF and see what to do when a PDF file is damaged.
Privacy
PDF to Text runs in your browser. Real text is read with pdf.js on your device. For scanned pages, the OCR engine and language data are served from this site and run locally, so your PDF and the words in it are never sent to a server. If you give a password, it is used only to open the file on your device.
How the text is put together
Knowing how the tool builds lines explains most odd results. Every piece of text on a page is placed by its position. Pieces on the same baseline are joined into one line, left to right, with a space where there is a gap. Lines are then listed from top to bottom, and a blank line is added where the gap to the previous line is clearly bigger than the usual line gap.
That works well for single-column text. It has three side effects:
- Columns are read across. A two-column page gives you the first line of the left column followed by the first line of the right column, then the second lines, and so on.
- Tables become lines. A row comes out as its cells separated by single spaces, so the columns are hard to tell apart. For tables, PDF to Excel or PDF to Word is a better route.
- Headers and footers stay. Running titles and page numbers are text like any other, so they appear on every page.
Tips to work faster
- Start with the Pages box on a long file. Extract three pages first to see how the output looks, then do the rest.
- Switch OCR off for PDFs that came from Word or a website, and on for scans.
- Use Page separators when you will be quoting or comparing pages, and leave it off when you paste into an email.
- Use Join broken lines for letters, articles and reports; leave it off for forms, invoices and lists.
- To compare two versions of a document, extract both and put the text into the Text Diff Checker. See how to compare two versions of a document.
Common problems and how to fix them
Strange English letters and symbols instead of Bangla
Some older Bangla PDFs were made with Bijoy fonts such as SutonnyMJ. They look right on the page, but the text inside is ASCII. Paste the output into Bijoy to Unicode to turn it into proper Bangla, and read Bijoy vs Unicode for the background.
Empty output from a PDF that looks full of text
The pages are pictures. Make sure Read scanned pages (OCR) is ticked and choose the right language. If you want the pages themselves to be searchable too, run PDF OCR.
A scanned page that has a printed footer is not read
A page counts as a scan only when it has fewer than 20 visible characters of text. A scan with a text footer or stamp over 20 characters is treated as a normal page, and only that footer comes out. Run it through PDF OCR with OCR every page ticked instead.
OCR text is wrong in places
Check the language first, then the scan quality. OCR confuses 0 and O or 1 and l, so check numbers and names against the page.
Words are cut in the middle of lines
Tick Join broken lines into paragraphs. It handles hyphenated words too.
Some scanned pages were left empty
You went over the 100-page OCR limit. Type the missing page numbers in Pages and run again.
Related tools
- PDF OCR: add a hidden text layer so the PDF itself becomes searchable.
- PDF to Word: an editable Word file with headings and tables, in the PDF to Word guide.
- PDF to HTML: the content as clean web markup.
- Image to Text: copy text from a single photo or screenshot.
Quick checklist
- Type a page range to test before extracting a long file.
- Tick OCR only for scans, and set the language.
- Join broken lines for prose, not for forms or lists.
- Expect columns to be read across and tables to become lines.
- Check numbers and names in OCR text before using them.



