How to extract selectable text from a PDF

Use TinyToolbox PDF to Text to recover paragraphs from a PDF, inspect reading order, and decide when to use OCR or another export.

Open the tool

PDF is good at keeping a document’s appearance intact. When you need the words for notes, a searchable plain-text file, or an edit, that appearance can get in the way. Copying several pages at once may mix columns, include page headers, or miss text on scanned pages. It helps to know what you can recover and what needs a separate step.

TinyToolbox PDF to Text reads selectable text from a PDF and offers the result to copy or download. It makes a plain-text file rather than reproducing the page design. Keep the original open while reviewing the export, especially if a heading, column, or footnote changes how a passage should be read.

Check whether the PDF contains usable text

Open the source in a PDF viewer. Try selecting a sentence in the middle of a typical page. Copy it into a plain-text editor and read it there. A good initial result is a complete sentence with ordinary spaces and the correct order of words. If your selection only highlights a whole image, the page may be a scan. If the copied text comes out as garbled characters, the PDF may encode its fonts or text in a way that needs a closer look.

Check more than one page when the document was assembled from different sources. A digitally exported cover may contain selectable text while the supporting pages are scans. A document with a visible page number and no readable body can return a few words and still leave out most of what you need. Compare a typical body page with a page that looks different.

Reading order also matters. On a two-column page, a correct-looking selection can still return words from the right column directly after a line from the left. Text extraction uses the information embedded in the file. It cannot always infer the exact sequence that a person would follow. If only one paragraph matters, manually selecting that smaller area can be quicker than cleaning up an entire export.

For a scan, use Scanned PDF to Text OCR on a supported Chrome installation or transcribe the relevant portion yourself. OCR stands for optical character recognition. It attempts to turn visible text in an image into characters. See the separate workflow below for deciding which pages need it.

Extract the text in TinyToolbox

  1. Open PDF to Text.
  2. Under PDF file, choose the document you want to read.
  3. Select Run tool.
  4. Inspect the text in the result field.
  5. Choose Copy result to copy it or Download result to save it as extracted.txt.
  6. Open the output and compare important passages against the PDF.

TinyToolbox runs the extraction in your browser. Uploads in this tool are limited to 25 MB, and the text workflow supports PDFs with up to 150 pages. If your document is longer or you only need a section, use Extract PDF Pages to make a smaller PDF first. Check its page sequence before extracting text from it.

If your input is protected and the tool cannot open it, start with an accessible copy you are authorized to use. There is no password field on the text extractor. Remember that extracting words can create a second file containing the same private material. Review and store that text copy as carefully as the source document.

For more than one export, rename the downloaded files with names that describe the material. A name such as chapter-03-text.txt makes it easier to find the correct output after running the tool several times.

Understand what a plain-text export can keep

The export aims to retrieve words and punctuation stored in a selectable text layer. It can preserve some line endings from that layer. It does not retain styling such as font size, color, bold weight, or alignment. Pictures, diagrams, and lines that form the borders of a table are outside the text output.

A chart may be partly readable because its labels are stored as text. The numbers and labels alone may not tell you which line, bar, or axis they refer to. Keep the original image with the notes or summarize the chart after looking at it. Treat visual relationships as information in their own right.

A receipt or invoice can include columns for description, count, unit price, and total. When those are exported as plain text, some values may be separated from their headings. Check each category against the original before using a number. Rebuilding a one-page table by hand can be more reliable than guessing which number belongs in a cell.

The output is useful for reuse, but it does not recreate every feature of the PDF. Links may survive as visible addresses when their text is present. Links whose destinations are hidden behind a label are a separate kind of page information. If you need those destinations, try Extract PDF Links on the original.

Clean up the extracted text

Start with the units that carry meaning. Identify headings, paragraphs, numbered list items, and captions. Separate these blocks before doing broad search and replace operations. Once the intended structure is clear, it is easier to see whether a line break was part of the original text or a side effect of how a paragraph fitted on the page.

Check words broken by hyphens near the edge of a line. A printed line might split “application” after a few letters, while a word such as “well-known” may intentionally contain a hyphen. Join the first kind when you confirm it against the source. Leave meaningful hyphens and minus signs untouched.

Remove repeating headers and footers with care. If a document name occurs at the top of each page, it may be part of every excerpt even though you only need it once. The same string might also appear legitimately in a paragraph. Search for representative occurrences before removing it throughout the file.

Check accented characters, bullet symbols, and spelling in proper names. Pay attention to numerical values if the text is used for a report. Compare identifiers, currency amounts, dates, and units with the PDF. For a statement or a list of measurements, verify the values you will actually reuse rather than judging accuracy by the appearance of ordinary paragraphs.

If the formatted version matters after cleanup, Markdown to PDF can help you rebuild a simple document with headings, lists, and code blocks. Keep the plain text as your editable extract, then add formatting in Markdown. Compare the new PDF with the content you intended to publish.

Read scanned pages with OCR when needed

Open Scanned PDF to Text in a compatible Chrome browser. Choose the PDF, enter the page number, and run the tool. It uses an on-device model when available. A first use may need to download the model, and model or device requirements can affect availability.

Compare the transcription against the scan. OCR can confuse similar shapes such as a zero and a capital O. It can also struggle with handwritten notes, small characters, glare, faint printing, or closely packed columns. Read the result with the scan visible. Do not infer a missing digit just because one would fit a familiar pattern.

For a long file, make a record of which pages need OCR and which can be exported directly. Keep individual transcription outputs in the correct order, then assemble the cleaned text once you have checked each passage. If the original scan is difficult to read, a cleaner rescan or an editable original may save more time than repeatedly processing the same noisy image.

Choose the output that matches your task

I want a text file for notes. Use PDF to Text, copy the relevant sections, and add your own labels or source page references. Keep the PDF alongside the notes if any diagram or table is needed for context.

I want a Word document I can edit. Use PDF to Word for selectable text in a DOCX. That workflow also extracts text and does not reproduce the original page design. Rebuild heading and list styles in Word as needed.

I need text from an apparent table. Use PDF to Excel on a supported Chrome browser if you want to try reconstructing a table from selectable text. Verify the headers, cells, and totals in the resulting workbook. For an exact record, check against the source.

I want one text record per page. PDF to JSON exports page positions alongside text. It can help when you need to keep track of where each block came from. Compare the page positions to the order in your viewer when the original uses custom page labels.

Keep source references as you work

When you use the text for an assignment, report, or internal note, record which PDF and page it came from. A filename alone may be ambiguous after a new version is published. You can add a line such as “Source: project brief, version dated October 14, PDF page 6” above each extracted section. Check that the date and page position match the original.

If printed page numbers differ from viewer positions, record both when they help readers. For example, “printed page 2, file position 5” is easy to find in more than one PDF viewer. Update the note if you later replace the source with an extract whose page positions have changed.

Keep quotations separate from your edits. If you correct line breaks or normalize spacing for readability, recheck that the words themselves are unchanged where you intend to quote. Copying from a PDF can also split quotation marks or punctuation in ways a word processor corrects automatically. Comparing short passages against the original reduces those surprises.

Troubleshoot the export

Nothing comes out. Try selecting a sentence in the PDF viewer. If the body is scanned, use OCR or obtain the source document.

The word order is wrong. Extract a smaller range or select one column manually. Compare the text to the PDF and reorder the sections only where you can verify the intended reading order.

The text has joined words or stray spaces. Compare a short line with the original. Fix spaces and line breaks in the working copy while preserving meaningful punctuation.

A page appears to be missing. Check whether it is a scan or a blank page. Plain text has no visual page image to show a page that did not contribute readable words. For page-by-page tracking, keep a source page note when you assemble the output.

Run the extraction on the smallest useful part of the source, then check its reading order and important facts. The best output is the one you can verify against the PDF and confidently use in your next step.

Check a heading and its footnote before quoting them

Suppose you extract a paragraph from a report to share in a summary. In the PDF, a superscript beside the last sentence points to a qualification in a footnote. The plain-text result may put the note elsewhere or render its marker differently. Open the source page and read the paragraph, marker, and footnote together. Check that the extracted sentence is complete before copying it into your own document.

If the footnote limits the statement to one group or date range, include that qualifier or cite it explicitly when you summarize. Note the original page position and printed page number where they differ. This makes the passage easier to verify even if the extracted copy no longer shows the layout that connected the footnote with the sentence. Save the original PDF alongside your notes if you need to repeat that check for another paragraph.