Guide · Synthetic data

Create test records without customer data

Generate synthetic names, addresses and document details locally. Reserved email domains and phone ranges, plus structurally invalid identifiers, help distinguish generated test values from production records.

Synthetic identifiers

Generate test records without importing customer files

Document Generator creates content locally without importing customer records. Generated fields use synthetic names and addresses, reserved .example email domains, reserved 555-01xx phone numbers, structurally invalid Social Security numbers and invalid routing numbers.

Those rules reduce the chance that a test value is mistaken for a live identifier. They do not turn a generated file into a compliance certificate, guarantee that every string is globally unique, or remove your organization's data-governance duties.

A short local example

Create a fresh, reviewable test folder

Windows PowerShell

& '.\_internal\DocumentGenerator_v2.0_cli.exe' generate --type invoice letter word_doc eml_file --count 2 --seed 2026 --output output/synthetic-identities --validate

Linux AppImage

./DocumentGenerator_v2.0.0_Linux-x86_64.AppImage --cli generate --type invoice letter word_doc eml_file --count 2 --seed 2026 --output output/synthetic-identities --validate

Linux Flatpak

flatpak run com.docsetgenerator.DocSetGenerator --cli generate --type invoice letter word_doc eml_file --count 2 --seed 2026 --output output/synthetic-identities --validate

This requests two instances of each selected type and writes a manifest and canonical annotations alongside the documents. Review the output for the fields your parser needs, then hand only the files appropriate for that test to a downstream system. Use the neutral bundle workflow when a parser should not receive labels or source metadata.

If you need one file of every registered type, use the authored all-type starter or a writing variety SuiteSpec. The catalog includes 28 PDF document types and five native formats.

What the safeguards do

Understand the generated identifiers

Generated valueWhy it helps testingWhat it does not prove
.example email domainsPrevents ordinary generated email addresses from looking like routable production mailboxes.That every downstream service will refuse or suppress mail.
Reserved 555-01xx phone numbersProvides a recognizable non-production telephone pattern in supported fields.That a vendor's validation or normalization behavior matches yours.
Structurally invalid SSNs and routing numbersExercises formatting and rejection paths without intentionally creating a valid financial identifier.That a target system cannot accept, store, or display the value incorrectly.
Generated names and addressesLets layouts and extraction tasks carry realistic shape and relationships.That a name or address cannot coincidentally resemble a real one.

Responsible use

Keep synthetic data identifiable

  • Keep generated datasets labeled as synthetic and retain the recipe and product revision with the test artifact.
  • Apply your normal access control, retention, encryption, and vendor-review policies when files leave the local machine.
  • Review external OCR or document services on their own terms. Synthetic values reduce the risk of exposing real people, but they do not authorize an upload or guarantee a provider's handling.
  • Separate website requests from desktop execution. The local generator can run without a parser account or customer upload; hosting, downloads, and any external service have their own operational behavior.

Use the word “synthetic” precisely. It describes how the records were generated. It does not mean that every output is suitable for every regulated workflow or that coincidental resemblance is impossible.

Continue with a test plan

Use OCR training data for source and export design, degraded delivery for scan conditions, and test documents for OCR when a parser must be scored without receiving the private truth.