Skip to content
All tools
English

Convert PDF to plain text

Pull the words out of a PDF as a clean .txt you can copy, search or paste anywhere.

Your files never leave your device

Add PDF files

or drag and drop them here

PDF · processed on your device

    Options

    Adds a line such as “----- Page 2 -----” before the text of every page.

    How to use it

    1. Add PDFs

      One file or several; each one gets its own .txt.

    2. Choose page markers

      Turn them on if you need to know which page a passage came from.

    3. Copy or download

      The text appears in a box with a copy button, next to the .txt download.

    What you get

    The tool reads the text layer of each page, groups the pieces that sit on the same line and writes the lines from top to bottom. A clear vertical gap between blocks becomes an empty line. Fonts, colors, pictures and table borders are left out, and so are answers typed into form fields and the text of comments, which are not part of the page text. The result is words only, saved as UTF-8, which every editor, terminal and script can open.

    Arabic and mixed text

    A PDF stores Arabic as shaped glyphs placed from left to right, which is why copying from a reader often gives reversed or broken words. Here the letters are put back in logical order and joined letter forms are turned into ordinary letters, so the text can be searched and edited. English words and numbers inside an Arabic line keep their own direction.

    When there is no text, and other limits

    A scanned document or a photo saved as PDF contains pictures of words, not words. The tool tells you when it finds no text layer; run that file through OCR first. Pages laid out in several columns are read across the full width, so columns can come out interleaved. If you want headings and paragraphs instead of raw lines, try PDF to Markdown or PDF to Word. To see what changed between two versions of a document, use Compare PDF.

    More PDF tools: Convert from PDF

    Frequently asked questions

    Is my PDF uploaded to a server?
    No. The file is opened by your browser and the text is produced on your device. Nothing is sent anywhere.
    Why does it say my PDF has no text?
    The pages are images, usually from a scanner or a phone camera. Use the OCR tool to recognize the words, then you can copy them.
    Is the formatting kept?
    No. Plain text has no fonts, sizes, bold or tables. Line breaks follow the lines on the page.
    The text of two columns is mixed together. Why?
    Lines are read across the whole page width. On multi-column pages a line of the left column is joined with the line beside it.