Experimental

The text in your documents, in reading order

PDFs and plain text, from Python, Node.js, Rust or the command line

Two columns and a table, stored out of orderreading order

Inscriptions of the archipelago

The oldest written records here are carved in stone.

Most are royal decrees, land grants and oaths.

Early ones use a script from South India.

Many still stand where they were carved.

YupaSanskritKalimantan
Kedukan BukitOld MalaySumatra
CanggalSanskritJava
In the file
  1. 4
  2. 1
  3. 6
  4. 2
  5. 5
  6. 3

Fast on one core

Measured in CI on every push

Text from 2,000 pages

time, shorter is faster · accuracy
  1. prasasti60 ms100%
  2. oxidize-pdf191 ms85%
  3. Poppler pdftotext475 ms100%
  4. lopdf684 ms69%
  5. pypdfium2815 ms85%
  6. PyMuPDF849 ms85%
  7. pdf_oxide1.05 s83%

pypdf took 2.9 s and pdfminer.six 16.7 s. Accuracy is words in the right order against known text.

How it was measured

One API for every format

The format is detected from the file itself

Prasasti is Indonesian for a stone inscription