ToolsHub4u

Pull the selectable text out of a PDF

Copy the words out of a PDF into a plain text file you can paste anywhere. Page markers are optional, and a scan is reported instead of returning nothing.

  • Plain .txt download
  • Optional page headings
  • Nothing uploaded
Ready PDF
1Enter
2Adjust
3Copy result

PDF to Text

1

Add the PDF

Drop your file here or choose from your device

PDF. Up to 120 MB. One file.

    2

    Output options

    Ready

    Files are processed here in the browser. Check the download before deleting the original.

    3

    Extracted text

    Copying text out of a PDF by hand is slow and error-prone, especially when the file runs to dozens of pages. This tool reads the text layer of each page and writes it into one plain text file called extracted-text.txt, in the order the pages appear.

    It works on PDFs with selectable text: exports from Word, invoices from accounting systems, reports from design software. It does not read a scan, because a scan is a photograph with no text inside it, and the tool says so rather than handing back an empty file.

    Page headings on or off

    With page headings on, the file marks each page boundary with a line such as --- Page 4 ---. That is useful when you need to cite a page or split the text back into sections. Turn it off and pages are separated by a blank line, which is cleaner for pasting into a document or a spreadsheet cell.

    The choice only changes the markers, not the words. On a five-page test report, headings on produced 1,567 bytes and headings off 1,487 bytes, with the same 1,487 characters of text in both.

    Reading order and line breaks

    Text is recovered page by page, in the order the page draws it. For a single-column document that reads perfectly. For a two-column layout, a sidebar or a table, the extractor can interleave the columns, because the visual position of a line is not the same as its reading order.

    Line breaks are approximate. A sentence that wraps across three lines in the PDF usually arrives as three lines in the text file. Reflow it in your word processor, or join the lines with a search and replace. Tables lose their column alignment: a row of figures comes out as Server hosting 4,800.00 5,120.00 +320.00, with single spaces between values.

    A worked example

    A five-page quarterly report produced Extracted text from 5 pages, 248 words and 1,487 characters in a 1.5 KB file. The first lines were the title, the company and the date, followed by the opening paragraph and a --- Page 2 --- marker before the cost summary.

    The cost table came out as five readable rows but without column spacing, and the landscape depot page came out as ordinary sentences. That is what to expect: the words survive, the layout does not.

    Scans and mixed documents

    A scanned plan with no text layer returned No selectable text was found. This looks like a scanned PDF; it needs OCR before text can be extracted. No file was written, which is the right outcome: an empty text file would look like a success.

    A mixed document is handled page by page. Pages with text are extracted and pages without are skipped. If every page is a scan, the run stops with the OCR message.

    Limits and when to use something else

    One PDF of up to 120 MB per run. The output is always named extracted-text.txt and encoded as plain text, so accented characters and most punctuation survive but complex layout and embedded images do not.

    If you need the words in a document you can edit, use PDF to Word. If you need a web page, use PDF to HTML. If you need the pages as pictures, use PDF to Image.

    Questions

    Common questions

    Short answers about this tool and its limits.

    How do I extract text from a PDF?

    Add the PDF, choose whether to include page headings, and run the tool. It writes extracted-text.txt with the text of every page that has a text layer, in page order.

    Why is there no text in the file?

    The PDF is probably a scan. A scanned page is an image with no text layer, so there is nothing to extract. The tool reports this instead of writing an empty file; the page needs OCR first.

    Does it keep the original layout?

    No. The output is plain text with line breaks, not columns, tables or spacing. A table row becomes a line of values separated by single spaces, and multi-column pages can interleave.

    What do the page headings look like?

    They are lines such as --- Page 4 --- placed before each page's text. Turn the option off and pages are separated by a blank line instead, which is easier to paste into another document.

    Can I extract only some pages?

    Not here: the tool processes the whole file. To work on a few pages, extract them first with Extract PDF Pages, then run the text extraction on that smaller PDF.

    Are accented characters kept?

    Yes, in normal cases. The file is plain text, so letters such as é, ü and ñ survive when the PDF stores them as text. Characters drawn as graphics or unusual symbol fonts may not.

    Is my PDF uploaded to a server?

    No. The file is read from your device and the text is written in the browser tab. Nothing is sent to ToolsHub4u or any other service, and no account is needed.

    What are the file limits?

    One PDF of up to 120 MB per run. The output is always named extracted-text.txt, and very long documents are limited by the memory the browser tab can use.