New Tool Radar

AI PDF

How to Split a Batch Scan into Documents at Barcode Separator Pages

Split a batch scan into separate documents at barcode separator pages so each document starts in the right place.

Schematic illustration of batch splitting: list the barcodes, split at the separator pages, and check each output file.

A batch scan of many documents is one long PDF, and barcode separator pages mark where each document starts. Splitting at the barcodes turns the batch back into separate files, but only if every barcode was read. This guide splits one batch scan and checks the result.

Prerequisites

A batch scan PDF with barcode separator pages and a splitting tool that reads barcodes. Work on a copy of the batch.

Steps

1. List the barcodes in the batch scan

Read the barcode values from the separator pages. Expected result: three separator barcodes are found, each with a different value.

2. Split the PDF at the separator pages

Run the splitting tool with barcode detection. Expected result: four PDF files are created, one per document.

3. Check each output file starts correctly

Open each output file and read its first page. Expected result: each file starts with the right document, not with a separator page.

4. Record any document the split missed

Record every document that is missing or merged with another. Expected result: a note that lists the problems or confirms all four files are correct.

Practice check: fictional batch scan, four documents, three separators

The table below is fictional practice material. It lists the four documents the split must produce.

Output file First page
doc-1.pdf Letter from Maria Chen
doc-2.pdf Invoice INV-2204
doc-3.pdf Contract SC-118
doc-4.pdf Receipt, bookshop

Expected result. the split produces four files, each starting with the right document.

Limits

  • A barcode the tool misreads splits the batch in the wrong place, so check the first page of every output file before filing them.
  • UNTESTED – no OCR tool or AI tool was run; all results above are expected results. The practice file is fictional.

Sources

  • OCRmyPDF Cookbook – –sidecar writes OCR text to a companion file; –output-type pdfa/pdf picks the output; –optimize shrinks the file; –mode strip removes the text layer. Checked 2026-11-29.
  • Adobe Acrobat, Extract key data from scanned PDFs with OCR – Try to select a word first; OCR adds text you can search, select, copy and extract; tables can flatten, so compare totals with the original page. Checked 2026-11-29.
See all