Extract Text from PDF

Get all the text out of a PDF as plain text: copy it or save it as a .txt file, and see the word and character count straight away. Pages that are only a scanned picture are pointed out, because there is no text to read on them. Your PDF is read on your device and never uploaded.

Drop a PDF here

or

One PDF file · up to 100 MB

Private: files never leave your device

    How to use it

    1. Choose one PDF file.
    2. Wait while each page is read — the word and character count appears when it is done.
    3. Keep or turn off the “Page 1, Page 2…” separators between pages.
    4. Press “Copy text” or download the .txt file.

    Plain text from any PDF with a text layer

    PDFs made from Word, Google Docs, a web browser or accounting software contain real text, even if you can’t easily select it in your viewer. This tool reads that text page by page and rebuilds the lines, so you can paste it into an e-mail, a translation tool or a spreadsheet, or check a quote against the original.

    • Word count for PDFs: essays, articles and translations are often priced or limited by word count. The count appears as soon as the PDF has been read.
    • Search and compare: paste the text into an editor to search it, compare two versions or find text that is hidden in the layout.
    • Accessibility: plain text works with screen readers and can be enlarged without zooming the page.

    Know what you are getting

    • Scanned pages are not converted. The tool tells you which pages have only images. Text that was blacked out with a box but not truly redacted is still extracted — useful for checking a document before you share it.
    • Headers, footers and page numbers are included, because they are text on the page.
    • Words split by a hyphen at the end of a line stay split; the tool doesn’t guess whether the hyphen belongs to the word.

    Related tools

    Need only some pages? Pull them out first with Split PDF. To keep a page’s look instead of its text, save it as an image with PDF to JPG. Before sending a PDF to others, check what it says about you with Remove PDF Metadata.

    Frequently asked questions

    Why is some page empty or marked as scanned?

    A scanned page is a photo of paper: it contains pixels, not letters, so there is no text to extract. This tool has no OCR (optical character recognition). Run the PDF through an OCR program first — many PDF editors and some online office suites can do it — then extract the text here.

    How are words and characters counted?

    A word is a run of letters or digits; an apostrophe, hyphen or dot inside it keeps it as one word, so “don’t”, “e-mail” and “3.5” each count once. Characters are counted with and without spaces; line breaks and the page separators are not counted. Languages written without spaces, such as Chinese or Japanese, are counted per run of characters, not per word.

    Why is the order of the text wrong in places?

    A PDF stores where each piece of text is drawn, not the order in which it should be read. The tool puts pieces on the same baseline into one line, left to right, from the top of the page down. That works for ordinary documents, but two-column layouts are read straight across both columns, and tables come out as rows of words.

    Why do I get strange symbols instead of letters?

    Some PDFs use fonts that do not record which letter each shape stands for. The page looks right, but the text behind it is meaningless codes. No extractor can fix that from the file alone; OCR on the rendered page is the only way.

    Is the formatting kept?

    No. The result is plain text: no bold, fonts, colours, images or links. Paragraph breaks are kept where the gap between lines is clearly larger than normal.

    Does it work with password-protected PDFs?

    A PDF that needs a password to open cannot be read here. Remove the password with the program you used to set it, then try again.

    Related tools

    • PDF to JPG

      Turn each PDF page into a sharp JPG image, with the resolution you choose.

      Converter Tools  Works with PDF

    • Split PDF

      Extract pages or page ranges, or save every page as its own PDF.

      PDF Tools  Works with PDF

    • Remove PDF Metadata

      See and remove a PDF’s author, title, software, dates and hidden XMP data, then check the clean copy.

      PDF Tools  Works with PDF

    • PDF Page Size Checker

      See every page’s size in mm, inches and points, spot mixed sizes, and fit all pages to A4 or Letter.

      PDF Tools  Works with PDF