Doc2Rules.
Local processingFrançais

A reusable extractor, built from your examples.

Readable, versioned rules, tested on unseen documents.

Show a document

Invoices, purchase orders, reports: text PDF, Word, Excel, CSV or text.

Drop your documents

Several at once · up to 50 · 25 MB per file

One click

10 fictitious invoices from 6 suppliers: PDF, Word, Excel, text, CSV and a scan.

Read in your browser: no upload, no account, no AI.

How does it work?

A hand-written PDF parser breaks at the first layout change. Doc2Rules builds a declarative extractor — anchor labels, column headings, cells, value formats, per-layout conditions — that you can read, version, test and reuse. No code is generated or executed.

  1. Choose the fields and correct a few documents.
  2. Improve the extractor: each version is measured on held-out documents, and you can roll back.
  3. Export the extractor as JSON and import it to process a new batch without learning again.

Frequently asked questions

Do I need to write regular expressions?

Never. You correct a cell or click the right value in the document; Doc2Rules derives the rule and shows it in plain words (“after label ‘your order’”).

Can I reuse the extractor?

Yes. Export it as JSON (a versioned format with no executable code), then import it later to process a new batch without learning again. Every improvement creates a new version and you can roll back to an earlier one.

How do I know the extractor is reliable?

Each document you corrected is extracted by an extractor learned without it. Doc2Rules shows how many values are correct, how many are flagged “to review” and how many errors went unflagged: real measurements, not a theoretical accuracy rate.

Does Doc2Rules use AI?

No. Rules are built by a deterministic algorithm from your examples: labels (“Invoice No”), column headings, cells, position, value format, with conditions when your suppliers use different layouts. No data is sent to any AI service.

Limits

  • One document = one record (one table row); line items are not extracted one by one.
  • No OCR: a scanned PDF is flagged, not read.
  • 50 documents and 150 MB per batch, 25 MB per file, 500 pages per PDF.
  • Corrections and versions live in the tab: export the extractor to keep it.