PDF to text
Copy the embedded text into a text file.
Extracts the embedded text of a PDF as plain text, Markdown, HTML or JSON.
How to use it
- Open PDF to text in superPDF.
- Choose a document, or pick one saved in My documents.
- Set the options described below.
- Select Extract text, check the result, then download it.
Options
| Option | Values | Default |
|---|---|---|
| Files | Accepts PDF, PNG, JPG, JPEG, DOCX, XLSX, PPTX, ODT, ODS, ODP | |
| Format | One of Plain text, Markdown, Web page (HTML), Data file (JSON) | Plain text |
Output
A file to download or copy, with an estimate of how many tokens it is for an AI model (4 characters per token). Markdown turns headings into # and ##, keeps bullet lists, bold, italic and superscript text, and writes tables as Markdown tables, words underlined or struck through in the PDF as <u> and ~~, and each chart’s data as a table under its title (a chart whose labels or numbers are drawn as shapes or pictures has them read with superPDF OCR); HTML is a standalone page with one section per PDF page and real tables (cells that span columns included); JSON holds pages and their blocks (headings, paragraphs, list items, tables with rows and header rows, charts with their data, page headers and footers), each with its type and its box on the page, with positions and fonts, image boxes and the boxes of pictures drawn as shapes (charts, diagrams, icons), and a section outline with page ranges. Headings are recognised by size and weight, and bookmarks, when the PDF has them, give the outline. Bold comes from the font, from a cut of the font set wider than the text around it, from text printed twice or drawn with an outline to look bold, and on scanned pages from how heavy the strokes are (only for words read clearly, so smudges and tilted lines aren’t taken for bold). Lines in right-to-left scripts (Hebrew, Arabic) read from the right. A page that can’t be read (a damaged page) comes out as the note [This page could not be read.], and the rest of the document is still converted.
Reading order
superPDF finds the empty bands between parts of a page. A page split by a gap running from top to bottom is read one column at a time, left to right, after any title that spans the columns, so two- and three-column articles read in order. A narrow gutter still separates columns when it runs down the page, and a large headline beside a column of small text is not joined to it. A paragraph ends where a line stops well short of the column and the next starts a new sentence, at a first-line indent, or where more space follows than between its own lines. Running headers and page numbers in the top and bottom margins are marked as page headers and footers in JSON and HTML (on a single page, the lines at the top or bottom edge set apart from the text by a clear gap, when they carry a page number, link or year, count as one header or footer); Markdown and plain text keep them as lines of their own (in Markdown with their bold and italic).
Tables
Tables are found the same way as in PDF to Excel.
Accuracy
In our own run of ParseBench’s open-source test suite, the public benchmark for document parsing, this reader scores 65.0 out of 100; superPDF is not on the official leaderboard. Performance has every score and how it was measured.
Limits
No file size or page limit. Everything runs on your device, so very large files are fastest on a computer.
A JPG or PNG photo, scan or screenshot of a page is read as a one-page scanned PDF; you can also paste a screenshot with ⌘V or Ctrl+V. A Word, Excel or PowerPoint file (.docx, .xlsx, .pptx, .odt, .ods or .odp) is laid out as a PDF in your browser first, as Word to PDF does, then read the same way. Pages with no text, or only a line or two over a picture of the whole page (scans, including scans stored as strips of picture, and scans with a stamp or header added), are recognized with OCR as they are read, in the document’s language when superPDF OCR reads it (see Languages), which takes longer; a Stop button appears while it runs, and the result says how many pages were recognized, so check their text. A page whose text is stored in a way that can’t be read (some older fonts for Hindi, Marathi or Chinese turn it into stray signs and accented letters) is read with OCR too, and its text is replaced when the OCR reading is clear. A picture on a page with text that holds text itself, such as a title or a table saved as a picture, is read with OCR too, in the language of the page’s text, when it looks like printed lines; photos, logos and drawings are left as pictures. Pictures are not described, and charts are read only when they are drawn in the PDF, or are bar charts set as pictures (see Charts below). Tables with merged cells, rotated text or no clear columns may need tidying.
Privacy
Runs in your browser. Your files are processed on your device and never uploaded.