Datasets:
image imagewidth (px) 1.65k 1.65k | id stringlengths 10 10 | kind stringclasses 5
values | title stringlengths 13 43 | width int64 1.65k 1.65k | height int64 2.34k 2.34k | num_blocks int64 7 46 | num_table_rows int64 0 72 | truncated bool 2
classes | aged_scan bool 2
classes | blocks listlengths 7 46 | tables listlengths 0 5 | markdown stringlengths 1.52k 14.9k | ocr_text stringlengths 1.51k 14.8k | degradation stringlengths 278 284 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dense-0001 | directory_listing | Chennai Business & Residential Directory | 1,654 | 2,339 | 13 | 0 | false | true | [
{
"id": "b0",
"order": 0,
"label": "title",
"bbox": [
57,
69,
701,
107
],
"text": "Chennai Business & Residential Directory - 1939"
},
{
"id": "b1",
"order": 1,
"label": "section_header",
"bbox": [
57,
112,
551,
138
],
... | [] | # Chennai Business & Residential Directory - 1939
## - B -
Bguyen Leila B () drvr h811 Maple Ln tel 0-1113 Bohnson Grace J (Grace) eng h496 Oak St tel 9-2501 Banaka Oliver A () clerk h385 Oak Ln tel 4-4959 Beddy Mei A (Rose) eng h238 Maple Ln tel 3-9051 Borgan Mei R (Ann) carp h89 Park Ln tel 9-8596 Bovak Kwame B (An... | Chennai Business & Residential Directory - 1939
- B -
Bguyen Leila B () drvr h811 Maple Ln tel 0-1113 Bohnson Grace J (Grace) eng h496 Oak St tel 9-2501 Banaka Oliver A () clerk h385 Oak Ln tel 4-4959 Beddy Mei A (Rose) eng h238 Maple Ln tel 3-9051 Borgan Mei R (Ann) carp h89 Park Ln tel 9-8596 Bovak Kwame B (Ann) en... | {"level":"mild","downscale":0.86,"effective_dpi":128,"paper":"#f2f2f2","rotation_deg":-0.58,"blur_px":0.01,"contrast":0.99,"brightness":0.98,"shadow":null,"fold_y":null,"punch_holes":false,"noise_sigma":5.4,"salt_pepper":0.0002,"toner_streaks":0,"dust_specks":169,"jpeg_quality":0.67} | |
dense-0002 | terms_and_conditions | Master Services Agreement - Standard Terms | 1,654 | 2,339 | 46 | 0 | false | false | [
{
"id": "b0",
"order": 0,
"label": "page_header",
"bbox": [
64,
64,
341,
110
],
"text": "Falcon Ridge Pharma Ltd\n7371 Market St, Nantes 44000, France"
},
{
"id": "b1",
"order": 1,
"label": "title",
"bbox": [
944,
74,
1590,
... | [] | Falcon Ridge Pharma Ltd
7371 Market St, Nantes 44000, France
# Master Services Agreement - Standard Terms
## 1. PAYMENT
The Services shall remain in effect in accordance with Schedule 2, unless terminated earlier in accordance with this Agreement. Nothing in this Agreement shall be construed as creating a partnershi... | Falcon Ridge Pharma Ltd
7371 Market St, Nantes 44000, France
Master Services Agreement - Standard Terms
1. PAYMENT
The Services shall remain in effect in accordance with Schedule 2, unless terminated earlier in accordance with this Agreement. Nothing in this Agreement shall be construed as creating a partnership, jo... | null | |
dense-0003 | long_statement | Statement of Account Activity | 1,654 | 2,339 | 7 | 61 | true | false | [
{
"id": "b0",
"order": 0,
"label": "logo",
"bbox": [
63,
63,
110,
110
],
"text": ""
},
{
"id": "b1",
"order": 1,
"label": "page_header",
"bbox": [
124,
63,
578,
135
],
"text": "Apex Federal Bank Ltd\n2281 King Street... | [
{
"block_id": "b4",
"n_rows": 62,
"n_cols": 5,
"html": "<table border=\"1\" cellpadding=\"4\" style=\"border-collapse:collapse\"><thead><tr><th>Date</th><th>Description</th><th>Withdrawals</th><th>Deposits</th><th>Balance</th></tr></thead><tbody><tr><td>13/09/2025</td><td>TRANSFER TO UPLAND 0718</td... | Apex Federal Bank Ltd
2281 King Street, Munich 80331, Germany
+49 681 233 9016 · orders@apexfederalban.example.com
# Statement of Account Activity
Account Holder: Isabella Iyer
Address: 3445 Station Lane, Hamburg 20095, Germany
Account Number: 09553129472
Statement Period: 13/09/2025 - 13/10/2025
IBAN: DE64 9127 75... | Apex Federal Bank Ltd
2281 King Street, Munich 80331, Germany
+49 681 233 9016 · orders@apexfederalban.example.com
Statement of Account Activity
Account Holder: Isabella Iyer
Address: 3445 Station Lane, Hamburg 20095, Germany
Account Number: 09553129472
Statement Period: 13/09/2025 - 13/10/2025
IBAN: DE64 9127 7597... | null | |
dense-0004 | financial_statements | PROFIT & LOSS STATEMENT | 1,654 | 2,339 | 15 | 24 | false | false | [
{
"id": "b0",
"order": 0,
"label": "logo",
"bbox": [
76,
76,
118,
118
],
"text": ""
},
{
"id": "b1",
"order": 1,
"label": "page_header",
"bbox": [
130,
76,
492,
140
],
"text": "Oakridge Pharma Ltd\n4493 Station Lane,... | [
{
"block_id": "b5",
"n_rows": 8,
"n_cols": 3,
"html": "<table border=\"1\" cellpadding=\"4\" style=\"border-collapse:collapse\"><thead><tr><th></th><th>2025</th><th>2024</th></tr></thead><tbody><tr><td>Product revenue</td><td>1,465</td><td>1,654</td></tr><tr><td>Service revenue</td><td>982</td><td>8... | Oakridge Pharma Ltd
4493 Station Lane, Leeds LS1 5XX, United Kingdom
+44 7700 900835 · billing@oakridgepharma.example.com
# PROFIT & LOSS STATEMENT
For the year ended 31 December 2025. Amounts in GBP (in thousands).
## Revenue
| | 2025 | 2024 |
| --- | --- | --- |
| Product revenue | 1,465 | 1,654 |
| Service re... | Oakridge Pharma Ltd
4493 Station Lane, Leeds LS1 5XX, United Kingdom
+44 7700 900835 · billing@oakridgepharma.example.com
PROFIT & LOSS STATEMENT
For the year ended 31 December 2025. Amounts in GBP (in thousands).
Revenue
2025 2024
Product revenue 1,465 1,654
Service revenue ... | null | |
dense-0005 | price_list | Parts Catalogue - Price Schedule 2024 | 1,654 | 2,339 | 7 | 62 | false | false | [
{
"id": "b0",
"order": 0,
"label": "logo",
"bbox": [
62,
62,
109,
109
],
"text": ""
},
{
"id": "b1",
"order": 1,
"label": "page_header",
"bbox": [
123,
62,
467,
134
],
"text": "Maplewood Media Group LLC\n423 Maple Av... | [
{
"block_id": "b4",
"n_rows": 63,
"n_cols": 7,
"html": "<table border=\"1\" cellpadding=\"4\" style=\"border-collapse:collapse\"><thead><tr><th>Part No.</th><th>Description</th><th>UoM</th><th>MOQ</th><th>List</th><th>10+ Price</th><th>50+ Price</th></tr></thead><tbody><tr><td>LF-01950</td><td>Seal ... | Maplewood Media Group LLC
423 Maple Ave, Hyderabad, TS 500047, India
+91 894 339 2860
# Parts Catalogue - Price Schedule 2024
All prices in INR, exclusive of taxes. Valid from 1 April. Minimum order quantities apply where shown.
| Part No. | Description | UoM | MOQ | List | 10+ Price | 50+ Price |
| --- | --- | --- ... | Maplewood Media Group LLC
423 Maple Ave, Hyderabad, TS 500047, India
+91 894 339 2860
Parts Catalogue - Price Schedule 2024
All prices in INR, exclusive of taxes. Valid from 1 April. Minimum order quantities apply where shown.
Part No. Description UoM MOQ List 10+ Price 50+ Price
LF-01950 Seal kit XL ... | null | |
dense-0006 | directory_listing | Hamburg Business & Residential Directory | 1,654 | 2,339 | 12 | 0 | true | true | [
{
"id": "b0",
"order": 0,
"label": "title",
"bbox": [
96,
54,
773,
98
],
"text": "Hamburg Business & Residential Directory - 1965"
},
{
"id": "b1",
"order": 1,
"label": "section_header",
"bbox": [
95,
92,
460,
120
],
... | [] | # Hamburg Business & Residential Directory - 1965
## - D -
Dao Emma R (Ellen) drvr h697 Mill Av tel 8-4834 Dubois Isabella A (Mary) carp h196 Main Ln tel 3-4556 Datel Mei C (Rose) tchr h535 Elm St tel 6-4655 Deddy Oliver A (Ann) nurse h719 Mill Rd tel 6-4057 Dim Yusuf B (Rose) drvr h638 Main St tel 4-0068 Dhen Zara M... | Hamburg Business & Residential Directory - 1965
- D -
Dao Emma R (Ellen) drvr h697 Mill Av tel 8-4834 Dubois Isabella A (Mary) carp h196 Main Ln tel 3-4556 Datel Mei C (Rose) tchr h535 Elm St tel 6-4655 Deddy Oliver A (Ann) nurse h719 Mill Rd tel 6-4057 Dim Yusuf B (Rose) drvr h638 Main St tel 4-0068 Dhen Zara M (Gra... | {"level":"mild","downscale":0.9,"effective_dpi":135,"paper":"#e9eef2","rotation_deg":1.31,"blur_px":0,"contrast":0.86,"brightness":1.02,"shadow":null,"fold_y":null,"punch_holes":false,"noise_sigma":5.7,"salt_pepper":0.0003,"toner_streaks":2,"dust_specks":93,"jpeg_quality":0.78} | |
dense-0007 | terms_and_conditions | General Terms and Conditions of Purchase | 1,654 | 2,339 | 44 | 0 | false | false | [{"id":"b0","order":0,"label":"page_header","bbox":[77,77,372,123],"text":"Bluefield Manufacturing P(...TRUNCATED) | [] | "Bluefield Manufacturing PLC\n5603 Park Blvd, Nantes 44000, France\n\n# General Terms and Conditions(...TRUNCATED) | "Bluefield Manufacturing PLC\n5603 Park Blvd, Nantes 44000, France\n\nGeneral Terms and Conditions o(...TRUNCATED) | null | |
dense-0008 | long_statement | Bank Statement | 1,654 | 2,339 | 8 | 59 | false | false | [{"id":"b0","order":0,"label":"logo","bbox":[74,74,113,113],"text":""},{"id":"b1","order":1,"label":(...TRUNCATED) | [{"block_id":"b4","n_rows":60,"n_cols":5,"html":"<table border=\"1\" cellpadding=\"4\" style=\"borde(...TRUNCATED) | "Upland Commerce Bank GmbH\n651 Bridge St, Abu Dhabi, UAE\n+971 952 444 2656 · ap@uplandcommerce.(...TRUNCATED) | "Upland Commerce Bank GmbH\n651 Bridge St, Abu Dhabi, UAE\n+971 952 444 2656 · ap@uplandcommerce.(...TRUNCATED) | null | |
dense-0009 | financial_statements | Income Statement | 1,654 | 2,339 | 15 | 25 | false | false | [{"id":"b0","order":0,"label":"logo","bbox":[66,66,105,105],"text":""},{"id":"b1","order":1,"label":(...TRUNCATED) | [{"block_id":"b5","n_rows":7,"n_cols":3,"html":"<table border=\"1\" cellpadding=\"4\" style=\"border(...TRUNCATED) | "Redstone Apparel Ltd\n1055 Harbor Rd, Melbourne, VIC 3000, Australia\n+61 491 570 126 · info@red(...TRUNCATED) | "Redstone Apparel Ltd\n1055 Harbor Rd, Melbourne, VIC 3000, Australia\n+61 491 570 126 · info@red(...TRUNCATED) | null | |
dense-0010 | price_list | Price List 2025 | 1,654 | 2,339 | 7 | 63 | true | false | [{"id":"b0","order":0,"label":"logo","bbox":[67,67,114,114],"text":""},{"id":"b1","order":1,"label":(...TRUNCATED) | [{"block_id":"b4","n_rows":64,"n_cols":7,"html":"<table border=\"1\" cellpadding=\"4\" style=\"borde(...TRUNCATED) | "Ironleaf Healthcare Systems Ltd\n7094 Maple Ave, Perth, WA 6000, Australia\n+61 491 570 193\n\n# Pr(...TRUNCATED) | "Ironleaf Healthcare Systems Ltd\n7094 Maple Ave, Perth, WA 6000, Australia\n+61 491 570 193\n\nPric(...TRUNCATED) | null |
Synthetic Dense Documents
60 high-resolution pages (1654 x 2339, A4 at 200 DPI) packed with small type. These are the pages where generic OCR loses reading order, merges neighbouring entries and drops table rows. There are five kinds, 12 pages each:
kind |
What it looks like |
|---|---|
directory_listing |
Aged 3 to 4 column business and residential directory pages, with abbreviated occupations, house numbers and phone numbers, in serif or typewriter faces on tinted, lightly skewed paper |
terms_and_conditions |
2 to 3 column legal terms with 20 numbered clauses |
long_statement |
Bank statements with 55 to 75 transactions in one table |
financial_statements |
Balance sheets and P&L statements with five sections and comparative years |
price_list |
Parts and price catalogues with 60 to 85 rows and 7 columns |
The directory pages are modelled on a real digitisation project: HyperAPI parsed more than 1 million dense, multi-column directory pages in 10 days, keeping column boundaries, reading order and entry breaks intact, and turned each listing into a structured record.
Columns
| Column | Description |
|---|---|
image |
1654 x 2339 JPEG |
kind, title |
Layout family and page title |
blocks |
{id, order, label, bbox, text} in reading order (column by column) |
tables |
{block_id, n_rows, n_cols, html} |
num_blocks, num_table_rows |
Density indicators |
truncated |
true if the generator's content didn't fit on the page. Gold labels cover only what's printed |
aged_scan, degradation |
For directory pages: the aging and skew parameters (JSON). Boxes are already mapped |
markdown, ocr_text |
Gold page content |
from datasets import load_dataset
ds = load_dataset("hyperbots-inc/synthetic-dense-documents", split="test")
dirs = ds.filter(lambda x: x["kind"] == "directory_listing")
print(dirs[0]["ocr_text"][:400])
Suggested metrics
Use reading-order accuracy (does the text come out column by column?), entry-level exact match for directory listings, row recall and TEDS for tables, and CER on body text.
How the data was made
Every document is generated from a seeded random number generator by docgen.js and rendered on an HTML canvas in Chrome on macOS. Images use the system's print fonts and, for handwriting, the handwriting-style fonts installed with macOS (Bradley Hand, Noteworthy, Marker Felt, Chalkboard SE, Snell Roundhand, Apple Chancery, Savoye LET, Brush Script MT). Labels are taken from the generator itself, so there is no human annotation error. Field and block boxes are recorded at the moment each element is drawn.
All companies, people, addresses, account numbers and amounts are fictional. Phone numbers use ranges reserved for fiction where these exist (US 555-01xx, UK 07700 900xxx, AU 0491 570 1xx). Email addresses use the reserved example.com / example.org domains, and US ID numbers start with 9, which is never issued as an SSN.
To rebuild the dataset, load generator/docgen.js and generator/datasets.js in a browser page and run await DocSets.build('dense'). Rendering depends on installed fonts, so pixels can differ on other systems, but text and labels are identical for the same seed.
Limitations
- The documents are synthetic. Their layouts, vocabulary and value ranges are much narrower than real enterprise traffic. Use them for benchmarking, regression tests and pipeline development, not as a replacement for evaluation on your own documents.
- All content is in English, with values formatted for 9 locales (US, UK, IN, CA, AU, DE, FR, SG, AE).
- Handwriting is rendered from fonts with per-character jitter. It is a stand-in for real handwriting, not a sample of it.
About HyperAPI
HyperAPI is Hyperbots' document intelligence API for enterprise documents. It provides parse, extract, classify, split and redact behind one endpoint and returns schema-validated JSON with a confidence score on every field. It has a REST API and a Python SDK, with an MCP server for agents available on request, and you can start free. See the HyperAPI Space for a walkthrough.
Part of the Hyperbots synthetic document suite
| Dataset | Focus |
|---|---|
| synthetic-enterprise-doc-extraction | Field extraction across 31 enterprise document types |
| synthetic-doc-parsing | Layout blocks, reading order, Markdown and tables |
| synthetic-pii-redaction | PII spans and boxes for masking and de-identification |
| synthetic-doc-classification | 31-class document classification |
| synthetic-doc-splitting | Multi-document bundles with true boundaries |
| synthetic-handwritten-forms | Forms filled in handwriting-style script |
| synthetic-stamped-documents | Stamps and seals over printed text |
| synthetic-bad-scans | Skew, blur, noise, shadows and compression at 3 severities |
| synthetic-dense-documents (this dataset) | Small type, multi-column layouts and long tables |
| synthetic-invoice-extraction | Invoice fields and line items (text + HTML) |
License and citation
CC BY 4.0. Generator code is MIT.
@misc{hyperbots2026densedocs,
title = {Synthetic Dense Documents},
author = {Hyperbots Inc.},
year = {2026},
url = {https://huggingface.co/datasets/hyperbots-inc/synthetic-dense-documents}
}
- Downloads last month
- -