PDF to textの使い方
- 1
Open the PDF
Drop a PDF of up to 50 MB onto the box, or click to pick one. Password-protected files ask for their password first.
- 2
Pick a text layout
Paragraphs gives clean running text for reading or pasting; Page layout keeps every printed line and lines up table columns with spaces.
- 3
Choose pages and OCR
Extract every page or a range such as 2-5, 9. Switch on OCR and pick the language if some pages are scans with no text layer.
- 4
Copy or download
Press Extract text, check the result in the box, then copy it to the clipboard or save it as a UTF-8 .txt file.
制限と Pro
One PDF of up to 50 MB and up to 200 pages per extraction, OCR included.
Pro opens PDFs of up to 4 GB and reads up to 5,000 pages in one go. Pro を見る
PDF to text について
This tool reads the text layer that most PDFs carry, the same characters you could select in a PDF viewer, and puts it back in the order a person would read it. Copying straight from a viewer often mixes the two columns of an article line by line, breaks every sentence at the end of a printed line and leaves hyphens in the middle of words. Here, pages are split into columns and blocks first, wrapped lines are joined into paragraphs, a word hyphenated across two lines is rejoined, bullets and numbers stay at the start of list items, and a table comes out as rows with a tab between cells, so it pastes into a spreadsheet. A bare page number in the top or bottom margin is left out, and so is rotated or vertical text such as a diagonal "DRAFT" watermark.
Page layout mode does the opposite: it keeps each line exactly where it was printed, using spaces to hold the columns of a form, an invoice or a bank statement in place.
Scanned pages have no text layer, only a picture of the paper. When OCR is switched on, just those pages are read by the Tesseract engine in your browser, in one of 47 languages. Typical uses are quoting a report, feeding a contract into a translator or a word counter, and pulling figures out of a statement. Fonts, colours, images and links are not part of the output; for those, convert the PDF to Word instead.
プライバシー
PDF.js parses the document in a Web Worker on your device and a second worker arranges the lines into paragraphs; the PDF and its text are never uploaded. Only if you switch on OCR does the page fetch the Tesseract engine and one language file from the jsDelivr CDN, once, and those downloads carry nothing from your document.
主な機能
Columns in order
Two- and three-column layouts are read one column after another, not line by line across the page.
Real paragraphs
Wrapped lines are joined and words hyphenated at a line break are put back together.
Tables you can paste
Table rows come out tab-separated, ready for a spreadsheet, or aligned with spaces in Page layout.
OCR for scans
Pages without a text layer can be read with Tesseract in 47 languages, on your device.