SnapPDFSnapPDF
use case

Legal document processing

Batch OCR, redact, and archive case files.

Legal teams live in PDF. Batch-OCR a 1,000-file subpoena response, extract structured text, and deliver a searchable bundle.

Operations used

Example workflow

  1. 01
    Ingest raw scans from custodian folders
    S3, SharePoint, or local disk.
  2. 02
    SnapPDF ocr (searchablePdf=true)
    Embed text layer in place.
  3. 03
    SnapPDF extract-text
    Push into Elastic for review.
  4. 04
    SnapPDF watermark
    Bates number "BATES 0001".
  5. 05
    SnapPDF protect
    AES-256, owner-password only.

Code

for (const pdf of custodianFiles) {
  const { pdf: searchable } = await snap.pdf.ocr({
    file: pdf, searchablePdf: true, languages: ['eng'],
  });
  const stamped = await snap.pdf.watermark({
    file: searchable, kind: 'text',
    text: `BATES ${String(bates++).padStart(6, '0')}`,
    position: 'bottom-right', opacity: 0.6,
  });
  await s3.putObject({ Body: stamped.pdf, Key: `matter/${id}/${bates}.pdf` });
}

Best for

Law firmsIn-house legaleDiscovery vendors

Other use cases