# How to copy text out of a PDF when you can't select it

> Get the text out of a PDF as plain text, Markdown or Word, free in your browser. What each format keeps and loses, and why scanned PDFs give you nothing.

Published 2026-11-22 · How-to · 7 min read · Source: https://kopitiam.io/blog/copy-text-out-of-a-pdf

To copy text out of a PDF, open Kopitiam's PDF to Word & text tool, drop in the file, pick Plain text (.txt), Markdown (.md) or Word (.docx) under Export as, and press Extract & download. You get every word on every page in one file, which you can then copy from, search or edit. This works even when your PDF reader won't let you highlight or copy, as long as the PDF holds real text and not pictures of text.

It runs in your browser, so nothing is uploaded, and there is no sign-up and no watermark. This guide covers why copying fails in the first place, which of the three formats to pick, exactly what each one keeps and drops, and what to do when the file turns out to be a scan.

## Why you can't select or copy the text

There are three common reasons, and only two of them can be fixed by extracting the text.

- The PDF blocks copying. Whoever made the file set a permission that tells readers not to allow copy or edit. The words are still in the file, and the tool can read them out, as long as the PDF opens without a password.
- Your reader makes selection awkward. Multi-column pages, forms and tables often make a drag select half a page at once, or jump between columns. Extracting the whole document and copying from the result is usually quicker than fighting the cursor.
- The PDF is a scan or a photo. Each page is an image, so there are no letters in the file at all, only pixels shaped like letters. Extraction can't help here, because the tool has no OCR (optical character recognition, the step that turns a picture of text into real text).

A quick test tells you which case you have. Try to highlight a single word in your PDF reader. If one word highlights, the text is there. If the whole page highlights like a photo, or nothing happens at all, it is almost certainly a scan.

## Step by step

1. Open PDF to Word & text and drop your PDF where it says Drop a PDF here, or click to choose a file.
2. Under Export as, choose Plain text (.txt), Markdown (.md) or Word (.docx).
3. Press Extract & download. The button reads Extracting… while it goes through the pages.
4. The file downloads with the same name as your PDF and the new extension, for example invoice.txt from invoice.pdf. Your PDF is not changed.
5. Open the file and copy what you need. If the tool says No selectable text found, the PDF is a scan; see the section on scans below.

## Which format to pick

All three formats come from the same text, read page by page. They differ in how much structure they add around it.

- Plain text (.txt): when you only want the words. Pasting a paragraph into an email, searching a long report for one figure, feeding text into another program, or keeping a light, searchable copy of a document.
- Markdown (.md): when the text is going into a notes app, a wiki, a website, or a tool that reads Markdown. Headings come across as # lines, so the structure survives the move.
- Word (.docx): when you want to edit the text as a document and keep headings as real Word headings. If editing in Word is the whole point, the guide on converting a PDF to Word for free goes into tidying the result.

## What plain text keeps and loses

Plain text is the simplest output. The tool groups the words on each page into lines from top to bottom and left to right, and writes one line of the PDF as one line of text. The file is saved as UTF-8, so accents and non-English characters come across as they are.

- Kept: the words, their order down the page, and line breaks.
- Added: in a document with more than one page, a short marker line with the page number, such as Page 2, appears before each page after the first. A one-page PDF has no marker.
- Lost: headings as headings, bold and italic, fonts, colours, images, links and the page layout. A title looks like any other line.
- Changed: lines that wrapped in the PDF stay broken where they wrapped. A sentence that ran across three lines arrives as three lines, and a word hyphenated at the end of a line keeps its hyphen.

## What Markdown keeps and loses

Markdown gets the same lines as plain text, plus headings the tool works out from text size. It finds the size used by most of the text in the document, treats that as body text, and marks a line as a heading when it is clearly larger, fairly short (90 characters or fewer) and doesn't end in a full stop, comma, semicolon or colon. The largest heading size becomes #, the next ##, then ###. There are at most three levels.

- Kept: the words, their order, and headings guessed from size.
- Added: in a document with more than one page, every page starts with a horizontal rule (---) and a ## Page heading, such as ## Page 1. Delete them if you don't want them.
- Lost: bold, italic, links, images, lists and tables. A bulleted list in the PDF comes out as plain lines, starting with the bullet character if the PDF stored one as text.
- Watch for: headings that are only bold, not larger, are not detected. Large text that isn't a heading, such as a big price on a flyer, can be marked as one.

The text itself is written as it is, without escaping. A line in the PDF that begins with an asterisk, or with a number and a full stop, may display as a list item when a Markdown viewer renders it. That rarely matters for notes, but check it before you publish the text on a site.

## What Word keeps and loses

The Word option builds a real .docx from the Markdown version, so it carries the same detected headings, now as Word's Heading 1, Heading 2 and Heading 3 styles. Each line of the PDF becomes its own paragraph, and the page markers come across as a --- line followed by a Page heading. Everything else is in Word's default style, with no images, tables, fonts or colours from the original, and the page size is set to US Letter. The convert PDF to Word guide covers cleaning that up.

> None of the three formats is a copy of the layout. They give you the words in a sensible reading order. If you need the PDF to look the same with a small change, edit the PDF itself instead of extracting from it.

## Columns, forms and tables

These are the pages where the result needs the most checking, so it helps to know how the tool reads them. It works line by line across the full width of the page. Within one line, text separated by a wide gap (roughly a quarter of an inch or more) is split into separate lines, so a form's label and its answer, or two side-by-side fields, don't run together into one word soup.

- Two-column articles: lines from the two columns that sit at the same height come out one after the other, left then right. You get line 1 of the left column, then line 1 of the right column, and so on, so the columns are interleaved. For a long two-column paper, plan to copy one column at a time from the result, or select it directly in your reader.
- Forms: labels and printed answers come out on separate lines in reading order, which is usually easy to follow.
- Tables: each row is read left to right, and cells that are far apart become separate lines. The numbers arrive in the right order, but the grid is gone. To rebuild a table in a spreadsheet, plain text is easier to work with than Word.
- Spaced-out headings: titles set with wide letter spacing, which a PDF often stores as P A R T N E R, are joined back into PARTNER.

## Scanned PDFs and other limits

A scanned PDF has no text layer. The tool reads only text that is stored in the file, and it does not do OCR, so it has nothing to give you. If none of the pages has any text, you see the message No selectable text found and nothing downloads. To get the words out of a scan, run it through an OCR program first, which adds a text layer, and then extract from that copy. If you only need to see or share the pages, PDF to JPG saves each page as an image.

- A mix of typed and scanned pages: the file still downloads. The typed pages have text and the scanned pages come out empty.
- Password-protected PDFs: the tool can't open a PDF that needs a password to view. Open it with the password in your reader, use Print and then Save as PDF to make an unlocked copy, and extract from that.
- Copy or edit restrictions without a password: these open fine, and the text comes out.
- Garbled letters: some PDFs, often older ones or ones with unusual fonts, don't record which letter each shape stands for. The text looks normal on screen but comes out as nonsense characters. OCR on a printed or image copy is the only fix.
- Headers, footers and page numbers: they are text on the page, so they come out with everything else, once per page. Delete them when you tidy up.
- Text drawn as shapes: logos and some designed headings are drawn as outlines, not letters, and are skipped.

One more point about restricted files. A copy restriction is the author's request, and being able to read the text doesn't change who owns it. Extracting your own payslip or a contract you signed is ordinary. Republishing someone else's work is a different question.

## A worked example: quoting a report in an email

Say a supplier sends a 40-page report as a PDF, and your reader won't let you copy the paragraph on delivery times. Drop it into PDF to Word & text, choose Plain text (.txt) and download. Open the .txt file, search for "delivery", and copy the lines you need. Because each PDF line is its own line in the file, paste them into your email and join them into one paragraph. If you need only a few pages, you can also cut them out first with Extract pages, so the text file is shorter.

## Is it private?

Yes. The text is read out of the PDF inside your browser, and the .txt, .md or .docx file is built on your device. The PDF is not uploaded to a server, which matters for contracts, payslips and medical letters. There is no account and no watermark.

## Frequently asked questions

### How do I copy text from a PDF that won't let me select it?

Open Kopitiam's PDF to Word & text tool, drop in the PDF, choose Plain text (.txt) and press Extract & download. Open the text file and copy from there. This works when the PDF contains real text, including PDFs that block copying but open without a password.

### Why does the tool say no selectable text was found?

The PDF is almost certainly a scan or a photo, so each page is an image with no letters stored in it. Kopitiam's text tool has no OCR. Run the file through an OCR program first to add a text layer, then extract from that copy.

### Should I export as plain text, Markdown or Word?

Plain text gives you only the words and lines. Markdown adds # headings guessed from text size, which suits notes apps and wikis. Word builds a .docx with the same headings as Word heading styles, for editing as a document.

### Does extracted text keep bold, links, images or tables?

No. All three formats keep the words and their reading order. Bold, italic, fonts, colours, links and images are dropped, and tables arrive as rows of text without the grid. Markdown and Word also keep headings detected from text size.

### Why are the lines from two columns mixed together?

The tool reads each page line by line across its full width. On a two-column page, the left and right lines at the same height come out one after the other, so the columns are interleaved. Copy one column at a time, or select it directly in your PDF reader.

### Is my PDF uploaded when I extract the text?

No. The text is read out in your browser and the file is created on your device. Nothing is sent to a server, there is no sign-up, and the download has no watermark.

## Related tools

- [PDF to Word & text](https://kopitiam.io/convert/from-pdf)
- [PDF to JPG](https://kopitiam.io/pdf/pdf-to-jpg)
- [Extract pages](https://kopitiam.io/pdf/extract)
- [Edit PDF](https://kopitiam.io/pdf/edit)

## Keep reading

- [How to convert a PDF to Word free (and when it works)](https://kopitiam.io/blog/convert-pdf-to-word-free.md)
- [PDF vs Word vs Google Docs: which should you use?](https://kopitiam.io/blog/pdf-vs-word-vs-google-docs.md)
- [How to extract pages from a PDF (free, in your browser)](https://kopitiam.io/blog/extract-pages-from-pdf.md)
