PDF to Text
Extract the text from a PDF, choose the pages and add page markers. Scanned PDFs without a text layer will come out empty. Free to use.
About PDF to Text
PDF to Text pulls the words out of a PDF so you can copy them or save them as a .txt file, without selecting text by hand page after page. Choose the file, pick the pages and press Extract text.
Nothing is uploaded
The PDF is read in your browser, so reports and statements stay on your device.
Page markers
With 'Add --- Page N --- markers' on, each page starts with its real page number. That helps when you extract only pages 5 to 7 and still want to see where each part came from.
Paragraphs or lines
'Join wrapped lines into paragraphs' glues broken lines back into normal paragraphs, which is what you want for articles and letters. Turn it off for lists and tables, so each row stays on its own line.
Tables and columns
Columns are separated by single spaces, not tabs, so the result will not paste neatly into a spreadsheet. For tables, use PDF to Excel instead. On pages with several columns the reading order can mix, so check the result.
Scanned PDFs
A scan or a photo of a page has no text inside it, so the result comes out empty. Run it through OCR first.
Copy, download, repeat
Use Copy to put the text on your clipboard or Download .txt to save it. The text has no watermark and there is no limit on how many files you extract. Words split with a hyphen at a line end stay split, so check those before a word count or translation.
Why plain text?
Plain text opens in any program, is easy to search and paste, and is the format most translation and analysis tools want. It drops fonts, colours and layout.
How to use PDF to Text
- Choose a PDF with a text layer.
- Type the pages you want, or leave the box empty for all pages.
- Keep or untick the page markers and the option to join wrapped lines.
- Press Extract text, then copy the result or download it as a .txt file.
Help & FAQ
How do we extract text from a PDF?
Choose the PDF, press Extract text and the text appears in the box below with a character count. Use Copy or Download .txt to keep it. A sample 2-page file gave 294 characters.
What do the page markers look like?
Each page starts with '--- Page 1 ---', '--- Page 2 ---' and so on, using the real page number. Untick the option to get plain text with only a blank line between pages.
What does 'Join wrapped lines into paragraphs' do?
It removes the line breaks inside a paragraph so it reads as one line. In a sample file, it also merged the table rows into one line, so untick it for tables and lists.
Can we extract only some pages?
Yes. Type 2, 1-3 or 1, 3, 5-6 in the Pages box. A page number that does not exist, such as 9 in a 2-page file, shows 'Page 9 does not exist (this PDF has 2 pages).'
Why is our result empty?
The PDF may be a scan or a photo without a searchable text layer. Run OCR first. The page also warns that scanned PDFs without a text layer come out empty.
Does it keep the table columns?
No. In a sample file, the columns were separated by single spaces only. To keep a table in columns use PDF to Excel.
Is our PDF uploaded?
No. The text is read in your browser and nothing is uploaded. Standard page and analytics requests still occur.
What is the name of the downloaded file?
It is pdf-text.txt, a plain text file. Rename it as you like after saving.
Are accents and symbols kept?
Characters such as $, % and a comma in 1,200 came out correctly in the sample file. Fonts that map letters unusually can still produce wrong characters, so check important numbers.
Does it fix hyphenated words at line ends?
No. A word split by a hyphen at the end of a line stays split. Search for hyphens before counting words or translating.
Is there a watermark or a usage limit?
The text contains no watermark. There is no run limit.
Can we extract the text from several PDFs at once?
No. The tool works on one PDF at a time. Run it again for each file.
Can we copy the text instead of downloading it?
Yes. The result appears in a text box under the button, so you can select and copy it, or save it as a file.
Why is the text in the wrong order when our PDF has columns?
The tool reads each line across the page, so text from two columns can run together. There is no setting that changes this, so check the result and rearrange the passages by hand.
Can we use it on a phone or tablet?
Yes, it runs in your browser. A long PDF is read page by page and can take a while on an older device.