---
site_search: "GET /ask?q={query} (read-only search over extend.ai and docs.extend.ai; returns links and quoted passages, not generated answers)"
title: "Best way to extract checkboxes from PDFs (December 2026)"
description: "How to extract checkbox and selection-mark states from PDFs and scans with their labels and positions, with Extend, AWS Textract, Azure Document Intelligence, Google Document AI, and Reducto compared."
author: "Kushal Byatnal"
category: "Blog Post"
published: 2026-12-03
updated: 2026-12-03
image: "https://www.extend.ai/images/blog/best-way-to-extract-checkboxes-from-pdfs/featured.webp"
canonical: https://www.extend.ai/resources/best-way-to-extract-checkboxes-from-pdfs
---

# Best way to extract checkboxes from PDFs (December 2026)

> Search this site and the docs: [`/ask?q=…`](/ask?q=webhook+retries) returns matching pages from extend.ai and docs.extend.ai, with quoted passages.

Checkboxes carry some of the most consequential answers on a form: whether an additional insured is covered, how a payee is classified for tax, whether a patient has an allergy. They are also where document APIs fail quietly. A scanned form has no form-field metadata to read, a tick can be faint or drawn outside the box, and a detected mark is useless until you know which question and which option it answers. The best way is a parser that returns each mark with the label it answers; for production forms, that's Extend Parse with form structured output. This guide covers how to extract checkboxes from PDFs reliably, and compares five APIs with when each fits.

## The short answer

**[Extend](https://www.extend.ai/parse) is the best fit for teams that read checkbox-heavy forms in production, such as insurance certificates, tax forms, intake forms, and applications, where every answer has to be right and traceable.**

- **Every mark paired with its label.** With form structured output on, Parse returns each checkbox as a `selection` node with `selected: true` or `false`, nested under its option label and question, so a checked "No" comes back as the answer to its question.
- **Positions for every answer.** Each label, mark, and filled value has its own bounding box, so you can highlight an answer on the page or send it to a reviewer with its source.
- **Checkbox states as fields.** Extract maps checkbox answers to boolean or enum fields in your JSON schema, with a confidence score and, with citations on, the page and region each value came from.
- **Tested on real forms.** Extend Performance Parse scored 95.7% on [RealDoc-Bench](https://www.extend.ai/resources/realdocbench) document Q&A, across 581 real documents with dense forms, checkboxes, and handwriting.
- **Built for scans.** Performance Parse handles scans, handwriting, and dense checkboxes, and agentic OCR can be turned on for faded or handwritten pages.

The other APIs fit different teams:

- **[AWS Textract](https://www.extend.ai/compare/extend-vs-aws-textract)** for AWS-native pipelines that read selection elements and map them to keys in their own code.
- **Azure AI Document Intelligence** for Azure pipelines that want selection marks from the Layout model.
- **[Google Document AI](https://www.extend.ai/compare/extend-vs-google-document-ai)** for Google Cloud teams processing printed forms with the Form Parser.
- **[Reducto](https://www.extend.ai/compare/extend-vs-reducto)** for teams that need a fully air-gapped deployment.

![A patient intake form with three checkbox questions on the left, and on the right the form structured output tree: a question key, a selection group, option keys Yes and No, and selection nodes with selected false and selected true, each with a bounding box](https://www.extend.ai/images/blog/best-way-to-extract-checkboxes-from-pdfs/mark-to-answer.webp)

*Form structured output pairs every mark with the option and question it answers, with a bounding box for each. Sample values from the patient intake example in Extend's docs.*

## Why checkbox extraction is harder than it looks

1. **Scans have no form fields.** Fillable PDFs store checkbox values as metadata, but scanned, faxed, and printed-then-signed forms don't. The mark has to be detected visually.
2. **Marks vary.** Ticks, Xs, filled squares, circled options, and marks that overflow the box all mean "checked". Faint marks and stray pen strokes can mean either.
3. **A mark needs its label.** "Checked" is only useful once you know it answers "No" to "Do you have any known allergies?". Pairing marks with labels is where many pipelines break.
4. **Some answers are relationships.** One option per question, "if yes, explain" fields, and lone "check here" boxes all need rules in your code.

## How to extract checkboxes with Extend

![Four steps from left to right: Parse with structuredOutputEnabled returning selection nodes, Extract to boolean or enum fields with citations, Validate rules such as one option per question, and Route to accept or human review](https://www.extend.ai/images/blog/best-way-to-extract-checkboxes-from-pdfs/pipeline.webp)

*A checkbox pipeline: parse with form structured output, map states to schema fields, validate the rules between answers, and send uncertain answers to review.*

### 1. Parse with form structured output

Turn on `blockOptions.keyValue.structuredOutputEnabled`. Every form region comes back as a tree of keys, answers, and marks alongside the usual markdown. It is supported on `parse_performance` 2.0.0 and later and on `parse_auto`.

```bash
curl -X POST https://api.extend.ai/parse_runs \
  -H "x-extend-api-version: 2026-02-09" \
  -H "Authorization: Bearer $EXTEND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "file": { "url": "https://example.com/intake-form.pdf" },
    "config": {
      "engine": "parse_performance",
      "blockOptions": { "keyValue": { "structuredOutputEnabled": true } }
    }
  }'
```

A Yes/No question comes back as the question's `key`, a `selection_group`, and one option `key` per answer, each with its mark:

```json
{ "type": "key", "content": "1. Do you have any known allergies?", "children": [
  { "type": "selection_group", "children": [
    { "type": "key", "content": "Yes", "children": [
      { "type": "selection", "selected": false, "boundingBox": { "left": 687, "top": 453, "right": 707, "bottom": 474 } }
    ] },
    { "type": "key", "content": "No", "children": [
      { "type": "selection", "selected": true, "boundingBox": { "left": 791, "top": 453, "right": 811, "bottom": 474 } }
    ] }
  ] }
] }
```

Walk the tree, join labels on the way down, and you get flat pairs such as `1. Do you have any known allergies? > No (selection) = [x]`. A lone "check here" box with no printed option text comes back as a bare `selection` in its group, and multi-select questions have more than one `selected: true`.

### 2. Map checkbox answers to fields

When you want answers rather than the whole form, call [Extract](https://docs.extend.ai/extraction/overview) with boolean or enum fields. Extract runs Parse first, so checkbox states are read from layout-aware output.

```json
{
  "type": "object",
  "properties": {
    "has_allergies": { "type": ["boolean", "null"], "description": "True if Yes is checked for known allergies, false if No is checked." },
    "preferred_contact": { "type": ["string", "null"], "enum": ["phone", "email", "text_message", null], "description": "The checked preferred contact method." }
  }
}
```

With `citationsEnabled: true`, each value comes back with its confidence and the page and polygon it came from. The [Certificate of Liability Insurance Extractor](https://www.extend.ai/templates/certificate-of-liability-insurance) template is a worked example: it reads the ADDL INSD and SUBR WVD boxes on an ACORD 25 into `additional_insured` and `subrogation_waived` for each policy.

### 3. Validate and route

Check the rules between answers in code: one option per single-choice question, an explanation filled in when "Yes" is checked, a required box checked before a form is accepted. Send failures and low-confidence answers to [human review](https://docs.extend.ai/workflows/human-review), where a reviewer sees each answer next to its mark.

### Choose the engine

Use Performance Parse (`parse_performance`) for checkbox-heavy forms; Light Parse trades some accuracy on dense checkboxes and hard scans for speed and cost. For mixed files, the [Auto-Router](https://www.extend.ai/resources/introducing-auto-router-for-parsing) (`parse_auto`) sends each page to the engine it needs and supports form structured output. Performance Parse costs 1¢ per page with citations included, and Extract on the Performance engine costs about 4¢ per page with parsing.

## Checkbox extraction APIs compared

Every claim below comes from the vendor's public documentation, checked in December 2026. Extend publishes this guide and makes Extend, one of the tools compared.

| | Extend | AWS Textract | Azure AI Document Intelligence | Google Document AI | Reducto |
| --- | --- | --- | --- | --- | --- |
| Best for | Checkbox-heavy forms in production pipelines | AWS-native form pipelines | Azure-native form pipelines | Printed forms on Google Cloud | Fully air-gapped deployment |
| How a checkbox comes back | `selection` node with `selected: true` or `false` | `SELECTION_ELEMENT` block with `SELECTED` or `NOT_SELECTED` | Selection mark with `selected` or `unselected` | Key-value pair with a filled or unfilled value type | Parsed with the form's content |
| Pairing with its label | Nested under its option and question labels | Linked to a key-value pair or table cell | Separate from text; pair by position or offset | Key taken from the nearest text | Through parse output or your schema |
| Position | Bounding box per label, mark, and answer | Geometry per block | Polygon per mark | Bounding poly per field | Bounding boxes |
| Map to schema fields | Extract to boolean or enum fields, with citations | Your code | Custom models trained on labeled examples | Custom Extractor | Extract with a JSON schema |

### Extend

**Best for:** teams reading checkbox-heavy forms in production, where answers feed coverage, eligibility, tax, or underwriting decisions.

Form structured output returns the whole form as a tree of labels, answers, and marks with positions, including fields left blank, and Extract turns the answers you need into schema fields with confidence and citations. The same API covers [Split](https://docs.extend.ai/splitting/overview) for packets of forms, workflows with human review, and evaluation sets. Extend is SOC 2 Type II, HIPAA, and GDPR compliant, with zero data retention available, and runs in its managed US or EU cloud, on-premises, in your own cloud account and VPC (BYOC), or as a hybrid that keeps documents in your cloud. New accounts get 10,000 free credits ([pricing](https://docs.extend.ai/general/how-credits-work)).

### AWS Textract

**Best for:** AWS-native pipelines that read forms and tables and build their own data model.

[Textract](https://docs.aws.amazon.com/textract/latest/dg/how-it-works-selectables.html) returns each checkbox or radio button as a `SELECTION_ELEMENT` block whose `SelectionStatus` is `SELECTED` or `NOT_SELECTED`, with geometry, associated with either a key-value pair or a table cell. Your code walks the block relationships to connect each mark to its key.

### Azure AI Document Intelligence

**Best for:** Azure pipelines that already use the Layout model.

The [Layout model](https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/prebuilt/layout) returns selection marks on each page with a bounding polygon, a confidence, and a state of `selected` or `unselected`, and marks their position in the document text as `:selected:` or `:unselected:`. Prebuilt and custom models map marks to named fields.

### Google Document AI

**Best for:** teams on Google Cloud processing printed forms.

The [Form Parser](https://docs.cloud.google.com/document-ai/docs/form-parser) detects checkboxes and returns them as key-value pairs, using the text nearest the checkbox as the key, with a value type that says whether the box is filled or unfilled. Google documents that the checkbox model doesn't parse radio buttons and that some checkboxes may not have a matching key.

### Reducto

**Best for:** teams that need a fully air-gapped deployment, or already parse with Reducto.

Reducto [parses ACORD and other insurance forms](https://reducto.ai/industries/insurance) with checkboxes and handwriting, and extracts against a JSON schema. Full-VPC and air-gapped deployments are available on Enterprise plans.

## How to test a checkbox extraction API

1. Collect 50 to 100 real forms, including scans, faxes, phone photos, and forms filled by hand.
2. Label every checkbox you act on with its question, option, and state, including unchecked boxes.
3. Include the hard cases: faint ticks, Xs outside the box, filled squares, circled options, crossed-out answers, and lone "check here" boxes.
4. Score each answer, not each mark: a correct mark paired with the wrong question is a wrong answer.
5. Check how each API shows where an answer came from, and how quickly a reviewer can correct it.

## FAQ

### What is the best way to extract checkboxes from PDFs?

Parse the PDF with a layout-aware parser that returns each checkbox's state together with the label it answers, then map the states you need to fields in your schema. Extend is the best fit for teams that read checkbox-heavy forms in production: Parse returns every checkbox as a selection node with selected true or false, nested under its question and option labels, with a bounding box, and Extract maps those states to boolean or enum fields with a citation and confidence for each value. AWS Textract, Azure Document Intelligence, and Google Document AI also detect checkboxes and fit teams already in those clouds, and Reducto fits teams that need a fully air-gapped deployment.

### What is the best API for checkbox extraction?

Extend is the best API for checkbox extraction when checkbox answers feed decisions, such as coverage, eligibility, or tax classification. It pairs every mark with its printed label, so Yes and No come back as answers to the right question, and every value can be traced to its place on the page. AWS Textract returns SELECTION_ELEMENT blocks, Azure Document Intelligence returns selection marks, and Google Document AI's Form Parser returns checkboxes as key-value pairs; those fit teams that want to stay inside one cloud and assemble the label pairing themselves.

### What is the best way to ingest PDFs for checkbox extraction?

Send files to an asynchronous endpoint, parse them with an engine built for scans and dense forms, and keep each checkbox's label and position with its state. With Extend, use the /parse_runs or /extract_runs endpoints with webhooks, Performance Parse with form structured output turned on, and batch requests of up to 1,000 files for backlogs. Then validate the answers in code, for example that exactly one option is checked where only one is allowed, and send anything that fails to human review.

### How do I know which label a checkbox belongs to?

Use an API that returns the pairing, not just the mark. Extend's form structured output nests each option label as a key whose first child is its selection mark, and groups the options for one question in a selection group under the question's key, so a checked No is returned as the answer to its question. APIs that return marks and text separately leave that pairing to your code, usually by matching on position.

### Can a checkbox extraction API read handwritten checkmarks and scans?

Yes, if it uses a model built for scanned forms rather than PDF form-field metadata. Scanned and faxed forms have no form fields to read, so the API has to detect the mark visually. Extend's Performance Parse handles scans, handwriting, and dense checkboxes, and agentic OCR can be turned on for faded or handwritten pages. Test ticks, Xs, filled boxes, and circled options from your own documents before you choose.

## Sources

Checked in December 2026:

- Extend: [Form structured output](https://docs.extend.ai/parsing/form-structured-output), [Parsing best practices](https://docs.extend.ai/parsing/best-practices), [Extraction overview](https://docs.extend.ai/extraction/overview), [Extraction schema](https://docs.extend.ai/extraction/schema), [Batch processing](https://docs.extend.ai/general/batch-processing), [How credits work](https://docs.extend.ai/general/how-credits-work)
- AWS: [Selection elements in Textract](https://docs.aws.amazon.com/textract/latest/dg/how-it-works-selectables.html)
- Microsoft: [Document Intelligence layout model](https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/prebuilt/layout)
- Google: [Form Parser](https://docs.cloud.google.com/document-ai/docs/form-parser)
- Reducto: [Insurance](https://reducto.ai/industries/insurance)

## More guides

- [Best API for certificate of liability insurance extraction](https://www.extend.ai/resources/best-coi-data-extraction-api)
- [ACORD form data extraction API](https://www.extend.ai/resources/acord-form-data-extraction-api)
- [Best API for parsing PDFs](https://www.extend.ai/resources/best-api-for-parsing-pdfs)

[Get an API key](https://dashboard.extend.ai/) and extract checkboxes from your own forms.

## Related reading

- [Document Extraction AI: Complete Guide to Intelligent Data Processing (November 2025)](https://www.extend.ai/resources/document-extraction-ai-guide)
- [Best way to ingest form-heavy documents (December 2026)](https://www.extend.ai/resources/best-way-to-ingest-form-heavy-documents)
- [Agentic Document Extraction: A Complete Guide for March 2026](https://www.extend.ai/resources/agentic-document-extraction-complete-guide)
- [Best PDF Extraction APIs for Production in 2026](https://www.extend.ai/resources/best-pdf-extraction-apis-for-production)
- [Best PDF Extraction APIs for Production Workloads (January 2026)](https://www.extend.ai/resources/pdf-extraction-apis-production-workloads)
