8 Best Docparser API Alternatives for Developers (No-Code Parsers vs. Custom PDF Pipelines)

Developer desk with an invoice PDF beside its extracted JSON, API docs, and Python and JavaScript extraction code

Docparser works well until supplier layouts change or you need the extraction step in your own code. This guide compares 8 alternatives, from hosted parsers to schema APIs and self-hosted options, on pricing, limits, and data handling. You’ll also see what 1,000 invoices a month costs on each, so you can choose with confidence.

When a Docparser integration starts costing more time than it saves, 2 things are usually responsible. Supplier layouts change, and you’re back in the rules editor patching a parser that worked fine last month. Or the parsing step lives in Docparser’s infrastructure, and you can’t version it, test it, or observe it the same way you do the rest of your code.

Docparser is a hosted document parser. You upload PDFs, Word files, or images, define parsing rules for each document layout, and get the extracted fields back as JSON, CSV, Excel, or XML.

DocparserAI now creates those rules automatically through its SmartAI Parser, so rule maintenance alone is a weaker reason to leave than it used to be. The better question is how much control you need over the extraction step, and what happens when the output reaches your ERP, CRM, accounting system, or database.

Other common triggers for a switch:

  • Docparser says it is not HIPAA certified and does not support health data use cases
  • Each parsing credit covers 1 document of up to 5 pages, so longer documents or growing volume change the bill
  • Some teams want the extraction step inside their own code rather than a third-party app

In this article, we compare 8 Docparser alternatives based on their features, pricing, usage limits, and deployment options.

The list covers hosted parsers that work much like Docparser, schema extraction APIs, workflow platforms with review built in, an open-source option, and building the extraction step yourself on our PDF Services API.

Our top picks by reason for switching

An extraction API replaces the parsing step of a Docparser integration. Field mapping, validation, review, and retries stay in your code unless the platform you pick handles them. For teams building their own PDF-processing backend, the right tool depends on how much of that stack you want to own.

If you are leaving Docparser because…PickWhy it fits
You want the extraction step inside your own codeFoxit PDF Services APIStructural Extraction returns typed elements and tables as JSON, Export PDF Form Data returns form values, 1 credit per request regardless of page count within supported limits, on the same credit pool as OCR, conversion, and redaction
You want the closest hosted replacement, templates includedParseurTemplate and AI engines in one mailbox, webhooks and an OpenAPI 3.1 API, 1 credit per page, SOC 2 Type II audit completed September 2026
You want template, GPT, and pretrained parsers on one per-page budgetParsioTemplate parser at 1 credit a page, GPT parser at 2, pretrained AI parser at 3; Growth is $149 a month for 5,000 credits
You want to define your JSON fields as a schemaDocuPipeJSON Schema-based extraction, optional per-field citations, webhook events for every stage, BAA on Business
You want pay-as-you-go extraction APIs with no contractExtendParse, Extract, Classify, and Split APIs from 0.5 credits a page at $0.01 a credit, 10,000 free credits, zero data retention on request on every plan
Your documents need validation and an approval trailDocsumoAI document reviewer, validations, classification and splitting, audit logs, SOC 2 Type II and a BAA on request, priced by quote
You want extraction inside a larger approval workflowNanonetsWorkflow blocks for extraction, classification, validation, and export, billed per block run from $0.02 to $0.30
Documents must stay on your own serversUnstractAGPL-3.0 open-source platform you can self-host with your own LLM, plus a managed Document Studio at $499 a month on monthly billing

What Docparser gives you today

Docparser homepage with the headline Data Extraction From Your Business Documents and an Upload File button

Docparser’s homepage, with DocparserAI in the top navigation.

PlanBilled monthlyBilled yearlyParsing creditsParsersNotable inclusions
Starter$39 a month$32.50 a month100 a month, or 1,200 a year15Smart Checkboxes, premium templates, PDF, Word, and image input, Excel, CSV, JSON, and XML downloads
Professional$74 a month$61.50 a month250 a month, or 3,000 a year50Smart Tables, teams and managed users, multifactor authentication
Business$159 a month$133 a month1,000 a month, or 12,000 a year500Priority parsing, Parser Version Control, and Multi-Layout Parsers included
EnterpriseQuoteQuoteCustomUnlimitedExtended Document Retention and a white-labeling license

Checked in November 2026.

Each parsing credit covers 1 document with up to 5 pages. Longer documents use 1 credit for every 5 pages on Docparser’s parsing credit grid, so price your real page mix before you compare. A 14-day free trial requires no credit card.

Add-ons on monthly billing

Lower plans can add multifactor authentication at $5.95 a month, Parser Version Control at $9.95, Extended Document Retention at $19.95, and Multi-Layout Parsers at $29.95.

How parsing works

Each document type has its own parser. Its parsing rules include pre-built data rules for dates, email addresses, and invoice and PO numbers; document-type filters; custom rules; table and repeating-pattern extraction; and image pre-processing that can rotate pages.

DocparserAI’s SmartAI Parser creates rules automatically and lists handwriting and checkbox recognition.

The API

Docparser exposes a REST API at api.docparser.com, authenticated with an API key over HTTP Basic Auth.

You upload a multipart file, base64 content, or a public URL to a parser ID and pass through your own remote_id. Then check status and fetch results per document or per parser as nested object JSON or flat JSON.

The Advanced Webhook pushes results as soon as parsing finishes, and re-parse and re-integrate endpoints exist. The results endpoints allow 60 calls a minute for 1 document and 30 for multiple documents. Official PHP and Node.js clients are MIT licensed, and the Python client is third party.

Integrations

Docparser connects directly to Google Sheets, Google Drive, Box, Dropbox, OneDrive, Excel on OneDrive, and Salesforce, plus Zapier and other integration platforms.

Data and compliance

Retention is set per parser from 0 to 180 days. The service runs on AWS across at least 2 availability zones, with data encrypted in transit and at rest. GDPR transfers rely on Standard Contractual Clauses, with a DPA on request. Docparser says it’s not HIPAA certified and doesn’t support health data use cases. Docparser and its email sibling Mailparser belong to SureSwift Capital.

When to stay

Staying on Docparser makes sense if your parsers are stable, your documents are mostly 2 to 5 pages, and you don’t need health data compliance or in-code control of the extraction step.

Before you switch

Export 20 to 50 recent results per parser in object format and treat their field names and types as the JSON contract any replacement has to keep. That list drives every decision in the sections below.

The 8 Docparser alternatives in detail

Every entry uses the same 8 feature-table rows. The rows cover how it extracts, output and schema control, API and webhooks, pricing, free allowance, limits, deployment and data, and moving from Docparser.

Each price includes the engine or mode because costs can vary severalfold within the same vendor (Parsio’s template or GPT parser, DocuPipe’s standard effort or citations, Extend’s Light or Performance).

The “Moving from Docparser” row names the biggest change for an existing integration, and the section after the entries puts those changes side by side.

Foxit PDF Services API

Foxit PDF Services API product page with the Cloud-Native PDF Control headline and a Start for Free button

Our PDF Services API product page, with the Start for Free button that opens the Developer plan.

This is our own developer API, and extraction runs as code in your application, not in a rules editor someone else hosts.

FeatureDetails
How it extractsPDF Structural Extraction (Trial) returns 12 element types in reading order (title, head, paragraph, table, image, headerFooter, form, hyperlink, footnote, sidebar, annotation, formula) with bounding boxes and table cell relationships. Export PDF Form Data returns fillable-form values. PDF to Excel returns tables as XLSX. PDF to Markdown and PDF to Text return text. The OCR endpoint makes scanned PDFs searchable.
Output and schema controlA ZIP with a JSON file following schema v1.0.7, plus extracted images and table renditions. No schema-based field extraction, no prebuilt invoice model, and no rules UI. You map elements to your JSON fields in code, as our invoice and contract tutorials show.
API and webhooksREST, and your backend authenticates every call with the client ID and client secret from the console. The workflow is asynchronous: upload, start the operation, poll the task, and download the result. PDF Services has no completion webhook. Tutorials cover an n8n document pipeline and a CRM-to-eSign flow in Power Automate, and our MCP server exposes PDF processing tools to AI agents.
Pricing1 credit per successful request, regardless of page count within supported limits. Uploads, polling, and downloads are free. Startup is $1,750 a year for 5,000 credits, Business $4,500 a year for 15,000, Volume by quote. Credits reset yearly with no rollover. See our pricing page for more info.
Free allowance500 credits a year on the Developer plan, no credit card required.
Limits100 MB upload. Rate limits apply per application, lower in sandbox than in production, and exceeding one returns HTTP 429. Once the credit pool runs out, calls return HTTP 403, including uploads and task polling, until the pool resets or you upgrade, so treat a 403 on a valid credential pair as an exhausted pool. A retried request with the same request_id is not billed twice.
Deployment and dataCloud only. A delete endpoint removes uploaded and generated files. Our cloud-hosted PDF APIs are covered by SOC 2 Type II audits, and we support HIPAA BAAs.
Moving from DocparserParsing rules become code. Keep your Docparser field names as the keys your mapping function returns. Scanned PDFs need the OCR endpoint first, then Structural Extraction on the result, so 2 credits per scanned document. Replace the Advanced Webhook with task polling and your own push to downstream systems.

Checked in November 2026.

Where Foxit PDF Services API stands out

The extraction step lives in your code and version control, so a supplier layout change becomes a code change you can test, review, and roll back.

Per-request billing charges 1 credit whether you’re processing a 2-page invoice or a 50-page bank statement, within supported limits. That cost structure favors long documents, where per-page tools charge more as page counts rise.

Extraction also sits next to OCR, conversion, compression, and redaction on one credit pool and one account. A pipeline that needs to convert an Office file to PDF before extraction, then redact a value after extracting it, can do both without adding a second vendor or a second set of credentials.

What to consider

There is no schema extraction, rules UI, or review screen. Mapping, validation, and review are yours to build. Structural Extraction on an image-only scan still completes but returns no usable text. A scanned page of plain text comes back with page state "fail" and no elements key, and a scanned table can come back with state "success" as a table element that has row and column counts but no cells. A state check alone passes that empty table, so run the OCR endpoint first on any scan. Structural Extraction on the OCR output returns the table with its cells populated.

Our PDF Structural Extraction API is currently in trial and uses schema version v1.0.7. The API may change, so validate responses against the schema your application expects.

Best for

It’s best for developer teams that want the parsing step as code in their own backend, particularly when processing long or structured PDFs and fillable forms in pipelines that also convert, OCR, or redact.

Getting started

To get started, create a free Foxit developer account to try Structural Extraction on your own PDFs.

Foxit sign-up form for the free Developer plan, listing live API credentials and 500 free credits a year

The sign-up form that activates the free Developer plan.

After sign-in, copy the client ID and client secret from the console.

Parseur

Parseur homepage showing an invoice mapped to extracted fields like number, date, vendor, and total

Parseur’s homepage, with an invoice mapped to extracted fields.

Parseur is the closest day-to-day substitute for a Docparser workflow. It runs both a template engine and an AI engine in the same mailbox, accepts documents by email, upload, or API, and exports results through webhooks.

FeatureDetails
How it extractsAn AI engine (fields you describe) and a template engine (point-and-click templates for fixed layouts) in the same mailbox, with OCR for scans. Documents arrive by email forwarding, upload, or API.
Output and schema controlFields are defined per mailbox and exported as JSON, CSV, or Excel. The API can create mailboxes, set fields and AI instructions, and read a mailbox’s schema, but templates are created only in the visual editor.
API and webhooksAn OpenAPI 3.1 specification. Endpoints to upload binary or email documents, reprocess, skip, copy, and delete documents, and to create, enable, and disable webhooks. Zapier, Make, and Power Automate on every plan.
Pricing1 credit per page. An email or a spreadsheet counts as 1 page. Billed monthly: Micro $49 for 100 pages, Mini $89 for 300, Starter $129 for 1,000, Premium $269 for 3,000, Pro $499 for 10,000. Billed yearly: Starter $1,188 and Premium $2,388. Credits are spent only the first time a document is processed, and reprocessing is free.
Free allowance20 pages a month, with 90-day retention.
LimitsAt 100% of the monthly quota, new documents are marked “Quota exceeded” until you buy credits, upgrade, or renew. Advanced post-processing and multi-user accounts start on the Scale tier (Pro and above).
Deployment and dataHosted service. Retention is set per mailbox down to 1 day. Process then Delete removes a document once its data is sent, and plan maximums run from 90 days to unlimited. Parseur completed a SOC 2 Type II audit in September 2026 and says your data is never used to train AI models that serve anyone else. Parseur does not sign BAAs and is not HIPAA compliant at the time of writing.
Moving from DocparserCreate one mailbox per Docparser parser and reuse your field names. Rebuild fixed-layout rules as templates in the editor, or describe fields for the AI engine. Point uploads and the webhook at Parseur, and change the forwarding address for email intake.

Checked in November 2026.

Where Parseur stands out

Because both engines share a mailbox, you can run templates on fixed layouts and describe fields in plain language for variable ones without maintaining 2 separate tools.

Email-first intake is a natural fit for AP workflows where invoices arrive as attachments, and an email body counts as 1 page. Reprocessing is free while you tune fields, which saves time during the initial migration.

Parseur’s OpenAPI 3.1 specification gives you typed request and response shapes and makes generating a client straightforward. Creating mailboxes and setting field instructions through the API means you can automate parser provisioning for multi-tenant setups.

What to consider

Per-page billing means a 5-page invoice costs 5 credits, where Docparser charges 1. At higher page counts, that delta grows.

Templates cannot be created through the API, only in the visual editor, so automated parser deployment has a manual step. Advanced post-processing starts on the Scale tier, so transformations and formatting happen in your own code on lower plans.

Parseur does not sign BAAs and is not HIPAA compliant at the time of writing, so health data is off the table.

Best for

It’s best for teams that want a like-for-like hosted parser, particularly when documents arrive as email attachments.

Getting started

To get started, use the Parseur free tier (20 pages a month) and the API documentation.

Parsio

Parsio homepage with an invoice converted to JSON and a banner about its AI parser at 3 credits a page

Parsio’s homepage, showing an invoice turned into JSON.

Parsio gives you 4 extraction engines on one credit pool, which lets you match the engine to the document type rather than the other way around.

FeatureDetails
How it extractsParsio runs 4 engines: a template parser for fixed layouts, a GPT-powered parser driven by a prompt, a pretrained AI parser for 15+ document types, and an OCR converter that returns text only.
Output and schema controlStructured fields per mailbox, exported to Excel, CSV, JSON, or Google Sheets. Advanced post-processing with an AI code assistant reshapes fields before export.
API and webhooksA public API and webhooks, plus Zapier, Make, and n8n.
PricingCredits renew monthly and are shared across parsers. Template parser: 1 credit a page. GPT parser: 2 credits a page. AI parser: 3 credits a page. OCR converter: 1 credit a page. A page uses credits only the first time it is parsed. Billed monthly: Starter $29 for 100 credits, Growth $149 for 5,000, Business $299 for 12,000. Billed yearly: $290, $1,490, and $2,990.
Free allowance30 credits a month, with 30-day retention.
LimitsRetention is configurable from 1 to 180 days within the plan maximum: 30 days on Free, 90 on Starter and Growth, 180 on Business.
Deployment and dataHosted on Hetzner compute in Germany, with documents in encrypted Amazon S3 storage. Parsio says your data never trains AI models and that every AI vendor signs a no-training clause. GDPR is supported with a DPA available. The ISO 27001 and SOC 2 certifications it cites belong to its infrastructure providers, not to Parsio itself. No HIPAA or BAA statement on the security page.
Moving from DocparserThe template parser maps most directly to Docparser rules on fixed layouts, and the GPT parser replaces rules with a prompt. Switch the upload call and the webhook URL.

Checked in November 2026.

Where Parsio stands out

A single credit pool covers all 4 engines, so you can run the template parser on predictable supplier invoices and the GPT parser on unusual layouts without separate accounts or separate billing.

On the Growth plan, the template parser works out to about $0.03 per page when all 5,000 credits are used (our calculation from list prices).

Advanced post-processing with an AI code assistant runs before export, which means computed fields and format transforms happen server-side rather than in your integration layer.

What to consider

GPT and AI parsers cost 2 and 3 times the template parser, so a mailbox that mixes engines will burn through credits faster than a straight page count suggests.

Per-page credits also mean long documents cost more than on Docparser’s 5-page credit. The compliance claims rely on Hetzner’s and Amazon’s certifications, not Parsio’s own audits. Parsio publishes no HIPAA or BAA terms, so ask before sending health data.

The same team builds Airparser, an AI parser at 1 credit per page with human-in-the-loop review and an MCP server (yearly-billed plans from $33 a month for 100 credits). It doesn’t get its own entry here, but consider it if you want human review without stepping up to a full workflow platform.

Best for

It’s best for high-volume mailboxes of mostly fixed layouts, plus some variable documents, on a tight per-page budget.

Getting started

To get started, sign up for the Parsio free tier, which includes 30 credits a month. Connect it to n8n or Zapier to test your existing webhook handler.

DocuPipe

DocuPipe homepage showing an invoice schema, the source invoice, and the structured JSON output side by side

DocuPipe’s homepage, with a schema, a source invoice, and the structured JSON side by side.

DocuPipe (formerly DocuPanda) structures extraction around a JSON Schema you define once, so every document returns exactly the same fields regardless of layout variation.

FeatureDetails
How it extractsParse (OCR, tables, checkboxes), then Standardize against a schema you write or auto-generate, run by the V3 agentic engine. Classify, Split, and Review are separate steps.
Output and schema controlSchemas use JSON Schema, so every document returns the same fields. Results come as JSON, XML, or Excel. Standardization with citations adds a bounding box and a confidence value per field.
API and webhooksREST at app.docupipe.ai with the API key in an X-API-Key header. Webhook events for every stage, including document.processed and standardization.processed with matching error events. Workflow endpoints upload and standardize in one POST. Make.com modules, and n8n and Power Automate through webhooks.
PricingParse: 1 credit a page. Standardize: 2 credits a page (4 at high effort, 3 with citations). Review: 2 credits a page. Classify: 0.1 credits. Split: 0.2 credits. Minimum of 1 credit per document per operation. Billed monthly: Starter free with 100 credits, Business $99 with 2,500 credits and overage at $0.08 a credit, Premium $499 with 20,000 credits and overage at $0.05. Yearly billing saves up to 20%.
Free allowance100 credits a month on Starter, plus 200 credits at sign-up.
LimitsSubscribed non-enterprise accounts refill 1,800 rate-limit tokens a minute (a POST costs 10, a GET costs 1), about 3 uploads a second. Starter stops at its credit limit, and paid plans continue at the overage rate unless you switch overage off.
Deployment and dataHosted, with geographic data residency and a BAA from Business, and on-premises deployment on Enterprise. DocuPipe says it is ISO 27001 certified and HIPAA and GDPR compliant.
Moving from DocparserWrite one schema per Docparser parser using your existing field names, route documents with Classify instead of separate parser IDs, and point your webhook consumer at standardization.processed.success.

Checked in November 2026.

Where DocuPipe stands out

The schema is your downstream JSON contract, written once and enforced across every layout. When a supplier introduces a new invoice template, the same schema applies and the model adapts without a rules update.

Citations give reviewers a bounding box and a confidence score for each extracted value at 3 credits a page, so they can trace values back to the source during exception handling.

A BAA is available from the $99 Business plan, which is accessible enough for small teams with health data requirements.

Webhook events fire for every processing stage, including errors, so your integration can react to classification, parsing, and standardization results without polling.

What to consider

Parse plus standardize at standard effort costs 3 credits per page, so a 2-page invoice uses 6 credits. High effort doubles the standardization cost to 4 credits per page.

Citations add 1 credit per page to the standard-effort standardization cost. Model-based extraction still needs a validation layer on your side, because the schema controls the shape of the output but not whether the values are correct.

Best for

It’s best for teams that want to keep exact JSON field names across many supplier layouts without maintaining rules.

Getting started

To get started, sign up for the DocuPipe free tier, which gives 100 credits a month plus 200 at sign-up. The schema documentation explains how to define the fields you extract.

Extend

Extend homepage with the headline Automate every document and a pip install command for its Python SDK

Extend’s homepage, with its Python SDK install command.

Extend separates parsing and extraction into API calls with their own per-page prices, so you can choose the precision-cost trade-off for each document type.

FeatureDetails
How it extractsSeparate Parse, Extract, Classify, Split, and Edit APIs, plus Agentic OCR. Parse handles tables, checkboxes, images, charts, and handwriting across 35+ file types.
Output and schema controlExtraction runs as its own step after parsing. Studio and Evals let you test an extraction setup before release. Composer and Review Agent are available on every plan; Review Agent adds 1 credit a page.
API and webhooksREST APIs per step, chained with Workflows.
PricingPay as you go at $0.01 a credit. Parse: Light 0.5 credits a page, Performance 2, Auto 0.5 to 2. Extract (billed on top of parsing): Light 0.7 credits a page, Performance 3, Operator-1 5. Classify: 0.5 credits. Split: from 0.5 credits. Growth and Enterprise use custom per-credit pricing.
Free allowance10,000 credits, worth $100, to start.
LimitsOn pay as you go: 60 concurrent documents or 500 concurrent pages, whichever comes first. Growth starts at 180 documents and 3,500 pages.
Deployment and dataUS or EU cloud. Zero data retention on request on every plan. BAA is an add-on on pay as you go and included with Growth. Your own VPC and hybrid deployments with Enterprise. Extend lists SOC 2, HIPAA, and GDPR.
Moving from DocparserExtract runs Parse automatically, so a single Extract call bills both the parse and the extract charge. Budget for both.

Checked in November 2026.

Where Extend stands out

Zero data retention is available on request on every plan, including pay as you go, so your legal team controls what persists on a third-party server.

Evals let you catch regressions when you change an extraction setup, so a fix for one supplier’s layout doesn’t quietly break field output for another. The 10,000 free credits give you enough runway to run a real volume of documents before you commit.

Per-page pricing with named modes gives you a clear cost projection before you send a single document. Light at 1.2 credits per page (parse plus extract) handles most clean digital PDFs, and Performance at 5 credits per page handles harder documents.

What to consider

Parsing and extraction are billed separately, and the mode you choose changes the per-page cost roughly fourfold.

There is no rules editor in the Docparser sense. Extend is built for developers who write extraction logic, not point-and-click rule builders. Zero data retention is not on by default, so request it before sending sensitive documents.

Best for

It’s best for developers who want to pay per page with no commitment and need to test extraction changes before they ship.

Getting started

To get started, claim the 10,000 free credits and use Evals to validate your extraction setup on your own documents before connecting it to production.

Docsumo

Docsumo homepage showing a small business loan case with extracted documents and cross-document checks

Docsumo’s homepage, showing a loan case with extracted documents and cross-document checks.

Docsumo goes beyond parsing by adding a review screen, validation rules, and an audit trail. This moves some of the work you currently do downstream into the tool.

FeatureDetails
How it extractsPre-trained document AI models plus AI prompting and refinement, field and table extraction, and continuous learning. Business adds auto-classification and splitting.
Output and schema controlFields per document type. Business adds AI-transform for validations, classification, and categorization. Enterprise adds cross-document validations and master data lookup.
API and webhooksWebhooks, APIs, and Excel downloads on every plan, plus pre-built integrations.
PricingBusiness and Enterprise are priced by quote on pages per month or year, plus the workflow steps you use. Monthly credits reset each month, and annual plans get their full credit up front.
Free allowanceA 14-day trial with up to 1,000 pages and 10 users, set up with you on a short call.
LimitsVolume, steps, and terms are agreed in the quote.
Deployment and dataHosted on AWS and Google Cloud. Docsumo lists SOC 2 Type II, ISO 27001, HIPAA, and GDPR on every plan, signs BAAs, and says documents and extracted data are not used to train shared or third-party models. Delete in the app or by API.
Moving from DocparserSetup starts with an onboarding call rather than self-serve parsers. Validations take over the checks your Docparser filters did.

Checked in November 2026.

Where Docsumo stands out

The review screen and validation rules handle exceptions by routing a document that fails a confidence check to a human reviewer rather than passing a wrong value to your ERP.

Classification and splitting handle mixed document packets, which suits lenders or insurers who receive a single upload containing multiple document types. Compliance coverage, including a BAA on request, is on every plan rather than gated to enterprise.

What to consider

There is no self-serve price, so you can’t estimate cost before a sales call. That makes it harder to compare against per-page alternatives for a specific workload.

If you need fields from 1 or 2 stable layouts with no review workflow, Docsumo is a heavier platform than the job requires.

Best for

It’s best for lending, insurance, or healthcare teams whose extraction needs human review and an audit trail.

Getting started

To get started, book the 14-day trial, which includes up to 1,000 pages and starts with an onboarding call.

Nanonets

Nanonets homepage offering $50 in free credits with no card required, above a row of customer logos

Nanonets’ homepage, with the $50 free-credit offer under Get started for free.

Nanonets organizes extraction as a workflow of blocks, where each block (extract, classify, validate, export) is billed as a separate run.

That structure makes it straightforward to add validation and approval steps without custom code.

FeatureDetails
How it extractsWorkflows built from blocks: data extraction, classification, validation, formatting, and export. Growth adds generative AI blocks, barcode and signature detection, and custom Python blocks. Separate developer APIs parse, extract to your schema, split, and chunk documents.
Output and schema controlFields are defined in the workflow, with validation blocks before export. The Extract API returns data in the schema you specify.
API and webhooksAPI access, email integration, and cloud storage connectors on Starter. ERP and database integrations on Growth.
PricingBilled per block run: simple operations $0.02, standard AI $0.10, complex AI (data extraction and generative AI) $0.30. Nanonets says a typical invoice workflow runs 4 to 6 blocks per document. Starter opens with $50 in free credits, then $100 a month for 100 credits (1 credit = $1), and credits never expire. Growth offers volume discounts of up to 40%.
Free allowance$50 in credits, no card required.
LimitsUp to 3 users on Starter. Whether a multi-page document counts as 1 extraction run or 1 per page is not published.
Deployment and dataEnterprise adds private cloud or on-premises deployment and data residency in the US, EU, or APAC. Nanonets lists SOC 2, HIPAA, GDPR, and ISO, with HIPAA and SOC 2 compliance listed under Enterprise. Retention and training terms are not published.
Moving from DocparserRebuild each parser as a workflow. Validation and approval blocks replace manual checks, and every added block adds a run charge.

Checked in November 2026.

Where Nanonets stands out

Validation and approvals live inside the same workflow as extraction, so an invoice that fails a cross-field check routes to a reviewer without you building a separate queue.

Starter carries no platform or seat fees, so you pay only for what runs. On-premises deployment is available on Enterprise if data residency is a hard requirement.

What to consider

Cost per document depends on how many blocks run. An invoice workflow with 1 extraction block at $0.30 and 3 simple blocks at $0.02 runs $0.36 per document.

HIPAA and SOC 2 are listed under Enterprise. Starter is capped at 3 users.

Best for

It’s best for operations teams that want extraction, validation, approval, and ERP export in one tool.

Getting started

To get started, use the $50 in free credits and build a sample invoice workflow to verify per-document cost before committing.

Unstract

Unstract homepage introducing Unstract Flow, with LLMWhisperer in the top navigation

Unstract’s homepage, with LLMWhisperer, its text-extraction service, in the top navigation.

Unstract is the only tool in this list you can run on your own servers under an open-source license, with your own choice of LLM.

FeatureDetails
How it extractsPrompt Studio and Agentic Prompt Studio define each field as a prompt over text from LLMWhisperer, Unstract’s text-extraction service, using the LLM you choose. Human-in-the-loop review is included, and LLMChallenge and single-pass extraction target reliability.
Output and schema controlJSON built from your prompts. Agentic Prompt Studio can draft the schema and prompts for you.
API and webhooksAPI deployments expose an extraction workflow as a REST endpoint for your application. ETL pipelines with connectors, an MCP server, and a CLI are also available.
PricingManaged Document Studio, billed monthly: Starter $499 for 5,000 pages with overage at $0.10 a page; Growth $2,249 for 25,000 pages with overage at $0.09. Billed yearly, Starter is $416 a month for 60,000 pages a year. Enterprise is priced by quote. The open-source edition has no license fee, and you supply the LLM, embedding model, vector database, and text extraction.
Free allowanceA 14-day trial with LLMWhisperer Free and Azure OpenAI GPT-4o with 1M tokens. Prebuilt API Hub endpoints for bank statements, tables, and invoices have a free tier.
LimitsStarter and Growth run a single environment. SOC 2 Type II, ISO 27001, HIPAA, and a DPA come only with Enterprise.
Deployment and dataManaged cloud, on-premises Enterprise in your VPC, or the self-hosted AGPL-3.0 edition (v0.204.0 released 10 November 2026). Unstract says it never trains on customer data.
Moving from DocparserRules become prompts. An API deployment replaces the parser upload URL. In self-hosted setups, you run and pay for the LLM yourself.

Checked in November 2026.

Where Unstract stands out

Self-hosting the AGPL-3.0 edition with a self-hosted LLM keeps documents inside your infrastructure. Your choice of LLM means you can swap models as costs and capabilities shift. Human-in-the-loop review is included on every managed tier rather than an add-on.

What to consider

AGPL-3.0 terms apply if you modify Unstract and offer it over a network, so check with your legal team before shipping a modified version as part of a commercial product.

Self-hosting means operating an LLM stack, including provisioning the model, handling failures, and monitoring latency.

The managed product costs $499 a month on monthly billing or $416 a month billed yearly, and compliance certifications (SOC 2 Type II, HIPAA) are Enterprise-only.

Best for

It’s best for teams that can self-host extraction and model dependencies when documents must stay on their own infrastructure.

Getting started

To get started, self-host the AGPL-3.0 edition from GitHub, or try the managed version. The 14-day managed trial starts without a credit card.

What changes when you move off Docparser

Each category handles different stages of a Docparser integration. You write and maintain the code for any stages it doesn’t handle.

Diagram showing which Docparser integration stages the vendor or your code owns for each type of alternative

Who owns each stage after the switch. In the custom pipeline, your code handles every stage except extraction.

Keep your downstream JSON fields

Docparser todayHosted parsers (Parseur, Parsio)Schema extraction APIs (DocuPipe, Extend)Custom pipeline on Foxit PDF Services API
One parser per layout, picked by the PARSER_ID in the upload URLOne mailbox per document type; Parseur’s API can create mailboxes and set fieldsOne schema per document type; DocuPipe’s Classify can route each document to its schemaYour code chooses the mapping function per document type
Parsing rules, filters, and table rulesTemplates for fixed layouts, AI fields or prompts for variable onesField names and descriptions inside the schemaFunctions that read paragraph, table, and form elements and return your fields
Results as nested object or flat JSONMailbox fields exported as JSON, CSV, or ExcelExactly the fields the schema definesWhatever your mapping function returns
remote_id carried from upload to resultsStore your own ID beside the vendor’s document IDStore your own ID beside the vendor’s document IDStore your own ID beside the taskId and resultDocumentId
The Advanced Webhook pushes resultsWebhooks, which Parseur also manages through its APIDocuPipe webhook events per stage; Extend Workflows chain the stepsPoll the task, download the result, then push to your downstream systems
Fillable PDF forms parsed with rulesAI or template fieldsSchema fieldsExport PDF Form Data returns values keyed by form field name, with no OCR
Re-parse and re-integrate endpointsParseur reprocesses for free; Parsio bills a page only the first timeA new run bills againA new request is a new credit, and a retry with the same request_id is not billed twice

On our API, the extraction result arrives through 4 asynchronous calls, and your mapping function sits between the downloaded result and your downstream systems.

Flow of 4 Foxit PDF Services API calls for Structural Extraction, followed by your mapping and push code

The 4 PDF Services calls and the code you own after them. Task polling replaces Docparser’s Advanced Webhook.

Freeze the contract first

Write down the field names and types from the results you exported earlier as a JSON Schema. DocuPipe accepts JSON Schema directly. With our API, use the same schema to validate your mapping output.

Formats the rules gave you

Docparser’s data-specific rules normalized dates and invoice numbers. Recreate that as format constraints or post-processing. Airparser runs Python post-processing on every plan, Parsio offers advanced post-processing with an AI code assistant, and Parseur’s advanced post-processing starts on its Scale tier.

Layout routing

Parser IDs and Multi-Layout Parsers handled routing. Replace them with classification (DocuPipe, Extend, Docsumo) or route by sender, mailbox, or filename in your own code.

The validation you now own

Docparser checked part of the output for you. After the move, these checks run in your own code unless the tool you pick handles them.

Type and format checks

Validate every result against the JSON Schema before it reaches the ERP or database, whichever tool produced it.

Cross-field checks

Check that line items sum to the subtotal, subtotal plus tax equals the total, dates fall within the expected range, and the supplier exists in your master data. Docsumo Enterprise offers master data lookup; check other tools’ validation and lookup integrations before assuming you need to build it yourself.

Evidence for each value

DocuPipe’s citations add a bounding box and confidence per field at 3 credits a page instead of 2, and our Structural Extraction returns a bounding box per element. Use them to show reviewers where a value came from, and route failed checks to review.

Human review

Human review is built in on Docsumo (AI document reviewer), Nanonets (approval blocks), Unstract (human-in-the-loop on every managed tier), DocuPipe (Review at 2 credits a page), and Airparser. On Parseur, Parsio, and our API, plan your own review queue.

Retries and duplicates

Docparser’s status endpoint lists failed jobs. On our API, a 429 means you’ve hit the per-application rate limit.

A 403 on a valid credential pair means the credit pool is empty, and a retry with the same request_id is not billed twice. DocuPipe recommends webhooks over polling and backoff when you must poll.

Run the old and new pipelines side by side on the same documents and compare the JSON field by field before you cut over.

What 1,000 2-page invoices a month cost

All figures are list prices on the plan named, based on 1,000 invoices at 2 pages each. These are our calculations, not vendor-provided estimates.

Option and planBilling unitUnits for this workloadMonthly cost at list price
Docparser Business, billed monthly1 credit per document of up to 5 pages1,000 credits$159, or $133 billed yearly
Foxit PDF Services API Business, billed yearly1 credit per request12,000 extraction credits a year; 24,000 with separate OCR on scanned PDFs$375 (12,000 of 15,000 yearly credits); scans with separate OCR need a Volume quote
Parseur Premium, billed monthly1 credit per page2,000 credits$269, or $199 billed yearly
Parsio Growth, billed monthly1 credit a page on the template parser, 2 on the GPT parser2,000 or 4,000 credits$149 on either parser, or about $124 billed yearly
DocuPipe Business, billed monthly3 credits a page for parse plus standardize6,000 creditsAbout $379, made of $99 plus 3,500 overage credits at $0.08
Extend, pay as you goCredits per page by mode at $0.01 a credit2,400 credits on Light, 10,000 on Performance$24 on Light or $100 on Performance, after free credits; excludes add-ons
DocsumoPages, by quote2,000 pagesQuote only
Nanonets Starter$0.02 to $0.30 per block run1,000 extraction runs plus other blocksAbout $300 for 1 extraction run per invoice at $0.30, before other blocks
Unstract Document Studio Starter, billed monthlyPages, 5,000 included2,000 pages$499; self-hosted edition has no license fee, but you pay for the LLM and infrastructure

Checked in November 2026.

How we priced it

List prices in USD, each invoice counted as 1 document and 2 pages. Figures for yearly-billed plans are the yearly price divided by 12.

Short documents

Docparser’s credit covers up to 5 pages, so per-page billers cost more as pages per document rise. At 2 pages, Docparser Business sits in the middle of this table.

Our row

At this volume, extraction leaves 3,000 of the Business plan’s 15,000 yearly credits for conversion, compression, or redaction calls in the same pipeline.

Commitment

Our paid plans are yearly credit pools that reset each year, payable yearly or monthly (Business is $431 a month billed monthly), while most tools here use monthly credits or pay as you go.

Price your real mix of pages per document, scans, and layouts. Per-page credits favor single-page documents, Docparser’s per-document credit favors documents of 2 to 5 pages, and per-request credits favor long ones.

Log-scale chart comparing billing units per document by page count for Docparser, Foxit, and other alternatives

How each billing unit grows with page count. Per-page lines climb with every page, while the per-request line stays at 1. Units are each vendor’s own and differ in price.

Where your documents go after you upload them

Retention, training, and deployment terms often decide a switch before price does. Regulated documents need a clear answer on all 3 before you can compare field accuracy.

All cells are vendor claims.

ToolRetentionTraining on your dataPrivate deployment
Docparser (baseline)0 to 180 days per parser, with longer retention available through the Extended Document Retention add-onDocparser says it does not use or re-use your documents or extracted dataNo; runs on AWS
Foxit PDF Services APIA delete endpoint removes uploaded and generated filesNot publishedNo; cloud only
ParseurPer mailbox, down to 1 day; Process then Delete removes a document once its data is sentNever used to train AI models that serve anyone elseHosted service
ParsioConfigurable from 1 to 180 days within plan limitsNever trains AI models, with a no-training clause covering every AI vendorHosted on Hetzner in Germany, documents in encrypted Amazon S3
DocuPipeData retention policies from BusinessNot publishedOn-premises on Enterprise, with geographic data residency from Business
ExtendZero data retention on request on every plan, with custom retention from GrowthNot publishedYour own VPC or hybrid on Enterprise; US or EU cloud
DocsumoKept as long as needed to provide the service, with deletion available in the app or by APINot used to train shared or third-party modelsHosted on AWS and Google Cloud
NanonetsNot publishedNot publishedPrivate cloud or on-premises on Enterprise, with data residency in the US, EU, or APAC
UnstractYour infrastructure when self-hostedNever trains on customer dataSelf-hosted AGPL-3.0 edition, or on-premises Enterprise in your VPC

Checked in November 2026.

Retention you set vs. retention you get

Docparser, Parseur, and Parsio let you set retention per parser or mailbox down to 0 or 1 day. Set the shortest window your reprocessing needs allow.

Self-hosting is a license decision too

Unstract’s open-source edition is AGPL-3.0, which means modifications you offer over a network must be released under the same license. The other private options here are enterprise contracts.

If documents must stay in your own environment. Unstract’s self-hosted edition is the only option here you can run on your own servers without an enterprise contract. DocuPipe and Unstract offer on-premises Enterprise deployments, Extend offers your own VPC or hybrid, and Nanonets offers private cloud, all as Enterprise contracts. Our PDF Services API is cloud only.

Which accuracy claims can you trust?

Most pages that rank for “docparser alternatives” come from extraction vendors, including this one, so treat their comparisons as vendor positioning rather than independent tests.

Claims to qualify

DocparserAI’s SmartAI Parser lists handwriting and checkbox recognition. Treat vendor-run tests of it as vendor results rather than independent benchmarks.

Rules vs. models

Rules apply fixed extraction logic. Model-based extraction handles layout changes but still needs a validation layer, because model output can be plausible and wrong in ways a rule never would be.

Independent benchmarks

We found no independent benchmark that tests Docparser against the tools in this list.

Run 50 to 100 of your own documents (scans, multi-page tables, your most common suppliers) through Docparser and 2 shortlisted tools, and compare field by field against values you have checked by hand. That’s the only test that reflects your actual documents.

Choosing your Docparser replacement

These 4 questions narrow the list:

  • Where should the extraction step live? In a template or AI editor (Parseur, Parsio), in a schema (DocuPipe, Extend), in a workflow with review built in (Docsumo, Nanonets), in prompts you can run on your own servers (Unstract), or in your own code (our PDF Services API).
  • How long are your documents? The billing unit matters more than the headline price, so reprice your real page mix against the cost table above.
  • Where must the documents go? Health data and self-hosting requirements remove options before price or accuracy does.
  • Who owns validation and review? Whatever the tool doesn’t check, your code does, so count that work as part of the switch.

Where Foxit fits

Our PDF Services API covers extraction through several routes. Structural Extraction (Trial) returns typed elements and tables in reading order as JSON (schema v1.0.7). Export PDF Form Data returns fillable-form values keyed by field name. PDF to Excel pulls tables into XLSX. PDF to Markdown and PDF to Text convert content for LLM steps. The OCR endpoint makes scanned PDFs searchable before you extract.

Those extraction routes share a credit pool with the rest of the API. Convert an Office file to PDF before extraction, compress the PDF before storing it, redact a value after extracting it, generate a document from a template, and send it for signature, all on one account and one set of credentials. Our n8n tutorial and Power Automate tutorial show how to chain those operations, and our MCP server gives AI agents direct access to the same tools.

If you want a rules UI, email-inbox parsing, or a built-in review screen, a hosted Docparser alternative from this list fits better. Our API fits when the extraction step belongs in your code, alongside your other document operations.

Our Developer plan gives you 500 credits a year at no cost, so you can try Structural Extraction on your own documents before committing to a paid plan. Our invoice extraction tutorial, structural data tutorial, and contract metadata tutorial show what the mapping code looks like on real documents.

Start with the results you exported from Docparser. Run the same PDFs through Structural Extraction, write the mapping function that returns your existing field names, and compare the 2 outputs field by field before you move any production traffic.

Create a free Foxit developer account and turn your first PDF into structured JSON with the PDF Structural Extraction API.

What else to know before you replace Docparser

A few questions consistently come up when developers evaluate this switch.

Yes, with limits. Parseur gives 20 pages a month on its hosted free tier, Parsio gives 30 credits a month, DocuPipe gives 100 credits a month plus 200 at sign-up, Extend gives 10,000 credits once, and our Developer plan gives 500 credits a year. 

Unstract’s AGPL-3.0 edition is free to self-host with your own LLM. Docparser itself offers a 14-day trial without a credit card

Docparser states it is not HIPAA certified and does not support health data use cases. Among the alternatives, Docsumo signs BAAs on request, DocuPipe offers a BAA from its $99 Business plan, Extend includes a BAA with Growth and as an add-on on pay as you go, Unstract lists HIPAA under Enterprise, and our cloud-hosted PDF APIs are covered by SOC 2 Type II audits and support HIPAA BAAs. Parseur does not sign BAAs at the time of writing.

Both belong to SureSwift Capital. Mailparser extracts data from emails you forward to it, including the body and attachments. Docparser extracts data from PDFs, Word files, and images that arrive by upload, API, email, or cloud storage. If most of your input arrives as email, Parseur and Parsio both handle email bodies and document attachments in one mailbox.

7 Best PDF.js Alternatives for Web Apps: Embed APIs and Full PDF SDKs Compared

Monitor showing the PDF.js viewer next to an alternative viewer with highlights and threaded comments

PDF.js renders PDFs well, but saved annotations, form data, branding, and security patches still land on your team. This guide compares 7 PDF.js alternatives, from hosted embed APIs to full browser SDKs and an open-source PDFium viewer, on saving model, pricing, and deployment. Use it to pick the route that removes the most work from your app.

You embedded PDF.js, got the renderer working, and then the product backlog grew. Annotations need to persist across sessions. Filled forms need to reach your server. Reviewer names need to be attached to comments.

The viewer needs your brand, not Mozilla’s default chrome. The library that took a weekend to integrate now needs months of infrastructure around it.

PDF.js v6.5.438 can already write form and annotation changes into the file with saveDocument(). Everything the library doesn’t give you (the upload endpoint, reviewer identity, permissions, the viewer UI, upgrades, and security patches) adds up. When those costs compound, you have 3 routes to compare. You can keep PDF.js and build the rest yourself, embed a hosted viewer API and hand the infrastructure to a vendor, or license a full SDK that runs in the browser.

In this article, we compare 7 PDF.js alternatives for web apps based on their features, pricing, saving model, and deployment options.

Top picks by reason for leaving PDF.js

If annotations and forms must save to your server, the decision comes down to a hosted embed API (no viewer to maintain, but confirm the save path) versus a full SDK (more features, self-hosted assets, a license).

If you’re leaving PDF.js because…PickWhy it fits
You want annotations, form filling, and read aloud without building or hosting a viewerFoxit PDF Embed APIHosted viewer with text markup, shape, and stamp tools, form filling, and read aloud, included in every Foxit APIs plan alongside our other PDF APIs
You need a free hosted viewer that hands the saved PDF back to your appAdobe PDF Embed APIFree, with a save callback that returns the updated PDF buffer and analytics for Adobe Analytics or Google Analytics
You want to start hosted and move to self-hosted later without changing the viewerNutrient Web SDKThe same viewer supports client-side, Document Engine, and DWS deployments; DWS has 250 free sessions/month, subject to commercial eligibility
Your users need to edit PDFs, Word files, and spreadsheets in one viewerApryse WebViewerClient-side WebAssembly across 30+ formats; PDF, DOCX, and spreadsheet editing add-ons; WebViewer pricing by quote
You need a form designer and a published per-developer priceSyncfusion JavaScript PDF Viewer$599 per developer per year, a built-in form designer, and a free Community License for qualifying small companies
Your viewer lives inside SharePoint, Teams, or SalesforceComPDF Web SDKStandalone WebAssembly SDK with form and annotation authoring, a content editor, and integrations for SharePoint, Teams, OneDrive, and Salesforce
You want to stay open source and need redactionEmbedPDFApache-2.0 viewer on PDFium with true redaction, form building, signing, and headless components for React, Vue, Svelte, and Angular

Each tool appears once, under the reason it fits best. Several fit more than one reason, and the feature table in each entry shows their full coverage.

What PDF.js gives you today

PDF.js generic viewer displaying a research paper, with highlight, text, draw, and image editors in the top-right toolbar

The PDF.js generic viewer, with its built-in annotation editors at the right end of the toolbar.

We use PDF.js v6.5.438, released 1 Nov 2026, as the baseline for comparing these alternatives.

AreaWhat PDF.js v6.5.438 providesWhat you still build or own
LicenseApache-2.0, free, published as pdfjs-dist on npmUpgrades and security patches
RenderingCanvas with a worker, streaming and range requests enabled, with a 65,536-byte default range maximumA worker that matches the library version exactly, with rendering limited to visible pages to save memory
Viewer UIA generic viewer (viewer.html) and viewer components (PDFViewer, EventBus)Your own skin; Mozilla asks embedders not to ship the viewer unmodified
AnnotationsRenders existing annotations, plus editors for free text, highlight, stamp, ink, signature, and commentReviewer identity, threads across users, permissions, and sync
FormsAcroForm filling through annotationStorage; XFA rendering is off by default in the getDocument() API (enableXfa) and on by default in the generic viewerField authoring, validation rules, and storage of submitted values
SavingsaveDocument() returns the full PDF with form and annotation changes as bytesThe upload, versioning, and conflict handling
BrowsersModern build for current browsers, with a legacy build for Firefox ESR, Chrome 125+, and Safari 18+Testing on the browsers your users run

Checked in November 2026.

Is PDFJS free?

Yes. PDF.js is Apache-2.0, free for commercial use, and maintained by Mozilla, with 6 releases between 30 May and 1 Nov 2026. Free to license is not free to run, though. The last column of the table above shows what your team still needs to build or maintain.

Is PDF JS good?

It’s a proven renderer. Firefox’s built-in PDF viewer has used it since Firefox 19, and it’s a reasonable starting point for annotation and form filling. PDF.js gives you a library and a sample viewer, not a finished product. Teams outgrow it when they need saved annotations with reviewer names, form authoring, redaction, Office files, or vendor support.

One concrete example of the patch burden appeared in May 2024, when CVE-2024-4367 let a malicious PDF execute JavaScript in pdfjs-dist up to 4.1.392 when isEvalSupported was true (its default). Version 4.2.67 fixed it. Whoever ships PDF.js owns patch tracking.

react-pdf, ngx-extended-pdf-viewer, vue-pdf-embed, and pdfjs-viewer-element all run PDF.js underneath, so switching wrappers doesn’t change the rendering or saving model. See the FAQ at the end for detail.

If your app only displays PDFs, PDF.js may be all you need. The alternatives below earn their place when saving, collaboration, authoring, or support start costing more than a license or a hosted API.

How we compared these alternatives

Every fact comes from public docs, API references, pricing pages, release notes, GitHub and npm. Each entry uses the same 8-row feature table so you can compare routes directly. The rows cover route and rendering, annotations, forms, saving changes, pricing, free option, deployment and data, and moving from PDF.js.

Capabilities are tied to the product surface and version named in each entry (PDF.js v6.5.438, Apryse WebViewer 12.2.1, EmbedPDF v3.1.0), because these products change frequently. Security, compliance, and data-handling statements are attributed to the vendor. We didn’t build a composite score or an overall ranking.

The 7 PDF.js alternatives in detail

Each entry below follows the same format, with a short introduction, an 8-row feature table, a paragraph on where the tool stands out, a paragraph on what to consider, then short Best for and Getting started notes. The Route and rendering row says whether the tool is a hosted embed API, a full SDK, or an open-source viewer, and where the PDF is drawn. The Moving from PDF.js row names the biggest change. The route analysis further below gives a side-by-side view.

Foxit PDF Embed API

 Foxit PDF Embed API product page with a Start for Free button and a developer working on a PDF at a desk

Our PDF Embed API product page, which covers in-app viewing, form filling and annotations.

Our hosted Foxit PDF Embed API shares a developer account with our PDF Services API, Document Generation API, and eSign API. You load one script tag, initialize FoxitEmbed.View with your client ID, and call previewFile(). The viewer renders the PDF in the browser.

FeatureDetails
Route and renderingHosted embed API. Load our viewer script with your client ID, create FoxitEmbed.View, and call previewFile(). The viewer renders the PDF in the browser across 4 embed modes, including full window (default), sized container, in-line, and lightbox.
AnnotationsNotes, typewriter text, highlight, underline, strikeout, squiggly, replace, and caret markup, pencil drawings with an eraser, shapes (rectangle, oval, polygon, cloud, arrow, line, and polyline), and stamps from Dynamic, Standard, and Sign Here sets, plus threaded replies. Users create annotations in the viewer toolbar, and the Save button writes them into the PDF.
FormsFill text fields, checkboxes, radio buttons, dropdowns, and list boxes. Input is saved into the PDF. Creating, editing, or deleting form fields, XFA forms, digital signature and barcode fields, file picker and RTF text fields, JavaScript validation, calculations, and actions, special field formats, and submit buttons with PDF actions are all unsupported.
Saving changesThe viewer’s Save button writes annotations and form input into the PDF. Users download the current file with the download button, which showDownloadPDF controls. The viewer menu also imports form data and exports filled form data as FDF, XFDF, or XML. Each export downloads to the user’s device. No server-side save callback is documented.
PricingPDF Embed comes with every Foxit APIs plan, including Startup at $1,750 a year with 5,000 shared credits, Business at $4,500 with 15,000, and Volume by quote. Credits are charged per API operation (1 per PDF operation, 5 per eSign envelope), and the rate card lists no per-view charge for Embed. See our pricing page for more info.
Free optionThe free Developer plan includes PDF Embed with Foxit branding, plus 500 shared credits a year across PDF Services, Document Generation, and eSign. Branding removal, custom logos, theme and UI customization, and Embed analytics need Startup or higher.
Deployment and dataCloud-delivered script only, with no self-hosted or offline option documented. Pass a URL (same origin or CORS headers required) or an ArrayBuffer or Blob. The viewer includes read aloud, search, bookmarks, and zoom controls, and addListener() reports viewer events such as file opened, page change, and text selection.
Moving from PDF.jsReplace getDocument(), the worker, and your viewer components with one script tag and previewFile(). Saved state moves from saveDocument() bytes you upload to a PDF the user saves and downloads in the viewer.

Checked in November 2026.

Foxit PDF Embed API viewer with filled name and amount fields, an Approved stamp, and the annotation toolbar

Our hosted viewer with 2 filled form fields, a stamp, and the annotation toolbar.

Where Foxit PDF Embed API stands out

You drop the viewer code, the worker version match, and the rendering engine from your active responsibilities entirely. Users get a full annotation toolbar out of the box, including text markup, shapes, Dynamic and Standard stamps, and Sign Here stamps that mark where someone should sign.

The Save button writes their work into the PDF without any save code on your side. Read aloud comes with the viewer without extra integration work.

The same client ID and account cover PDF Embed, PDF Services, Document Generation, and eSign, so the team managing conversions or signatures doesn’t need separate credentials.

What to consider

No server-side save callback is documented, so filled forms and annotations stay in the viewer until the user downloads the file or exports the form data. Form-field authoring, XFA forms, JavaScript calculations, and digital signature fields are unsupported.

There’s no drawn or certificate signature tool, and Sign Here stamps are image stamps, not signature fields.

Branding removal and UI customization require Startup or a higher plan. Self-hosting and offline use are not documented, so the viewer depends on network access to our hosted script on every load.

Best for

It’s best for SaaS apps that display, annotate, and fill existing PDFs and already use, or plan to use, our other APIs.

Getting started

To get started, create a free Foxit developer account, copy the Client ID from the application in your developer console, and follow the PDF Embed API reference to embed your first PDF.

Adobe PDF Embed API

Adobe PDF Embed API product page describing a free JavaScript API, with a sample PDF and a reviewer comment

Adobe PDF Embed API product page, which describes it as a free JavaScript API for embedding and commenting on PDFs.

The Adobe PDF Embed API is a free hosted embed API. You load Adobe’s viewer script from acrobatservices.adobe.com, initialize AdobeDC.View with a client ID and a container ID, and call previewFile(). The viewer renders in the browser across 4 embed modes, including full window, sized container, in-line, and lightbox.

FeatureDetails
Route and renderingHosted embed API. Load Adobe’s viewer.js from acrobatservices.adobe.com, create AdobeDC.View with a client ID, and call previewFile(). The viewer renders in the browser across 4 embed modes, including full window, sized container, in-line, and lightbox.
AnnotationsText comments, sticky notes, highlight, strikethrough, underline, and freehand drawing in full window mode. The Annotations API (off by default) adds, gets, updates, and deletes annotations and fires events. A user profile callback names reviewers, who otherwise appear as Guest.
FormsForm filling is on by default in full window mode. XFA forms, digital signature and barcode fields, file picker and RTF text fields, fields with JavaScript calculation or validation, and special field formats are unsupported.
Saving changesRegister a SAVE_API callback to receive the updated PDF buffer and store it. Options cover autosave frequency, focus polling, and a FILE_MODIFIED response when 2 users change the same file. Without a callback, users download the changed PDF.
PricingFree with no usage cap.
Free optionA free client ID, with no paid tier for Embed.
Deployment and dataHosted script only. Pass a URL (same domain or CORS, with custom headers or cookie credentials if needed) or a promise that resolves to an ArrayBuffer. Rendering times out after 5 minutes. Linearized PDFs stream only in browsers with SharedArrayBuffer (desktop Chrome and Chromium-based Edge) when enableLinearization is true. Analytics go to Adobe Analytics or Google Analytics, and the UI comes in 20 locales.
Moving from PDF.jsReplace your viewer with AdobeDC.View, move the upload you built around saveDocument() into the SAVE_API callback, and register a client ID for each domain.

Checked in November 2026.

Where Adobe PDF Embed API stands out

It’s free with no usage cap, which removes the cost conversation entirely for teams whose only requirement is a hosted viewer.

Of the 2 dedicated hosted embed APIs here (Foxit and Adobe), only Adobe documents a server-side save path. Its SAVE_API callback returns the full updated PDF buffer with configurable autosave intervals and a conflict signal when 2 users edit the same file simultaneously.

Analytics events integrate with Adobe Analytics and Google Analytics without any additional instrumentation.

What to consider

Client IDs are bound to the registered domain, and other domains receive an “Invalid client Id provided” error, so each environment (dev, staging, production) needs its own registration. Commenting and form filling work only in full window mode.

The same form exclusions apply as with other hosted viewers (XFA, signature fields, JavaScript calculations). Linearized streaming requires SharedArrayBuffer support, which limits fast loading to desktop Chrome and Chromium-based Edge. No self-hosted or offline option is documented, so the viewer depends on Adobe’s CDN.

Best for

It’s best for content sites, portals, and apps that need a free hosted viewer with comments and a server-side save callback, and can live within Adobe’s viewer UI.

Getting started

To get started, register at the Adobe Developer Console to get a free client ID.

Nutrient Web SDK

Nutrient Web SDK product page for its JavaScript PDF viewer SDK, with a sample document open in the viewer

Nutrient Web SDK product page, which names client-side WebAssembly, server-side and cloud processing as deployment options.

Nutrient Web SDK (formerly PSPDFKit) is a commercial viewer with 3 deployment modes: a client-side WebAssembly build you self-host, a server-rendered Document Engine, and a managed cloud option called DWS Viewer API.

Because the same viewer API spans all 3 modes, you can start on DWS sessions and move in-house without rewriting your integration.

FeatureDetails
Route and renderingClient-side WebAssembly, server-rendered Document Engine, or DWS Viewer API. DWS-managed files render in the cloud, while app-provided files render locally. Supports PDFs, Office files, and images.
Annotations17+ annotation types with import and export, threaded comments, measurement tools, and real-time Instant collaboration through Document Engine.
FormsForm viewing and filling, plus a drag-and-drop Form Creator for new fields.
Saving changesExport form data and annotations as XFDF or Instant JSON. Document Engine and DWS-managed documents use server storage, and DWS app-provided documents remain in the browser.
PricingWeb SDK: annual subscription quoted on products, components, and use. DWS Viewer API: Starter at $199 a month for 5,000 sessions, or $1,988 a year billed annually; Growth at $399 a month for 20,000 sessions, or $4,299 a year; Custom by quote.
Free optionWatermarked 30-day SDK trial. DWS: 250 sessions/month, 100 documents, 500 MiB, with no commercial free use for enterprises over 20 staff or $1M annual revenue.
Deployment and dataWith a license key and self-hosted assets the viewer works offline. With DWS Viewer API, each viewer load needs a connection. Nutrient states DWS is SOC 2 Type 2 audited and encrypts DWS-managed documents in transit and at rest.
Moving from PDF.jsReplace your viewer with NutrientViewer.load(), choose a deployment mode, and convert stored annotations to XFDF or Instant JSON.

Checked in November 2026.

Where Nutrient Web SDK stands out

The same viewer API covers hosted, self-hosted, and fully client-side deployments, so your front-end code stays unchanged when the architecture changes underneath it. The Form Creator goes beyond what any hosted embed API provides, letting users drag new fields onto a PDF and then fill them.

Instant collaboration through Document Engine synchronizes edits in real time without you building a sync layer. Published per-session DWS prices make budgeting straightforward at the hosted tier.

What to consider

The Web SDK has no public price, and the trial watermarks PDFs, so an unwatermarked evaluation and a real budget number both start with a sales conversation. Instant collaboration needs Document Engine, self-hosted or managed, which is a separate architectural decision. The DWS free tier excludes commercial use for enterprises over 20 staff or $1M revenue, so eligibility narrows as the product grows.

Best for

It’s best for teams that expect to grow from viewing into authoring, collaboration, or Office file support, and want one viewer API for every deployment without rewriting the integration.

Getting started

To get started, sign up for a 30-day SDK trial or a DWS free tier from Nutrient’s site.

Apryse WebViewer

 Apryse WebViewer product page with an annotated document, comment panel, and WebViewer 12.0 release banner

Apryse WebViewer product page, with the WebViewer 12.0 banner noting that the legacy UI has been retired.

Apryse WebViewer 12.2.1 is a full SDK that processes documents in the browser through a WebAssembly build of Apryse’s C++ core.

You self-host the static assets, and an optional Docker backend adds CAD support and server rendering. Documents are processed client-side, and Apryse states no document content reaches its infrastructure in the default deployment.

FeatureDetails
Route and renderingFull SDK. WebViewer 12.2.1 processes documents in the browser through a WebAssembly build of Apryse’s C++ core. An optional Docker backend adds CAD support and server rendering.
AnnotationsAnnotation, measurement, comparison, and redaction tools beside the rendered document.
FormsForm filling is in the base package, including filling from JSON data. Form building and certificate-based digital signatures both come with the Digital Signing add-on. The form builder adds, edits, and removes fields in the viewer.
Saving changesgetFileData({ xfdfString }) returns PDF bytes with exported annotations.
PricingWebViewer is priced by quote. Apryse packages start at $1,500, though scope and billing period for WebViewer specifically are not published.
Free optionA trial key with access to every add-on.
Deployment and dataYou self-host the static assets. Apryse states no document content reaches its infrastructure in the default client-only deployment. Views and annotates PDF plus 30+ formats including DOCX, XLSX, PPTX, and images.
Moving from PDF.jsYou swap the rendering engine and the UI. Teams that want to stay on PDF.js rendering can look at Apryse’s PDF.js Express, a commercial layer on PDF.js (see the FAQ at the end).

Checked in November 2026.

Where Apryse WebViewer stands out

PDF, DOCX, and spreadsheet editing add-ons sit inside one browser viewer, so a user can open a Word file, annotate it, and save it without leaving your app.

Client-side processing in the default deployment means documents don’t leave the browser, which simplifies the data-handling conversation for regulated industries. It covers 30+ formats, including CAD through the optional backend. Apryse describes the interface as WCAG 2.2 AA compliant.

What to consider

Pricing past the entry package requires a quote, and add-ons cost extra, so the final number isn’t visible until late in the sales process. WebViewer 12.0 retired the legacy UI, so existing customizations built on that version need review before upgrading.

Best for

It’s best for products where users edit PDFs and Office files in the browser and documents must stay on the client.

Getting started

To get started, request a trial key from Apryse to access the full SDK with every add-on enabled.

Syncfusion JavaScript PDF Viewer

Syncfusion JavaScript PDF Viewer product page with a live viewer showing page thumbnails and a Submit Form button

Syncfusion JavaScript PDF Viewer product page, with a live viewer showing the toolbar, thumbnails and a Submit Form button.

The Syncfusion JavaScript PDF Viewer is a full SDK component built on PDFium. Its standalone setup loads PDFium resource files into the browser from the URL you configure in resourceUrl. Syncfusion’s sample uses its CDN, but you can self-host the resources.

FeatureDetails
Route and renderingFull SDK component. Standalone setup loads PDFium resource files into the browser from the URL you set in resourceUrl. Syncfusion’s sample points it at Syncfusion’s CDN.
AnnotationsHighlights, sticky notes, stamps, freehand drawings, shapes, and ink, with annotation import and export.
FormsFill text fields, checkboxes, radio buttons, and dropdowns. A built-in form designer adds text boxes, checkboxes, and signature fields through the UI or code, with validation rules and default values.
Saving changessaveAsBlob() returns the modified PDF for upload to your server. download() saves it locally.
PricingPDF Viewer SDK at $599 per developer per year with Business Support, on a minimum 1-year subscription.
Free optionA Community License for companies under $1 million in annual revenue with 5 or fewer developers and 10 or fewer employees. A free trial for everyone else.
Deployment and dataSelf-hosted component. Point resourceUrl at your own copy of the PDFium resources or at Syncfusion’s CDN. Validating digital signatures relies on the Syncfusion PDF Library, server-side or with extra processing, not on the viewer alone.
Moving from PDF.jsInstall the PDF Viewer package for your framework (JavaScript, React, Angular, Vue, Blazor, or ASP.NET), set resourceUrl, and move annotation storage to the viewer’s import and export.

Checked in November 2026.

Where Syncfusion JavaScript PDF Viewer stands out

It’s the only pick here with a published per-developer price, which lets you plan costs before any sales call.

The built-in form designer means users can create new fields on existing PDFs without a separate authoring tool.

The Community License makes it free for small teams that meet the eligibility criteria, and framework packages cover JavaScript, React, Angular, Vue, Blazor, and ASP.NET in one purchase.

What to consider

Cost grows with developer count, and Community License eligibility ends as the company grows past the thresholds.

Digital signature validation needs a separate Syncfusion PDF Library, adding integration work beyond the viewer itself. You’re responsible for hosting or fetching the PDFium resources, and loading them from Syncfusion’s CDN creates a dependency on that CDN.

Best for

It’s best for small teams that qualify for the Community License, and larger teams that want a fixed per-developer cost and a form designer.

Getting started

To get started, check eligibility and download at Syncfusion’s pricing page.

ComPDF Web SDK

ComPDF Web SDK viewer with labeled toolbar groups for annotations, forms, signatures, security, and the content editor

ComPDF Web SDK viewer, with each toolbar group labeled, from annotations and form fields to the content editor.

ComPDF Web SDK is a full SDK that runs entirely on the client through WebAssembly. Its standalone mode processes documents in the browser without an internet connection or a server call, and it ships integrations for SharePoint, Microsoft Teams, OneDrive, and Salesforce.

FeatureDetails
Route and renderingFull SDK. Standalone mode is a JavaScript library that runs entirely on the client through WebAssembly.
AnnotationsCreate, edit, delete, flatten, import, and export annotations.
FormsCreate, fill, edit, delete, flatten, import, and export form fields. Electronic and digital signatures. A content editor for text and images.
Saving changesgetDocument().getFileData() returns PDF bytes for local saving or server upload.
PricingQuote-based on products, features, and deployment. Simple use cases start from $1,300.
Free optionA 30-day trial.
Deployment and dataStandalone mode keeps data on the client and renders PDFs without internet or a server. Integrations for SharePoint, Microsoft Teams, OneDrive, and Salesforce.
Moving from PDF.jsInstall the Web SDK for your framework (Vue, React, Angular, Next.js, Nuxt.js, Svelte, SvelteKit, or vanilla JavaScript), apply the license key, and replace your viewer.

Checked in November 2026.

Where ComPDF Web SDK stands out

The full form and annotation lifecycle (create, fill, edit, delete, flatten, import, and export) runs in the browser without a server, which keeps data handling straightforward for client-only architectures.

The Microsoft 365 and Salesforce integrations make it a practical choice for teams building inside those ecosystems. A published starting price for simple use cases gives you a floor for the budget conversation.

What to consider

Anything beyond simple use cases is quoted, so the starting price is a floor, not an estimate for complex deployments. The trial period is 30 days.

Best for

It’s best for teams embedding a viewer inside SharePoint, Teams, or Salesforce, or needing form authoring in a standalone browser SDK.

Getting started

To get started, sign up for a 30-day trial at the ComPDF site.

EmbedPDF

EmbedPDF home page showing its open-source PDF viewer next to a React code sample for the drop-in component

EmbedPDF home page, with the drop-in React component next to the viewer it renders.

EmbedPDF is an open-source viewer powered by PDFium, the PDF library inside Chrome. PDFium is compiled to WebAssembly and runs in a Web Worker. Version 3.0 shipped as a stable release on 6 Nov 2026, and the current release is v3.1.0 on npm under Apache-2.0. You add the ready-made viewer as one <embedpdf-viewer> element, or build your own UI from the headless plugins.

FeatureDetails
Route and renderingOpen-source viewer. The engine runs PDFium compiled to WebAssembly in a Web Worker, so pages render in the browser. Use the ready-made viewer (one <embedpdf-viewer> element, with packages for React, Vue, Svelte, and Angular) or the headless plugins to build your own UI.
AnnotationsHighlight, underline, strikeout, drawing, notes, text boxes, and callouts, plus shapes (rectangles, circles, lines, arrows, and polygons), stamps, and comment threads with replies. Measurement is available but off by default. The user’s identity.displayName becomes the annotation author. Redaction (off by default) removes marked content from the file.
FormsForm filling is on by default. Turning on form building adds a Form mode for creating fields. Users can draw, type, or upload a signature, sign fields, and check signatures.
Saving changesThe viewer’s Download includes every annotation, form value, and signature. viewer.documents.download() returns the same PDF as bytes for a server upload, and annotations export as a JSON bundle you can store apart from the PDF.
PricingFree and open source under Apache-2.0.
Free optionFree viewer with GitHub and Discord community help. Sponsors get priority and integration support.
Deployment and dataRuns client-side. By default the engine’s WebAssembly, its worker, and the standard stamps ship inside your build and load from your own origin, and no fonts are fetched unless you configure them. The self-hosting and air-gapped guide lists every URL a deployment can touch.
Moving from PDF.jsInstall @embedpdf/viewer, replace your viewer with <embedpdf-viewer> or EmbedPDF.init(), and replace your saveDocument() upload with viewer.documents.download().

Checked in November 2026.

Where EmbedPDF stands out

It’s an open-source replacement on a different rendering engine. If PDFium’s rendering suits your documents better than PDF.js, EmbedPDF gives you that engine without a license cost.

True redaction (which removes content from the file) and form-field building are absent from PDF.js’s editor types, and EmbedPDF has both, along with signing and measurement.

Its assets load from your own origin by default, which suits a strict Content Security Policy and air-gapped deployments without extra setup. The headless plugins let you build your own UI entirely on top of the engine, giving you more control over the viewer chrome than any hosted embed API.

What to consider

Version 3.0 is a new major release, and most config names changed from 2.x (@embedpdf/snippet became @embedpdf/viewer), so existing 2.x integrations need the migration guide and a test pass. Redaction, form building, and measurement stay off until you turn them on in features.

Unless you become a sponsor, support for production incidents comes from the community through GitHub issues and Discord. The engine checks permissions on every call, and as EmbedPDF’s permissions guide puts it, hiding a button “is about honest UI, not safety.”

Best for

It’s best for teams that want to stay open source but need redaction, form building, signing, or a PDFium-based renderer.

Getting started

To get started, install via npm (@embedpdf/viewer) or follow the EmbedPDF viewer quick start.

Keep PDF.js, embed a hosted viewer, or license a full SDK

Together with keeping PDF.js, the 7 entries above make up the 3 routes from the introduction plus an open-source option, and each moves a different share of the work off your team.

The comparisons below put them side by side, starting with who owns what, then how saved changes reach your server, then what a move to our API involves in practice.

What each route asks of your team

RoutePicks in this listWho renders the PDFHow you payWhat you maintain
Keep PDF.jsPDF.js and its wrappersPDF.js in the browser, with a worker you hostFree under Apache-2.0Viewer UI, saving, permissions, upgrades, and patches
Hosted embed APIFoxit PDF Embed API, Adobe PDF Embed API, Nutrient Web SDK through DWS Viewer APIAdobe and Foxit render locally; DWS renders app-provided files locally and managed files in its cloudIncluded in a plan (Foxit), free (Adobe), or per session (Nutrient DWS)Client IDs or session tokens, CORS, storing saved changes
Full SDKNutrient Web SDK, Apryse WebViewer, Syncfusion JavaScript PDF Viewer, ComPDF Web SDKWebAssembly in the browser, with optional serversAnnual license, quoted, or per developerSelf-hosted assets, license keys, upgrades
Open-source viewerEmbedPDFPDFium compiled to WebAssembly in the browserFree under Apache-2.0The same work as PDF.js, plus serving the engine’s WebAssembly from your own site

Checked in November 2026.

 Diagram comparing four routes (keep PDF.js, hosted embed API, full SDK, open-source viewer) by code source and upkeep

Where the viewer code comes from, where the PDF is drawn, and what your team still owns on each route.

Who renders

Almost every tool in this list displays pages in the browser. The exceptions are Nutrient Document Engine and DWS-managed documents, which render server-side. For the dedicated hosted embed APIs (Foxit, Adobe), the viewer code arrives from the vendor’s CDN on each page load. For full SDKs and EmbedPDF, the code comes from your bundle or your self-hosted assets.

How you pay

The billing unit varies more than the headline price.

Our annual plans cover PDF Embed plus credits shared across PDF Services, Document Generation, and eSign. Adobe charges nothing.

Nutrient DWS charges per viewer session. Syncfusion charges per developer per year. Apryse, Nutrient Web SDK, and ComPDF charge by quote. Compare the unit that matches your usage pattern before comparing the numbers.

What you keep up

Keeping PDF.js means owning the viewer, the save path, and security patches, as CVE-2024-4367 illustrates. Hosted APIs remove the viewer and the worker from your list but leave you responsible for storing what users save.

Full SDKs remove most UI work but add license management and asset hosting. EmbedPDF shifts the work from PDF.js to PDFium, a different engine but a similar obligation.

Pick the route by what users must do with documents, then pick the tool inside that route.

How annotations and form data get back to your server

OptionAnnotations outFilled form data outSaved PDF to your server
PDF.jsannotationStorage, written into the PDF by saveDocument()Same, through saveDocument()Upload the bytes saveDocument() returns
Foxit PDF Embed APISaved into the PDF with the viewer’s Save buttonSaved into the PDF, or exported from the viewer menu as FDF, XFDF, or XMLNo server-side save callback is documented. Users download the file from the viewer’s download button.
Adobe PDF Embed APIAnnotations API and eventsSaved into the PDF bufferSAVE_API callback receives the updated PDF
Nutrient Web SDKXFDF or Instant JSONXFDF or Instant JSONExport through the SDK, or keep documents in Document Engine or DWS
Apryse WebViewerThrough the WebViewer APIThrough the WebViewer APIgetFileData({ xfdfString }) returns PDF bytes
Syncfusion JavaScript PDF ViewerAnnotation import and exportFilled and saved in the viewersaveAsBlob() returns the modified PDF for upload
ComPDF Web SDKAnnotation import and exportForm import and exportgetDocument().getFileData() returns PDF bytes for upload
EmbedPDFAnnotation export as a JSON bundle, and importForm import and exportviewer.documents.download() returns the PDF with every change as bytes

Checked in November 2026.

Flow diagram showing annotations and form data saved as database rows or new PDF files, plus the Foxit download path

The data path stores changes as rows you can query; the file path stores a new PDF per save. Our viewer’s path ends with the user downloading the file.

Store data or store files

You can store exported annotations or form data as rows in your own database and replay them on the original PDF later. Formats include XFDF or Instant JSON from Nutrient, XFDF from Apryse, a JSON bundle from EmbedPDF, and FDF, XFDF, or XML form data from our PDF Embed API.

Saving the whole PDF is simpler but creates a new file for every save. Our PDF Embed API also saves the whole PDF, and both the PDF and any form data export end at the user’s download rather than on your server. The practical tradeoff is storage cost and the ability to query or audit individual changes.

Reviewer identity

Adobe names reviewers through a user profile callback. EmbedPDF sets the author from identity.displayName in its config. With PDF.js you add identity yourself as part of the annotationStorage logic, and with our PDF Embed API you track who saved each file on your side.

Two people, one file

Adobe’s callbacks report FILE_MODIFIED when your backend detects a concurrent edit. Nutrient Instant syncs edits in real time through Document Engine. The other tools leave concurrent-edit handling to you. Check each SDK’s collaboration model separately before you build.

If your app needs the filled PDF on the server, confirm the vendor’s save path before you choose. A viewer that fills forms well doesn’t help if the result never reaches your storage.

Mapping PDF.js calls to the Foxit PDF Embed API

We use our own API as the worked example. The mapping below covers concepts, not code. Existing PDFs open as they are, and only your viewer code and your save logic change.

PDF.jsFoxit PDF Embed APIWhat changes
getDocument() plus PDFViewer, EventBus, and your toolbarnew FoxitEmbed.View() with a client ID and div ID, then previewFile()Our hosted viewer replaces the viewer you assemble
GlobalWorkerOptions.workerSrc and the exact API and worker version matchOne script tag that carries your client IDNo worker file to host or version-match
A url or data passed to getDocument(), with CORS or a proxyContent passed to previewFile() as a URL, ArrayBuffer, or BlobSame-origin or CORS rules still apply to URLs
Range requests and streaming (rangeChunkSize, disableRange)Not documentedCheck load times on your largest files
Free text, highlight, stamp, ink, signature, and comment editorsNote, typewriter, text markup, pencil, eraser, shape, and stamp toolsNo signature editor in our toolbar
annotationStorage and saveDocument()The viewer’s Save button, then the download buttonNo save callback to your server is documented
AcroForm filling through annotationStorageBuilt-in form filling with a Save button, plus form data export and import (FDF, XFDF, XML) from the viewer menuNo field authoring, XFA, JavaScript calculations, or signature fields
enableXfaNot supportedXFA forms need another route
eventBus.on() handlersaddListener() with PageNum_Changed, File_Opened, Text_Selected, and 9 more eventsRename your handlers
Your own toolbar and theme codeshowToolControls, showLeftHandPanel, showDownloadPDF, showPrintPDF, theme, and logoCustomization and branding removal need Startup or higher
No account, Apache-2.0A client ID from a free Developer accountProduction branding control needs a paid plan

The same account gives you PDF Services for server-side steps, including our Import PDF Form Data API to prefill a form before the viewer opens, and our Export PDF Form Data API to read field values from a PDF your server holds.

Where your PDFs load from and what works offline

Feature coverage matters less if your security team rules a tool out because of where its code and your files travel. The table below traces both for every option, along with whether it can run on a disconnected network.

OptionViewer code comes fromWhere the PDF goesOffline or air-gapped
PDF.jsYour bundle or a CDN, plus a matching workerFetched by the browser from your server, with range requestsYes, when you self-host the build
Foxit PDF Embed APIOur hosted script at embed.developer-api.foxit.comA URL or binary passed to the viewer and rendered in the browserNot documented
Adobe PDF Embed APIAdobe’s hosted script at acrobatservices.adobe.comA URL or ArrayBuffer passed to the viewer and rendered in the browserNot documented
Nutrient Web SDKSelf-hosted assets with a license key, or a DWS Viewer API sessionBrowser, your Document Engine server, or Nutrient cloud, by modeYes with self-hosted assets; DWS needs a connection for each viewer load
Apryse WebViewerSelf-hosted static assetsProcessed in the browser; Apryse states no content reaches its infrastructureThe client-only deployment needs no server
Syncfusion JavaScript PDF ViewerAn npm package plus PDFium resources from the URL you setThe browserYes in standalone mode with self-hosted resources
ComPDF Web SDKA self-hosted libraryThe browser, in standalone modeYes in standalone mode, with no internet or server needed
EmbedPDFnpm, with the engine’s WebAssembly served from your own site by defaultThe browserYes, with nothing fetched from a public CDN by default

Checked in November 2026.

Hosted viewers still render locally

Both dedicated hosted embed APIs (Foxit and Adobe) render the PDF in the browser, not on the vendor’s server.

The viewer code still arrives from the vendor’s CDN on every page load. Both viewers need network access, and you accept the vendor’s script updates automatically.

“Our documents cannot leave our servers”

Full SDKs with self-hosted assets and open-source viewers are the routes that can run inside a closed network, and the callout below lists which configurations qualify. Separate a regulatory requirement from an internal preference before ruling out hosted options, because “we prefer not to use third-party CDNs” and “we operate on a disconnected network” are different constraints.

If documents must stay inside your network

Nutrient Web SDK with self-hosted assets and a license key, Apryse WebViewer’s client-only deployment (no server required by default), ComPDF’s standalone WebAssembly mode, Syncfusion’s PDF Viewer with self-hosted PDFium resources, and EmbedPDF with its default self-hosted engine assets all support closed-network use. Both dedicated hosted embed APIs (Foxit and Adobe) load their viewer code from the vendor’s CDN and are not documented for offline operation. Whichever option you choose, an offline viewer still needs a plan for patching it.

Permissions are not security

PDF permission flags such as “no print” or “no copy” depend on the viewer to honor them. Hiding the download and print buttons in any viewer is a UI choice, not content protection. A determined user can still extract content by other means.

For regulated documents, check where the code and the files go before you compare features.

Common PDF.js claims that need context

A few claims repeat across PDF.js comparison pages, and each one needs context before it shapes your decision.

“PDF.js lacks annotations”

Many summaries say PDF.js lacks annotations, digital signatures, and redaction out of the box.

The annotation claim is out of date, the signature claim needs a qualifier, and the redaction claim holds. PDF.js v6.5.438 saves form and annotation changes with saveDocument() and ships free-text, highlight, stamp, ink, drawn-signature, and comment editors.

The drawn signature editor produces an ink annotation, though, and certificate-based digital signatures are a separate capability entirely. What PDF.js genuinely lacks is redaction (which removes content) and form-field authoring.

Generators aren’t viewers

jsPDF, PDFKit, pdfmake, and pdf-lib create or modify PDFs. They don’t replace a viewer, even though some PDF.js alternatives roundups list all 4 next to real viewers.

Old reviews age fast

Reviews from 2020 describe PDF.js as rarely updated and without signature support. PDF.js shipped 6 releases between 30 May and 1 Nov 2026, and its editor types now include a signature editor. Don’t rely on 2020-era claims as a description of the current library.

The most useful evaluation step is to load your hardest PDFs (forms, scans, large drawings) into PDF.js and 2 shortlisted options, then save and reopen them before you decide.

Where Foxit fits

If the PDF.js alternative you need is a hosted viewer, the Foxit PDF Embed API lives in the same developer account as our PDF Services API, Document Generation API, and eSign API.

One set of credentials, one plan, one dashboard. If your team is already using or evaluating our other APIs, the Embed viewer slots into the same workflow without separate procurement.

Start by converting Office files to PDF or generating documents from templates on the server with our PDF Services or Document Generation API. Continue by prefilling form fields with our Import PDF Form Data API before the user opens the document. Show and annotate the result with PDF Embed, then send the final file for signature with our eSign API. Each step uses the same credentials.

Four-step workflow diagram: create the PDF, prefill form fields, review and fill in PDF Embed, then send for eSign

One account covers the whole workflow, with the browser viewer as the only step that runs client-side.

Our hosted viewer fits apps that display, annotate, and fill existing PDFs. Teams that need form-field authoring, XFA forms, redaction in the browser, offline use, or self-hosted viewer code should pick a full SDK (Nutrient Web SDK, Apryse WebViewer, Syncfusion JavaScript PDF Viewer, or ComPDF Web SDK) or EmbedPDF from this list.

The free Developer plan gives you PDF Embed with Foxit branding and 500 shared credits a year across PDF Services, Document Generation, and eSign, with no credit card required. Startup and higher plans add branding removal, custom logos, theme and UI customization, and Embed analytics.

Create a free Foxit developer account and embed your first PDF with the PDF Embed API.

What else to know before you replace PDF.js

The answers below cover common questions about replacing PDF.js in a web app.

The best choice depends on what you need beyond PDF.js. Teams that need a hosted viewer with annotations and form filling without building infrastructure should evaluate the Foxit PDF Embed API or the Adobe PDF Embed API. 

Teams that need form authoring, redaction, Office file support, or offline operation should evaluate a full SDK such as Nutrient Web SDK, Apryse WebViewer, Syncfusion JavaScript PDF Viewer, or ComPDF Web SDK. Teams that want to stay open source and need redaction should evaluate EmbedPDF.

Yes. PDF.js v6.5.438 ships editors for free text, highlight, stamp, ink, drawn signature, and comment annotations, and writes them into the PDF with saveDocument(). PDF.js doesn’t provide reviewer identity, cross-user threading, permissions, or server sync, so those capabilities require additional infrastructure or a switch to a commercial viewer.

Yes. Adobe PDF Embed API is free with no usage cap. You register at the Adobe Developer Console, get a client ID for each domain, and load Adobe’s hosted script. There’s no paid tier for the Embed API itself, though client IDs are domain-bound, so each environment (dev, staging, production) needs separate registration.

A hosted embed API (Foxit PDF Embed API, Adobe PDF Embed API) delivers the viewer code from the vendor’s CDN on every page load. You don’t host or maintain the viewer, but you depend on the vendor’s network and accept automatic script updates. A full SDK (Nutrient Web SDK, Apryse WebViewer, Syncfusion JavaScript PDF Viewer, ComPDF Web SDK) gives you self-hosted assets, more control over the viewer, and the ability to operate offline or air-gapped, in exchange for managing license keys, upgrades, and asset hosting yourself.

Yes. Nutrient Web SDK with self-hosted assets and a license key, Apryse WebViewer’s client-only deployment, Syncfusion’s standalone mode with self-hosted PDFium resources, ComPDF’s standalone mode, and EmbedPDF, which serves its engine from your own build by default, all support closed-network operation. Both dedicated hosted embed APIs (Foxit and Adobe) load their viewer code from the vendor’s CDN and are not documented for offline use.

It depends on the job. For displaying PDFs, PDF.js is the open-source default, and the tools in this article replace or extend it. For creating PDFs (generating invoices, reports, or contracts), you need a generation library or a hosted generation API, and those tools aren’t viewers. See our 10 Best PDF Generator APIs for Developers in 2026 and 10 Best HTML to PDF APIs for Developers in 2026 for that category. No single library covers both jobs.

Technically yes, by hosting viewer.html and passing the file in the ?file= parameter, but Mozilla asks sites not to embed it unmodified and to re-skin it or build on it instead. The generic viewer also blocks cross-origin files when it’s not hosted on mozilla.github.io, so files on another domain need CORS headers or a proxy. For a production viewer, build on the viewer components (PDFViewer, EventBus) or switch to one of the alternatives above.

react-pdf, ngx-extended-pdf-viewer, vue-pdf-embed, and pdfjs-viewer-element are PDF.js with a framework-friendly component API on top. Switching between them changes the component API, leaving the rendering engine and saving model intact. A real alternative swaps the renderer (for example, to PDFium via WebAssembly) or replaces the viewer entirely with a hosted or licensed product. Apryse’s PDF.js Express is a different kind of option, a commercial layer on PDF.js with a free viewer tier and an annotations-and-forms package. The annotations-and-forms package is $595 a month billed annually, or $699 billed monthly. See the PDF.js Express pricing page for more info.

8 Best Unstructured.io Alternatives for Document Parsing in 2026

Developer at three monitors showing parsed JSON, a PDF to OCR to parser pipeline, and an invoice data comparison table

Moving an Unstructured prototype to production often means replacing the parser, the chunker, the connectors, or all three. This guide compares 8 alternatives, including Foxit PDF Services API, LlamaParse, Reducto, and Docling, by cost, table handling, chunking, and file coverage. You also get the element mappings, billing math, and test plan you need before you switch.

If your prototype uses the unstructured library, moving to production raises a practical question: what needs to change? Unstructured describes the library in its own docs as “Not designed for production scenarios.” Costs on long reports or table errors in a RAG index may also prompt a switch from the library or Transform API.

Those are the 3 moments that send engineers looking. In Moda’s 6 Sep 2026 run of Unstructured OSS 0.27.5 on a 48-page NIST AI RMF PDF, the library kept 36 of 40 checked statements and missed 4 table-row continuations. One document, one run, but it illustrates the failure mode.

“Unstructured” now names several products. The open-source unstructured library partitions and chunks on your machines. The Transform API parses single documents via POST. Pipelines connects sources, partitions, chunks, embeds, and writes to destinations. Business adds dedicated infrastructure. Replacing Unstructured can mean replacing the parser, the chunker, the connectors, or all three.

In this article, we compare 8 alternatives (our PDF Services API, LlamaParse, Reducto, Docling, Marker and Datalab, Mistral OCR, Azure Document Intelligence, and Google Document AI Layout Parser) by what they replace, their capabilities and costs, and the work involved in switching.

What Unstructured gives you today

What does unstructured.io do? Its parsing layer produces typed elements such as Title, NarrativeText, ListItem, Table, and Image, with metadata including page numbers, coordinates, parent_id, and text_as_html for tables. Unstructured Pipelines adds the managed workflow for chunking, enrichment, embedding, and delivery to a destination.

Unstructured home page with the headline We structure your unstructured data and a Support for 65+ File Types badge

Unstructured’s home page.

Is unstructured.io free? The open-source library is free under Apache-2.0. The Transform API includes 10,000 pages once per account, then costs $0.015 a page, and Transform requests fail after the free pages until you upgrade to pay as you go.

Unstructured product

What it does

Price

Limits

Open-source library (unstructured, Apache-2.0)

Partitions documents into elements and chunks them on your own machines

Free. You run the dependencies (Poppler, Tesseract) and models

Intended for quick prototyping and “Not designed for production scenarios.” No VLM, no fine-tuned OCR, no by-page or by-similarity chunking, no embeddings in the core library

Transform API (POST /api/v2/parse)

Returns Markdown or elements, with optional schema extraction

10,000 pages free once per account, then $0.015 a page

9 extensions (.bmp, .docx, .heic, .jpeg, .jpg, .pdf, .png, .pptx, .tiff), 100 MB, 1 document per request, balanced or best profile only, rate limits not published

Transform MCP server

Partitions, enriches, chunks, and embeds files from an AI tool

Same per-page rate

49 extensions, including .eml, .msg, .html and .xlsx; 50 MB per file

Pipelines

Connects sources, partitions with Auto, VLM, High Res or Fast, then chunks, enriches, embeds, and writes to destinations

Pay as you go at the same per-page rate

Workflows and jobs; 40+ connectors

Business

Dedicated instance, in-VPC on AWS, Azure or GCP, or bare metal

Custom

Multi-user workspaces

Under Transform billing, each PDF page, PPTX slide, or TIFF image counts as 1 page. DOCX files use page metadata when available, otherwise file size divided by 100 KB, and most other files count 1 page per 100 KB.

The library is deprioritized, not discontinued. Unstructured no longer actively recommends or promotes the library, Ingest, the JavaScript SDK, and the partition endpoint. The library still ships on PyPI (0.27.36 on 30 Oct 2026, after 6 releases between 19 and 27 Oct) and no end-of-life date is published.

File-type coverage depends on which product you call. The Transform API accepts 9 extensions, the Transform MCP server accepts 49, and the open-source library 27. The Transform API also documents an Extract endpoint for schema-based extraction.

The strengths are real. Pipelines brings 40+ connectors with change detection and incremental processing, chunking by character, title, page, or similarity plus contextual chunking, and embeddings from providers such as OpenAI, Bedrock, VoyageAI, and IBM. Compliance coverage includes SOC 2 Type 2, ISO 27001, and HIPAA, listed in its trust center, plus FedRAMP High, authorized 12 Dec 2025.

Before you compare anything, list what your pipeline actually uses today, including connectors, chunking strategy, element metadata, file types, and embeddings. That list decides which alternative can replace it.

Grid showing which Unstructured pipeline stages each of 8 Unstructured.io alternatives replaces, from connect to persist

Each alternative replaces a different slice of Unstructured’s pipeline. Only the partition stage is covered by every tool.

Our top picks by reason for switching

The right alternative depends on which part of Unstructured you’re replacing (the parser, the chunker, or the connectors) and where your documents can be processed. 

For financial PDFs with broken tables, shortlist parsers that return table structure as cell grids or HTML tables with spans, such as Reducto r-1, LlamaParse on Cost-effective or higher, Azure Document Intelligence Layout, our PDF Structural Extraction, and Docling’s TableFormer, then test on your own worst pages.

If you’re leaving Unstructured because…

Pick

Why it fits

Per-page fees add up on long PDFs

Foxit PDF Services API

1 credit per successful request regardless of page count within supported limits; PDF to Markdown, PDF Structural Extraction (Trial) and OCR on a single credit pool

You want a managed ingestion service with connectors

LlamaParse

130+ formats, 4 parse tiers from $1.25 to $31.25 per 1,000 pages on Pro, Google Drive, SharePoint, S3 and Confluence connectors on paid plans, 10,000 free credits a month

Complex tables, and chunks straight from the parser

Reducto

r-1 Parse at $10 per 1,000 pages (r-1 mini at $1), 6 chunk modes and embedding-optimized table summaries

You want an open-source library you run yourself

Docling

MIT-licensed, reads PDF, Office, HTML and .eml or .msg email, HybridChunker, Docling Serve REST API with chunk endpoints

Local Markdown conversion with a hosted fallback

Marker and Datalab

Marker code is Apache-2.0 with separately licensed weights. Hosted Convert from $0.50 (lite) to $10 (accurate) per 1,000 pages, with chunks output

Low-cost Markdown with layout blocks at volume

Mistral OCR

OCR 4.1 at $4 per 1,000 pages, or $2 with the Batch API. Per-page Markdown with blocks, boxes and confidence

Your stack runs on Azure

Azure Document Intelligence

Layout returns Markdown with HTML tables at $10 per 1,000 pages, reads PDF, images, DOCX, XLSX, PPTX and HTML, and offers Read and Layout containers

You want chunking inside the parser on Google Cloud

Google Document AI Layout Parser

$10 per 1,000 pages including initial chunking, with chunk size in tokens and ancestor headings

These are starting points, not exclusive use cases. The feature tables show what each tool covers, and the “Moving from Unstructured” rows explain the output mappings and integration changes to plan for.

Create a free Foxit developer account and turn your first PDF into Markdown or structured JSON with the PDF Services API.

Foxit PDF Services API

Foxit PDF Services API product page with the headline Cloud-Native PDF Control, Built for Scale and a Start for Free button

Our PDF Services API product page.

Our PDF Services API handles the PDF parsing step, with Markdown, plain text, and typed JSON through PDF Structural Extraction (Trial). Parsing shares a credit pool with conversion, OCR, redaction, and other PDF operations.

Feature

Details

Covers

Parsing step for PDFs, including PDF to Markdown, PDF Structural Extraction (Trial) for typed JSON, PDF to Text, and an OCR endpoint for scans. No chunking, embeddings, or connectors.

Inputs

Parsing endpoints take PDFs. Word (.doc, .docx), Excel, PowerPoint (.ppt, .pptx), images (JPEG, PNG, TIFF, BMP, GIF), text, HTML, web pages by URL, and Markdown convert to PDF first on the same account. Uploads up to 100 MB. No email route.

Outputs

PDF to Markdown with tables as Markdown pipes (default) or HTML tables, and page headers and footers only when requested. Structural Extraction returns a ZIP with JSON (schema v1.0.7), extracted images and table renditions, 12 element types with reading order, bounding boxes and table cell relationships.

Scans and tables

The OCR endpoint takes language codes and makes scanned PDFs searchable. Structural Extraction returns no text on image-only PDFs, so OCR them first. Tables keep cell structure in Structural Extraction.

Chunking

The API includes no chunking. Title, head, and paragraph elements arrive in reading order, so split on them in your own code or framework.

Pricing

1 credit per successful request, regardless of file size or page count within supported limits. Startup costs $1,750 a year for 5,000 credits; Business costs $4,500 a year for 15,000. The free Developer plan includes 500 credits a year. Uploads, task polling, and downloads use no credits, and failed requests are not billed.

Limits and deployment

Asynchronous: submit, poll the task, download. 15 requests a minute per application in sandbox, 100 in production. Cloud only. A delete endpoint permanently removes uploaded and generated files, and no retention period is published. Our cloud-hosted PDF APIs are covered by SOC 2 Type II audits, and we support HIPAA BAAs.

Moving from Unstructured

title and head replace Title, paragraph replaces NarrativeText, table replaces Table, and headerFooter covers Header, Footer, and page numbers. The 12 documented types include no list-item type. Non-PDF files need a convert call first, and scans need an OCR call first. See the element-mapping table later in this article.

Where our PDF Services API stands out. 

A successful parsing call costs 1 credit for either a 200-page annual report or a 2-page invoice, within supported limits. 

Whether that costs less than a per-page API depends on the competing tier and how much of your annual credit pool you use. Conversion, OCR, and redaction use the same pool, but each processing call consumes a separate credit.

Our PDF Structural Extraction API is currently in trial and uses schema version v1.0.7. The API may change, so validate responses against the schema your application expects. Structural Extraction returns a ZIP archive containing JSON, extracted images, and table renditions, so your pipeline needs an unzip step before parsing the JSON.

Prerequisites. To run the example below, you need:

Create a working folder for the script’s temporary files and output:

mkdir foxit-parse && cd foxit-parse

If jq --version fails, install jq first. On macOS with Homebrew, run this command:

brew install jq

On Debian or Ubuntu, run this one instead:

sudo apt-get install -y jq

Create your account. Enter your email on the sign-up page to activate the free Developer plan, which needs no credit card.

Foxit sign-up form for the free Developer plan, listing live API credentials, a working cURL, and 500 free credits a year

Our sign-up form activates the free Developer plan.

Get your credentials. After you sign up, open the console and copy the client ID and client secret from the Make your first call panel. The script reads both from environment variables.

Foxit developer console dashboard with the Make your first call panel showing client ID and client secret fields

The console after sign-up, with credentials pre-filled for a first call.

What a run looks like. Every parsing call follows the same asynchronous pattern, so you can see it end to end with curl and jq. This block sets your credentials, defines 3 small helpers, and converts our sample invoice PDF to Markdown.

Run this command from your terminal:

export FOXIT_CLIENT_ID="your_client_id"
export FOXIT_CLIENT_SECRET="your_client_secret"
API=https://na1.fusion.foxit.com/pdf-services/api

foxit() { curl -s -H "client_id: $FOXIT_CLIENT_ID" -H "client_secret: $FOXIT_CLIENT_SECRET" "$@"; }

submit() {
  foxit -w "\nHTTP %{http_code}\n" -H "Content-Type: application/json" -d "$2" "$API/documents/$1" > submit.txt
  cat submit.txt
  TASK=$(head -1 submit.txt | jq -r '.taskId // empty' 2>/dev/null)
  [ -n "$TASK" ] || { echo "Submit failed. Check your credentials and credit balance."; return 1; }
  while true; do
    foxit "$API/tasks/$TASK" > task.json && jq -c . task.json
    STATUS=$(jq -r '.status // "ERROR"' task.json 2>/dev/null || echo ERROR)
    case "$STATUS" in
      COMPLETED) return 0 ;;
      FAILED|ERROR) echo "Task did not complete."; return 1 ;;
    esac
    sleep 5
  done
}

download() { foxit -o "$1" "$API/documents/$(jq -r .resultDocumentId task.json)/download"; }

curl -sL -o invoice.pdf https://github.com/lucienchemaly/foxit-demo-templates/raw/main/invoice_table_test.pdf
UPLOAD=$(foxit -F "[email protected]" "$API/documents/upload")
DOC=$(echo "$UPLOAD" | jq -r '.documentId // empty' 2>/dev/null)
[ -n "$DOC" ] && echo "documentId: $DOC" || echo "Upload failed: $UPLOAD"
[ -n "$DOC" ] && submit convert/pdf-to-markdown "{\"documentId\": \"$DOC\"}" && download invoice.md

The foxit helper sends your credentials as headers. submit posts the operation, prints its response and HTTP status, then polls GET /tasks/{taskId} every 5 seconds until COMPLETED. 

It stops if no taskId is returned, the task reports FAILED, or a poll response has no status. The script uploads the sample PDF, submits pdf-to-markdown, then downloads the result using resultDocumentId. 

Only the processing call uses a credit. This example has no overall polling timeout, so add one before using it in an unattended pipeline.

The expected output should look like the following:

documentId: 6aecea9c9036bb553d572b55
{"taskId":"6aecea9d4c382b4f0d060b10"}
HTTP 202
{"taskId":"6aecea9d4c382b4f0d060b10","status":"COMPLETED","progress":100,"resultDocumentId":"6aecea9ec07a611874a472e8"}

The script prints the documentId from the upload, the submit response with its HTTP 202 status, and each poll result until the task reports COMPLETED with a resultDocumentId. Your IDs will differ, and a slower task prints one or more IN_PROGRESS lines before the final one.

The default output renders tables as Markdown pipes. The downloaded invoice.md should look like the following:

# INVOICE

Foxit DocGen API Sample Template

Bill To: Meridian Financial Group
Invoice Number: INV-00471
Invoice Date: 01/15/2024

| # | Description | Qty | Unit Price | Line Total |
| --- | --- | --- | --- | --- |
| 1 | API Integration Consulting | 10 | $ 150.00 | $1,500.00 |
| 2 | Compliance  Review | 5 | $ 200.00 | $1,000.00 |
|  |  |  | Subtotal: | $2,500.00 |

## Total Due: $2,500.00

Thank you for your business. Payment is due within 30 days of the invoice date.

Common mistakes. These are the failures a first run most often hits:

  • Wrong client ID or secret : The upload returns "allow":false with a reason such as Invalid credentials, and the script prints Upload failed and stops. Copy both values again from the console, without surrounding spaces or quotes, and re-run the export lines.
  • No credits left: If the sample upload returns "allow":false, the script prints Upload failed and stops. Check Credits Remaining in the dashboard. Credit-consuming processing calls pause when the balance reaches 0; restore credits through an upgrade, a purchased top-up, or the annual reset. Error responses can differ by endpoint.
  • jq not installed : The script prints Upload failed: followed by a response that contains a documentId, then stops. The upload worked, but the script can’t read the JSON without jq. Run jq --version, and install jq from the Prerequisites if it fails.

What to consider. There is no chunking, embedding, or connector layer in the API. Office files and scans each take 2 API calls (convert or OCR, then parse). Credits are sold as a yearly pool rather than pay as you go, so unused credits raise your effective per-request cost. Email is not supported. The 15 requests-per-minute sandbox rate limit will constrain bulk testing.

Best for. PDF-heavy pipelines with long documents that also convert, OCR, or redact files, and where per-request billing improves the economics over per-page pricing.

Getting started. Create a free Foxit developer account and turn your first PDF into Markdown or structured JSON with the PDF Services API. The free Developer plan includes 500 credits a year, no credit card required. See our PDF Structural Extraction tutorial and invoice extraction guide to get started.

LlamaParse

LlamaParse product page showing a complex document with tables and charts converted into clean Markdown output

LlamaParse’s product page on the LlamaIndex site.

LlamaParse (by LlamaIndex, formerly LlamaCloud) is a managed parsing service with 130+ supported formats, 4 price tiers, and source connectors on paid plans. 

It covers more of Unstructured’s pipeline than a parser-only API, including an optional managed Index that chunks and embeds.

Feature

Details

Covers

Parsing (plus Extract, Classify, and Split), a managed Index that chunks and embeds, and connectors on paid plans.

Inputs

130+ formats, including PDF, DOCX, PPTX, XLSX, HTML, images, and audio. No email format is documented.

Outputs

Per-page and full-document Markdown and text, plus a typed items tree (text, heading with level, table, image, list, code, link, header, footer) with bounding boxes in page points. Tables are available as HTML with merged cells, CSV, or Markdown, and an XLSX of all tables.

Scans and tables

OCR runs automatically on pages without a text layer, with more than 80 language codes. Tables keep cell structure, with an option to merge tables that continue across pages. The Fast tier runs no AI model.

Chunking

Parse includes no chunking. Index v2 chunks and embeds for you with fixed settings (sentence-based, 1,024 tokens, 200-token overlap) and cannot write to your own vector store.

Pricing

$1.50 per 1,000 credits on pay as you go and $1.25 on Pro. Parse tiers: Fast 1, Cost-effective 3, Agentic 10, and Agentic Plus 25 credits a page, or about $1.25, $3.75, $12.50, and $31.25 per 1,000 pages at the Pro rate. Pro costs $500 a month for 400,000 credits. Free: 10,000 credits a month. Enriched forms output (Beta) adds 10 credits per page containing a form on Cost-effective, is included in the page price on Agentic and Agentic Plus, and is unavailable on Fast.

Limits and deployment

Parse takes 512 MB and 10,000 pages per job by default. Concurrent jobs: 5 on pay as you go, 20 on Pro, 100 on Enterprise. SaaS in AWS us-east-1 and eu-central-1. BYOC and self-hosted on Enterprise. Source files and the parse cache are kept 48 hours. SOC 2 Type II and HIPAA compliant, with a BAA on Enterprise.

Moving from Unstructured

heading maps to Title, text to NarrativeText, list to ListItem, and table HTML to text_as_html. Pin a tier and a dated version on every request, and use the llama-cloud 2.x SDK (llama-parse is deprecated). Google Drive, SharePoint, S3, and Confluence connectors replace some Pipelines sources.

Where LlamaParse stands out. Tiers let you route easy pages down a cheap path (Fast at $1.25 per 1,000 on Pro) and complex pages up an expensive one (Agentic Plus at $31.25 per 1,000 on Pro), which can reduce cost on mixed corpora. Connectors plus the managed Index cover more of Unstructured’s pipeline than any parser-only API in this list. LlamaIndex launched its own OCRia-1 model on 22 Oct 2026, and it now runs Cost-effective and Agentic jobs at the same prices.

What to consider. The Fast tier runs no AI model and returns raw text or layout-preserving spatial text, so pick Cost-effective or higher when you need clean Markdown. Index v2 chunking cannot be configured or pointed at your own vector store. Email formats are not documented. The HIPAA BAA scope is Enterprise only, so teams with PHI must confirm the plan level before sending protected documents.

Best for. Teams that want a managed service to replace parsing and part of the ingestion plumbing, especially with Google Drive or SharePoint sources.

Getting started. LlamaParse pricing and sign-up. The free plan includes 10,000 credits a month.

Reducto

Reducto home page with the headline Turn documents into data and a Try for free button

Reducto’s home page.

Reducto is a parsing API with built-in chunking and an r-1 model for complex documents. Parse, Extract, Split, Classify, and Edit all sit behind one API and one authentication credential.

Feature

Details

Covers

Parse with built-in chunking, plus Extract, Split, Classify, and Edit on the same API. No connectors.

Inputs

30+ file types, including PDF, DOCX, DOC, TXT, XLSX, XLS, CSV, PPTX, PPT, HTML, and common image formats. Email (.eml and .msg) is documented for on-premises deployments only.

Outputs

Chunks with Markdown content, an embedding-optimized version, and blocks (Title, Section Header, Header, Footer, Text, Table, Figure, Key Value, List Item, Checkbox) with boxes normalized to 0 to 1 and a confidence value. Tables are available as dynamic (Markdown or HTML), HTML, Markdown, JSON, or CSV.

Scans and tables

r-1 targets scans, handwriting, merged cells, and nested headers. Legacy Parse’s standard OCR engine lists 60+ languages, while r-1 publishes no language count.

Chunking

6 modes: disabled (default), variable (recommended for RAG, where a chunk_size of 1000 yields 750 to 1,250 characters), section, page, page_sections, and block, with optional overlap and embedding-optimized table summaries.

Pricing

Per 1,000 pages: r-1 Parse $10 with OCR data and citations included, and r-1 mini Parse $1 (OCR data and citations add $1). Legacy Parse $15 standard and $30 complex (2x in agentic modes), with OCR included. Extract $20 including parsing (over 100 fields per page may incur a surcharge), and the batch queue takes 20% off Parse and Extract. Prompted blocks and custom regions on r-1 and r-1 mini cost $5 per 1,000 blocks. Free: $150 of usage on the Standard plan.

Limits and deployment

100 MB direct upload, 5 GB with a presigned upload. No page limit on Standard. Up to 1,000 requests a second per key (300 for job-status polling). Synchronous calls time out at 15 minutes, and results are generally available for 12 hours. SaaS on AWS. EU residency from Growth. Hybrid VPC, full VPC, and on-premises on Enterprise. SOC 2 Type II and HIPAA compliant on all tiers, with a BAA and no training on customer data from Growth up.

Moving from Unstructured

Chunks replace chunk-by-title output, and blocks replace elements (Section Header for Title, Text for NarrativeText, List Item for ListItem). Coordinates become normalized boxes rather than pixel points. No LangChain or LlamaIndex loader is documented, so call the Python, Node.js, or Go SDK (the /pipeline endpoint is deprecated).

Where Reducto stands out. Chunks and embedding-ready table summaries come back from the parse call itself, removing a separate chunking step. The r-1 model targets complex layouts including handwriting, merged cells, and nested headers, and r-1 mini offers a lower-cost path at $1 per 1,000 pages. Qualified new customers moving from another provider can apply to Reducto for up to $5,000 in migration credits.

What to consider. When settings.model is unset, Parse runs legacy Parse until 7 Dec 2026 and r-1 after that, so set settings.model to "legacy" if you need the old pipeline’s output to stay stable. No managed source-sync connectors or LangChain/LlamaIndex loaders are documented.

Best for. RAG pipelines with complex PDFs that want chunks and embedding-optimized table summaries returned from the parser itself.

Getting started. Sign up on the Reducto site. The free grant covers your first documents, and Reducto’s docs cover the r-1 model and chunking methods.

Docling

Docling documentation home page with a diagram converting PDF, DOCX, PPTX, and HTML files into JSON, Markdown, and chunks

Docling’s documentation home page.

Docling, an LF AI and Data project started at IBM Research, is an open-source option for replacing the unstructured library. 

Docling Serve adds a REST API with chunk endpoints. Check the release history when choosing a version to pin.

Feature

Details

Covers

Open-source replacement for the unstructured library, covering conversion, layout, tables, OCR, and chunking, with Docling Serve as a REST API. Connectors available through Docling Jobkit.

Inputs

PDF, DOCX, XLSX, and PPTX (legacy DOC, XLS, PPT, and RTF need LibreOffice), HTML and MHTML, .eml and .msg email, EPUB, Markdown, AsciiDoc, LaTeX, CSV, images, audio and video (with the asr extra), and XML formats such as USPTO and JATS.

Outputs

Markdown, HTML, text, DocTags, lossless JSON (DoclingDocument) with bounding boxes and provenance, and chunks as JSONL. Labels include title, section_header, text, list_item, table, picture, caption, formula, code, page_header, page_footer, and checkbox states.

Scans and tables

Pluggable OCR engines (RapidOCR, EasyOCR, Tesseract, macOS Vision, and others); TableFormer in accurate (default) or fast mode; an optional VLM pipeline with GraniteDocling and other presets. Remote services run only with enable_remote_services=True.

Chunking

HybridChunker (token-aware, on top of hierarchical chunking, repeats table headers), HierarchicalChunker (one chunk per element, merging list items by default), and LineBasedTokenChunker; Docling Serve exposes hybrid and hierarchical chunk endpoints.

Pricing

Free under the MIT license, with model licenses kept separate (Heron and GraniteDocling Apache-2.0, TableFormer CDLA-Permissive-2.0). Docling for IBM watsonx, a managed service, starts at $4 per 1,000 pages pay as you go.

Limits and deployment

Python 3.10 or later on macOS, Linux, and Windows. Docling Serve ships CPU and CUDA images with async endpoints and no default file-size or page cap. Runs air-gapped with prefetched models. The IBM service caps files at 500 MB.

Moving from Unstructured

LangChain’s DoclingLoader and LlamaIndex’s Docling Reader and Node Parser replace Unstructured’s loaders. Labels and the document tree differ (body vs. furniture, groups), and tables arrive as cell grids rather than text_as_html.

Where Docling stands out. Its support for .eml and .msg email, EPUB, and legacy Office files with LibreOffice is useful for mixed-format corpora. Documents stay on your infrastructure when you use local models. LangChain and LlamaIndex integrations provide a starting point for replacing your loader, but you still need to adapt the output schema.

What to consider. You run and scale it. Legacy Office formats (.doc, .xls, .ppt, .rtf) need LibreOffice installed alongside. Default settings may need tuning for scans and charts; in Moda’s 6 Sep 2026 untuned run on its synthetic test set, Docling missed some chart labels. Pin versions, since that release pace can change output between upgrades.

Best for. Teams leaving the unstructured library that want to keep document processing on their own machines, especially with email or legacy Office formats.

Getting started. Docling on GitHub and the Docling Serve docs. Free and MIT-licensed; install with pip install docling.

Marker and Datalab

Datalab home page showing a parsed 10-K page with detected headings and tables outlined in labeled boxes

Datalab’s home page, with a parsed sample document.

Marker is an open-source document converter with Apache-2.0 code and separately licensed model weights. 

Datalab provides a hosted Convert API using Chandra and other models. Chandra 2.6 runs the hosted fast, balanced, and accurate modes; lite is a separate lower-cost mode at $0.50 per 1,000 pages.

Feature

Details

Covers

An open-source converter (Marker) and a hosted Convert API (Datalab) that return Markdown, JSON, HTML, or chunks. Datalab Collections supports S3 sync.

Inputs

Marker reads PDF, images, PPTX, DOCX, XLSX, HTML, and EPUB (non-PDF files need the full install), and the hosted API adds ODT, ODS, ODP, XLSM, and more. No email formats.

Outputs

Markdown, a JSON block tree with block types (SectionHeader, Table, Form, Equation, PageHeader, PageFooter, Footnote, Code) and polygons, HTML, and chunks (top-level blocks per page, each with its HTML).

Scans and tables

Marker 2.0 runs layout, OCR, and tables through a surya VLM (vLLM on NVIDIA GPUs, llama.cpp elsewhere), with an optional LLM pass. Hosted fast, balanced, and accurate modes run Chandra 2.6, and hosted OCR covers 90+ languages.

Chunking

A chunks output format only, with no chunk-size settings.

Pricing

Hosted Convert per 1,000 pages: lite $0.50 (CPU OCR, added 22 Oct 2026), fast and balanced $4, accurate $10; EU processing adds 25%. Team costs $400 a month. Free usage: $20 a month on a work email or $10 on a personal email. Commercial self-hosted use requires a license above $5M in prior-year gross revenue or total funding for Marker ($2M for Chandra), or for competing products, with personal/research exceptions applying to the financial thresholds.

Limits and deployment

Hosted: 200 MB per file, 7,000 pages per request, 15,000 pages in flight per team by default, and results deleted about 1 day after processing. VPC, on-premises, and air-gapped on Enterprise. SOC 2 Type II compliant, with BAAs on Team and Enterprise.

Moving from Unstructured

Chunks replace chunk-by-title output only loosely (no size control); LlamaIndex has a PDFMarkerReader for local Marker. Basic conversion uses Convert. The custom processor endpoints were deprecated with a 31 Oct 2026 sunset, so run custom processors through /api/v1/agent.

License history. Marker 2.0.0 code is Apache-2.0, while marker-pdf 1.x on PyPI was GPL-3.0-or-later. The hosted Chandra 2.6 model differs from open-source Chandra 0.2.0, so a local test does not predict hosted output.

Where Marker and Datalab stand out. You can choose local conversion or a hosted API, with Markdown, JSON, and chunks available in both. Shared format names do not make the integrations interchangeable: check the response schema and output on your documents before switching. Lite offers a $0.50-per-1,000-page path for straightforward scans.

What to consider. The weights license thresholds and competing-product clause apply to commercial self-hosting, so review them if you run your own infrastructure at scale. Lite mode drops images and can lose complex table structure. The chunks output format has no size control.

Best for. Markdown-first conversion pipelines that need a choice between self-hosting and a hosted per-page price, especially for straightforward scanned documents.

Getting started. Sign up on the Datalab site. The free tier includes $20 a month on a work email.

Mistral OCR

Mistral OCR product page with sample tabs for contracts, tables, invoices, and handwriting

Mistral’s Document AI and OCR page.

Mistral OCR (OCR 4.1) converts documents to per-page Markdown with blocks, bounding boxes, and confidence scores. 

The Batch API halves the price for non-latency-sensitive workloads. OCR 4.0 retired on 30 Sep 2026, so pin model names.

Feature

Details

Covers

OCR and document structure to Markdown, with optional schema annotations. No chunking or connectors in the OCR API.

Inputs

PDF, DOCX, DOC, PPTX, PPT, XLSX, CSV, TXT, EPUB, RTF, ODT, and images (JPEG, PNG, AVIF, TIFF, GIF, HEIC, BMP, WebP). No HTML or email in the OCR API.

Outputs

Per-page Markdown plus images, tables, hyperlinks, header and footer; optional blocks in reading order with labels (text, title, list, table, image, equation, caption, code, header, footer, signature) and paragraph-level boxes; confidence at page, block, or word level; tables inline or separate as Markdown or HTML.

Scans and tables

OCR on scans and images. OCR 4 supports 170 languages and performs strongly in more than 40.

Chunking

The OCR API includes no chunking. Mistral’s separate Search Toolkit (beta, v0.2.0) adds Markdown and token splitters plus HTML and EML or MSG extractors.

Pricing

OCR 4.1: $4 per 1,000 pages, $2 with the Batch API, $5 per 1,000 annotated pages. OCR 3 (mistral-ocr-2512) is still GA at $2 and $3. Regional inference endpoints exclude the Batch and Files APIs. No free page allowance is published.

Limits and deployment

50 MB and 1,000 pages per document. OCR 4 is not intended for “real-time/latency-sensitive processing”. Hosted API plus Amazon SageMaker and Microsoft Foundry; self-managed deployment for enterprise customers. Uploaded files are kept 30 days unless deleted; zero data retention on the OCR endpoint excludes the Files API and batch files; Free mode may use inputs for training.

Moving from Unstructured

Per-page Markdown replaces partition output; map block labels to element types; chunk in your own code or with the Search Toolkit. Pin model names on every request since OCR 4.0 retired on 30 Sep 2026.

Where Mistral OCR stands out. One page price already includes blocks, boxes, and confidence at $4 per 1,000 pages, halved to $2 with the Batch API. That makes large batch conversions to Markdown competitive with Azure Layout and Google Layout Parser for teams that already own chunking and orchestration.

What to consider. The API includes no chunking. HTML and email are not supported as inputs. OCR 4 is not designed for latency-sensitive calls. Models retire quickly, so pin model on every request. Zero data retention requires an approved request and has scope limits. No free page allowance is published.

Best for. Large batch conversions to Markdown where you already own chunking and orchestration, and want block-level structure with confidence scores.

Getting started. Mistral API pricing and sign-up. Credits are pay as you go with no free OCR page allowance.

Azure Document Intelligence

Azure Document Intelligence in Foundry Tools product page, noting it is now part of Azure Content Understanding

Azure Document Intelligence’s product page.

Azure Document Intelligence in Foundry Tools (API v4.0, 2024-11-30), previously called Form Recognizer, is now part of Azure Content Understanding. The Layout model returns Markdown with HTML tables and is the primary pick for RAG pipelines on Azure.

Feature

Details

Covers

Layout parsing to Markdown, plus Read OCR. No chunking or connectors in the service.

Inputs

PDF, JPEG, PNG, BMP, TIFF, HEIF, DOCX, XLSX, PPTX, and HTML for Layout; Office and HTML text is extracted as is, without embedded images. No email.

Outputs

Markdown output (outputContentFormat=markdown) with HTML tables for merged cells and multirow headers in v4.0; JSON with paragraphs and roles (title, sectionHeading, footnote, pageHeader, pageFooter, pageNumber), lines and words with polygons, selection marks, tables with spans, figures, and sections.

Scans and tables

OCR covers 300 printed-language/script entries and 12 handwritten languages; high-resolution, font, and formula add-ons cost $6 per 1,000 pages; tables that span pages need splitting and stitching; tables in XLSX files are not analyzed.

Chunking

The service includes no chunking. Microsoft’s RAG guide pairs AzureAIDocumentIntelligenceLoader with LangChain’s MarkdownHeaderTextSplitter.

Pricing

East US, per 1,000 pages: Layout $10 (batch costs the same), Read $1.50, then $0.60 above 1 million pages; Azure cloud commitment tiers start at $190 a month for 20,000 prebuilt pages. Free F0 tier: 500 pages a month, analyzing only the first 2 pages of each document.

Limits and deployment

S0: 500 MB and 2,000 pages per analysis; 15 analyze requests a second by default (adjustable); asynchronous. Inputs and results are deleted 24 hours after you submit the analyze request. Read and Layout v4.0 containers, including disconnected containers on commitment plans.

Moving from Unstructured

Layout Markdown replaces partition output for RAG; paragraph roles map to Title, Header, Footer, and PageNumber; chunk with MarkdownHeaderTextSplitter. Document Intelligence is now part of Azure Content Understanding, whose LLM-powered analyzers (GA API 2025-11-01) add segmentation worth evaluating alongside Layout.

Where Azure Document Intelligence stands out. Markdown with HTML tables arrives straight from the service, with no post-processing needed for merged cells and multirow headers. DOCX, XLSX, PPTX, and HTML inputs expand the file coverage beyond PDF. Read and Layout v4.0 containers let environments that cannot call a cloud API run the models on-premises.

What to consider. The service includes no chunking, and tables that span pages need stitching in post-processing. The free tier reads only the first 2 pages of each document, which limits its usefulness for testing complex layouts.

Best for. RAG pipelines on Azure that want Markdown and HTML tables without running models, and need container deployment for data-residency requirements.

Getting started. Azure Document Intelligence pricing. The free F0 tier includes 500 pages a month.

Google Document AI Layout Parser

Google Cloud Document AI product page with the headline Document AI, parse, and process documents at scale

Google Cloud’s Document AI product page.

Google Document AI Layout Parser parses documents into a layout tree and chunks them for RAG in the same call. The stable version is v1.0 (2024-06-03). 

Gemini-powered versions are available as release candidates or previews, so choose the processor version explicitly.

Feature

Details

Covers

Layout parsing with built-in chunking for RAG; Enterprise Document OCR for images and scans. No connectors.

Inputs

PDF, HTML, DOCX, PPTX, XLSX, and XLSM (GA and charged; other types are in free preview). Enterprise Document OCR takes PDF, GIF, TIFF, JPEG, PNG, BMP, and WebP. No email.

Outputs

A document layout tree and chunked_document.chunks; PDF elements are figure, paragraph, table, title, heading, page header, and page footer (HTML adds lists); optional bounding boxes and image or table annotations.

Scans and tables

Enterprise Document OCR reads printed and handwritten text in more than 200 languages; PDF tables that span pages “might be split in two tables”; nested DOCX tables are not supported.

Chunking

chunkingConfig with chunkSize in tokens and includeAncestorHeadings; chunks carry ancestor headings and table headers; re-chunking parsed documents costs $0.02 per 1,000 billable pages (up to 3,000 characters each).

Pricing

Layout Parser $10 per 1,000 pages including initial chunking, or $9 and $8 on 1- and 3-year savings plans. Enterprise Document OCR: first 1,000 pages free, then $1.50 per 1,000 up to 5 million.

Limits and deployment

Online: 20 MB and 15 pages per PDF (30 in imageless mode). Batch: 500 pages and 1 GB per PDF; jobs still running after 24 hours are canceled. US and EU multi-regions. Document AI is FedRAMP High and HIPAA compliant, and Google does not use customer content to improve its models.

Moving from Unstructured

Chunk by title maps most closely to chunkSize with includeAncestorHeadings. Only v1.0 (2024-06-03) is stable; the Gemini versions are release candidates or preview, and the v1.6 versions use a global endpoint that does not meet data-residency standards. LangChain’s DocAIParser is OCR-oriented.

Where Google Document AI Layout Parser stands out. Chunking with ancestor headings is included in the $10 per 1,000 pages parse price. That token-aware chunking with inherited heading context removes a separate chunking step for pipelines on Google Cloud.

What to consider. The Gemini processor versions are not stable. Online requests allow only 15 pages (30 in imageless mode), which rules them out for long document analysis outside batch. Layout Parser runs as a Google Cloud processor in the US and EU multi-regions, so if documents must stay on your own infrastructure, shortlist the tools with documented container or self-hosted deployment.

Best for. RAG pipelines on Google Cloud that want token-aware chunks with ancestor headings.

Getting started. Document AI Layout Parser docs and Document AI pricing. Layout Parser has no free page allowance, while Enterprise Document OCR includes the first 1,000 pages free.

What changes when you move off Unstructured

Picking a parser is the easy part. Everything downstream that expects Unstructured’s element types, chunk boundaries, file coverage, and billing math changes when you switch.

How elements and metadata map across tools

Every alternative uses different element types, different field names, and different coordinate systems. 

The mapping table below uses our PDF Structural Extraction as the worked example, because its reference documents every element type. The same mapping exercise applies to every tool in this list.

Unstructured

Foxit PDF Structural Extraction

What changes

Title, with category_depth for levels

title, and head for section headings with levels

Heading depth comes from head levels instead of category_depth

NarrativeText

paragraph

Same role; paragraphs also carry styling

ListItem

No list type among the 12 documented types

No list type among the 12 documented types. Check how lists appear in your output and add list-detection logic where needed.

Table, with metadata.text_as_html

table, with cell relationships and headers

Read the cell grid, or ask PDF to Markdown for HTML_TABLE output

Header, Footer, PageNumber

headerFooter

One type for page furniture; PDF to Markdown drops it unless includeHeaderFooter is true

Image and FigureCaption

image, with files in the ZIP

Images arrive as files referenced from the JSON

Formula

formula

Same role

FormKeysValues for form key-value pairs

form, with field types and values

Map the different form representations explicitly

metadata.coordinates (PixelSpace points)

A bounding box per element

Normalize coordinate systems before you store citations

parent_id

parenthead, level, and headOrder on head elements

Rebuild parent links from parenthead, level, and headOrder on head elements

One JSON list of elements

A ZIP with JSON (schema v1.0.7), images and table renditions

Unzip, then parse

The closest equivalents elsewhere are LlamaParse items (heading, text, list, table, header, footer), Reducto blocks (Section Header, Text, List Item, Table, Key Value), Docling labels (section_header, text, list_item, table, page_header), Azure paragraph roles (title, sectionHeading, pageHeader, pageFooter), Mistral block labels (title, text, list, table, header, footer), and Datalab block types (SectionHeader, Table, Form, PageHeader, PageFooter).

Moda’s 6 Sep 2026 output-contract test shows what this means in practice. On its synthetic mixed-layout page, Unstructured returned checklist lines as NarrativeText while Docling labeled them checkbox_selected or checkbox_unselected, so any code that branches on element type behaves differently after the switch.

Build an explicit type map and a table adapter before switching. A find-and-replace on field names is a rename, not a migration.

Where chunking lives in each tool

Unstructured chunks elements by character, title, page, or similarity, with contextual chunking available in Pipelines. The open-source library lacks by-page and by-similarity chunking. Each alternative puts chunking somewhere different.

Tool

Where chunking happens

Closest to chunk by title

Foxit PDF Services API

Your code or framework, on Markdown or ordered elements

Split PDF to Markdown output on headings

LlamaParse

Index v2 with fixed settings, or your code

Your code on per-page Markdown

Reducto

The parse call, using variable, section, page, page_sections, or block mode

section mode

Docling

HybridChunker, HierarchicalChunker, or LineBasedTokenChunker, also in Docling Serve

HybridChunker

Marker and Datalab

A chunks output format, no size settings

chunks output

Mistral OCR

Your code, or the Search Toolkit splitters (beta)

The toolkit’s Markdown splitter

Azure Document Intelligence

Your code; Microsoft’s guide uses MarkdownHeaderTextSplitter

MarkdownHeaderTextSplitter

Google Document AI Layout Parser

The processor: chunkSize in tokens, includeAncestorHeadings

chunkSize with ancestor headings

Sizes are measured differently across tools. Unstructured and Reducto use characters, Google uses tokens, and Docling’s HybridChunker works through a tokenizer, so the same number produces different chunks depending on the tool.

Chunk boundaries and IDs change with any parser switch, so plan a full re-index rather than mixing old and new chunks in one index.

If chunk-by-title quality is why you chose Unstructured, shortlist the tools that chunk on document structure (Reducto, Docling, Google Layout Parser), or keep your own chunker and swap only the parser.

Which file types each alternative reads

The unstructured library supports more file types than the Transform API. Before choosing, count your files by extension.

Tool

PDF and images

Word, PowerPoint, Excel

HTML

Email (.eml, .msg)

Unstructured library (baseline)

Yes

Yes, including .doc, .ppt and .xls

Yes

Yes

Unstructured Transform API (baseline)

Yes

.docx and .pptx only

No

No (the Transform MCP server accepts both)

Foxit PDF Services API

Yes; images convert to PDF first

Convert to PDF first

Convert to PDF first

No

LlamaParse

Yes

Yes

Yes

Not documented

Reducto

Yes

Yes

Yes

On-premises deployments only

Docling

Yes

Yes; legacy formats need LibreOffice

Yes

Yes

Marker and Datalab

Yes

Yes

Yes

No

Mistral OCR

Yes

Yes

No

No (Search Toolkit extractors only)

Azure Document Intelligence (Layout)

Yes

.docx, .pptx and .xlsx

Yes

No

Google Document AI Layout Parser

PDF; images through Enterprise Document OCR

.docx, .pptx, .xlsx and .xlsm

Yes

No

Our convert-then-parse route costs 2 credits per non-PDF file. Azure counts Word and HTML files at 1 page per 3,000 characters. Unstructured counts most files other than PDF, PPTX, TIFF, and DOCX with page metadata at 1 page per 100 KB, so by our calculation a 2,000 KB JPEG bills as 20 pages.

For formats the 8 tools handle poorly, 2 libraries are useful references rather than picks. Apache Tika (4.2.0, Apache-2.0) reads “over a thousand different file types,” and Microsoft MarkItDown (v0.1.9, MIT) is a lighter option to compare against.

One folder of emails or legacy Office files can decide the pick on its own.

Per page or per request

Billing units differ across every tool in this list. Per-request billing favors long PDFs and per-page billing favors short files.

Tool

Billing unit

Example list price

Free allowance

Unstructured Transform Pay-As-You-Go (baseline)

Page; most non-PDF files by 100 KB of size

$0.015 a page, or $15 per 1,000 pages

10,000 pages once per account

Foxit PDF Services API

Request (1 credit), any page count within limits

Business: $4,500 a year for 15,000 credits, or $0.30 per request when all are used

500 credits a year

LlamaParse

Credits per page by tier

Cost-effective: $3.75 per 1,000 pages on Pro

10,000 credits a month

Reducto

Pages, priced per product

r-1 Parse: $10 per 1,000 pages; r-1 mini: $1

$150 of usage

Docling

No charge when self-hosted

Your compute; IBM’s managed service $4 per 1,000 pages

Unlimited on your hardware

Marker and Datalab

Pages, priced per mode

Balanced: $4 per 1,000 pages; lite: $0.50

$20 a month on a work email

Mistral OCR

Pages

OCR 4.1: $4 per 1,000 pages, or $2 with batch

None published

Azure Document Intelligence

Pages, priced per model

Layout: $10 per 1,000 pages

500 pages a month, 2 pages per document

Google Document AI Layout Parser

Pages, priced per processor

$10 per 1,000 pages, chunking included

First 1,000 OCR pages

Worked example, long document. A 200-page PDF costs $3.00 on Unstructured Transform and 1 credit on our API, allocated at $0.30 with full use of the Business plan’s 15,000 annual credits or $0.35 on Startup. The same file costs $0.75 on LlamaParse Cost-effective at the Pro rate, $2.00 on Reducto r-1, Azure Layout, or Google Layout Parser, and $0.80 on Mistral OCR 4.1 or Datalab balanced, or $0.40 with Mistral’s Batch API. These are list-price calculations, not comparisons of equivalent output or parsing quality.

Worked example, short document. A 2-page PDF costs $0.03 on Unstructured Transform and still 1 credit on our API, against $0.0075 on LlamaParse Cost-effective, $0.008 on Mistral OCR 4.1, and $0.02 on Reducto r-1, Azure, or Google.

Where the lines cross. At $0.30 a request, our API matches Unstructured Transform at 20 pages, Reducto r-1, Azure Layout, and Google Layout Parser at 30 pages, Mistral OCR at 75 pages, and LlamaParse Cost-effective at 80 pages. We calculated these crossovers from list prices, assuming full use of the annual credit pool. Unused credits raise the effective cost.

Line chart comparing per-request and per-page costs by PDF length, with crossover points at 20, 30, 75, and 80 pages

List-price arithmetic for one document. The flat line assumes full use of the Business plan’s annual credits.

Our paid plans are yearly credit pools. Most per-page APIs in this list are pay as you go. If your volume is unpredictable, that commitment structure changes the economics. See Credits Explained for the precise billing rules, including which calls are not billed.

Estimate cost from your real page-count distribution.

What stays behind in Unstructured

A new parser doesn’t replace Pipelines. These are the layers you keep owning yourself, or keep paying Unstructured for, after the parser changes.

Connectors and sync. Pipelines reads from sources such as S3, SharePoint, Google Drive, and Confluence, with change detection and incremental processing. Among the picks, LlamaParse has 4 connectors that sync about once a day on paid plans, IBM’s managed Docling service lists its own connectors, Docling Jobkit supports sources, and Datalab Collections supports S3 sync. Parser-only routes need your own orchestration for everything else.

Embeddings and enrichment. Unstructured Pipelines embeds with providers such as OpenAI, Bedrock, VoyageAI, and IBM, and can describe tables and images. Most alternatives stop at parsed output. LlamaParse’s Index v2 embeds only into its own managed store.

Scheduling, retries, and monitoring. Pipelines runs workflows as jobs with built-in scheduling. With a parser-only API, your orchestrator owns retries and alerts.

Compliance scope. Unstructured’s SOC 2 Type 2, ISO 27001, HIPAA, and FedRAMP High coverage, listed earlier, may not carry over to the tool you pick. Compare each alternative’s claims for the plan you would actually buy, not the enterprise tier.

When to keep Unstructured

Keep Unstructured Pipelines if you rely on its source sync from systems such as SharePoint, Confluence, or Slack, or on its enrichment and embedding workflow and a replacement would leave those needs unmet. Check email and legacy-format support before switching, and confirm that the replacement meets your compliance requirements, including FedRAMP High where needed. Replace the layer that fails, not the pipeline that works.

Building a parsing pipeline on the PDF Services API

If the parser is the layer that fails, the PDF Services API slots in at the parsing step and leaves the rest of your pipeline in place. Each file follows the same path. 

Upload it, convert or OCR it first if it isn’t a text-layer PDF, submit PDF to Markdown or PDF Structural Extraction (Trial), poll the task, download the Markdown or ZIP, and hand the result to your chunker.

Flow diagram of a PDF moving through upload, optional convert or OCR, parse, poll, and download, with credits per step

Only the operation calls use credits. Uploads, polling, and downloads are free.

Parsing shares a credit pool with other PDF operations. Convert Office files, images, HTML, and Markdown to PDF before parsing, split long files, and redact sensitive content using text matching, rectangle regions, or form-field targeting before it reaches an index. That covers the pre-processing pipeline without switching APIs or billing systems. Our conversion walkthrough shows the DOCX-to-PDF path, and our text extraction tutorial covers the text extraction route.

The API has no chunking, embedding, or connector layer, so pair the output with your own chunker and orchestrator. Elements arrive in reading order, which means heading-based splitting on title and head elements works without reordering. Our structured JSON tutorial shows how to work with the Structural Extraction output.

Our MCP server exposes structural analysis, extraction, and OCR tools to agents. Our MCP server walkthrough covers the 30+ PDF tools it gives AI agents and the integration details.

Plans and credits. The free Developer plan needs no credit card. See Foxit API pricing for plan details, or Credits Explained for how credits are counted.

What else to know before you switch from Unstructured

This section answers 3 practical questions that come up in the transition.

UnstructuredLoader ships in the langchain-unstructured package. Docling has an official DoclingLoader for LangChain and a Docling Reader and Node Parser for LlamaIndex. Azure has AzureAIDocumentIntelligenceLoader. Google has DocAIParser, which is OCR-oriented. For LlamaParse, the documented pattern wraps each parsed page in a LangChain Document using the llama-cloud SDK.

Reducto, Datalab, and our PDF Services API have no documented LangChain or LlamaIndex loader. For those tools, and for Mistral OCR, check your framework’s integration list or call the SDK or REST API and build Document objects yourself.

You can route by file type or page complexity, sending emails and legacy Office files to Docling or Unstructured, long PDFs to a per-request API, and hard scans to a VLM tier. Normalize every output into one element schema, and chunk in one place so retrieval behaves consistently. Maintaining multiple parsers adds real cost and complexity, but so does forcing all your documents through a single parser that handles some of them poorly.

Router sending emails, long PDFs, and hard scans to different parsers, then into one schema, one chunker, and an index

One router, one element schema, and one chunker keep retrieval consistent across parsers

Published results only go so far. Moda ran 4 synthetic PDFs and the 48-page NIST AI RMF PDF on 6 Sep 2026, and Unstructured OSS 0.27.5 reached 98.3% macro literal recall on the synthetic set, alongside the NIST result described in the introduction. A March 2025 Procycons test of an older Unstructured version measured 75% cell accuracy on 1 sampled complex table. Both are single-run observations with specific dates and document sets, not general benchmarks, so build your own test set.

Keep 20 to 50 of your hardest documents, especially ones that already fail. Run them through Unstructured and 1 or 2 candidates. Compare element types, table cells, chunk boundaries, and answers to a fixed set of questions, plus cost at your real page counts. That comparison on your actual documents is more reliable than any synthetic benchmark

8 Best Amazon Textract Alternatives for Document Data Extraction

Developer reviewing invoice data extraction to JSON beside an API pricing comparison for Amazon Textract alternatives

Leaving Amazon Textract? First check whether a cheaper Textract API already solves your cost problem. This guide compares 8 AWS Textract alternatives on pricing, language coverage, limits, and data terms, so you can match each API to the calls your pipeline makes.

If your Textract bill is higher than expected, check which API you’re calling before switching vendors.

For invoice fields, AnalyzeExpense costs $0.01 per page, compared with $0.07 for AnalyzeDocument with Forms, Tables, and Queries enabled. 

At 100,000 single-page invoices a month, that’s $1,000 vs. $7,000 (our arithmetic from AWS list prices, US East). Check that AnalyzeExpense returns the fields your pipeline needs before changing APIs.

There are real reasons to leave, though. Textract reads printed text in more than 40 languages, but Forms key-value extraction covers only 6 of them, and handwriting, Queries, AnalyzeExpense, and AnalyzeID are English only. 

AnalyzeID reads only US passports and US driver’s licenses. Synchronous calls take a single page, and Amazon Augmented AI (A2I), the human-review integration for Textract, closed to new customers on 30 Jul 2026. Some teams also want schema-based extraction, a specific data-residency posture, or pricing that doesn’t compound by feature combination.

In this article, we compare 8 Amazon Textract alternatives based on their extraction features, pricing, usage limits, deployment options, and migration requirements. 

Some return document structure; others extract named fields. The right replacement depends on which Textract APIs your pipeline uses.

Our top picks by reason for switching

The best alternatives to Amazon Textract depend on why you’re leaving. 

Azure Document Intelligence and Google Document AI cover the broadest set of Textract workflows, with prebuilt models at $10 per 1,000 pages on Azure and the Custom Extractor at $30 per 1,000 pages on Google, while the Foxit PDF Services API, Mistral OCR, and Amazon Bedrock Data Automation offer different billing models that favor long documents, high volume, or staying on AWS. 

For teams that can’t move documents off their own infrastructure, Docling is the only open-source option here you can run with no vendor contract.

Because AnalyzeExpense already matches or undercuts most options here on 1-page invoices, the strongest arguments for switching are language coverage, schema extraction, data terms, or long-document pricing rather than invoice cost reduction.

Each API appears once, under the reason it fits best. List prices in US regions at first pricing tier.

If you are leaving Textract because…

Pick

Why it fits

Long PDFs get billed per page at the selected feature-combination rate

Foxit PDF Services API

1 credit per successful PDF Services processing call within supported limits; scans need OCR before structural extraction. Credits are shared with other Foxit APIs, but eSign uses 5 credits per envelope.

You want comparable models for common Textract workflows

Azure Document Intelligence

Prebuilt invoice, receipt, ID, bank statement, tax and mortgage models at $10 per 1,000 pages, query fields, and about 300 printed languages

Your documents are handwritten, or need field extraction beyond English

Google Document AI

OCR for more than 200 languages including handwriting and a generative Custom Extractor at $30 per 1,000 pages

You want to stay on AWS

Amazon Bedrock Data Automation

Blueprint fields with confidence scores at $0.04 a page for up to 30 fields, through your AWS account, with IAM and Amazon S3 integration

Per-page cost at high volume

Mistral OCR

OCR 4.1 at $4 per 1,000 pages, or $2 with the Batch API, with schema annotations at $5 per 1,000 annotated pages

Every extracted value needs evidence for review

LlamaExtract

Per-field citations with bounding boxes (except Turbo) and 0-1 confidence scores, from 8 credits a page (about $0.012 on pay-as-you-go)

Mixed document packets, or extraction inside your own VPC

Reducto

Extract at $20 per 1,000 pages including parsing, Split and Classify endpoints, hybrid and full VPC deployments on Enterprise

Documents cannot leave your own servers

Docling

MIT-licensed, runs locally or air-gapped, Docling Serve REST API, schema extraction through DocumentExtractor

If per-request pricing could work for your document mix, you can test it on a free Foxit developer account before deciding. 

What Amazon Textract gives you today

The table below uses US East (N. Virginia) list prices from the AWS Price List API feed published 27 Oct 2026. Synchronous and asynchronous calls cost the same.

Textract API or feature

What it returns

Per 1,000 pages, first 1M a month

Above 1M pages a month

Free tier, first 3 months

DetectDocumentText

Lines and words with confidence and geometry

$1.50

$0.60

1,000 pages a month

AnalyzeDocument Tables

Tables, cells, merged cells, table titles and footers

$15

$10

100 pages a month

AnalyzeDocument Forms

Key-value pairs and selection elements

$50

$40

100 pages a month

AnalyzeDocument Queries

Answers to questions you write (English)

$15

$10

100 pages a month

Forms and Tables together

Key-value pairs, selection elements and tables in a single call

$65 (Forms rate plus Tables rate)

$50

100 pages a month

Forms, Tables and Queries together

All 3 in a single call

$70

$55

100 pages a month

Layout

Titles, headers, paragraphs, lists, figures

$4, free with Forms, Tables or Queries

$3

100 pages a month

Signatures

Signature locations

$3.50, free with Forms, Tables, Queries or Layout

$1.40

1,000 pages a month (Signatures only)

AnalyzeExpense

Invoice and receipt fields and line items (English)

$10

$8

100 pages a month

AnalyzeID

US passports and US driver’s licenses (English)

$25 for the first 100,000 pages

$10 above 100,000

100 pages a month

AnalyzeLending

Mortgage packages classified, split and extracted

$70

$55

2,000 pages a month

Custom Queries (adapters)

Queries tuned on your own documents

$25

$15

Not available

How billing works. AnalyzeDocument bills each page at the rate for the feature combination you request, and Forms with Tables bills as the sum of the 2 feature rates, $65 per 1,000 pages. Every AnalyzeDocument response includes OCR. The free tier covers new AWS customers for 3 months.

What are the limitations of Amazon Textract? Synchronous calls take a single-page PDF or TIFF up to 10 MB. Asynchronous PDF/TIFF jobs read up to 3,000 pages and 500 MB from Amazon S3, announce completion on Amazon SNS, and keep results for 7 days by default. 

Text detection, Tables, Signatures, and Layout support more than 40 languages, including Arabic, Chinese, Japanese, Korean, and Hindi. Forms covers only English, German, French, Spanish, Italian, and Portuguese. 

Handwriting, Queries, AnalyzeExpense, and AnalyzeID are English only, and AnalyzeID reads only US passports and US driver’s licenses. Textract reads horizontally aligned text only, and XFA PDFs and password-protected PDFs are unsupported. Default quotas in US East (N. Virginia) are 10 transactions a second for AnalyzeDocument, 25 for DetectDocumentText, and 5 for AnalyzeExpense.

Data use. AWS may store and use Textract document inputs to improve Textract and other AWS AI services, and may store some of that content in another region, unless you set an AWS Organizations AI services opt-out policy. Textract is HIPAA eligible and compliant with PCI, ISO, and SOC, available in 18 regions including both AWS GovCloud (US) regions.

Human review. Amazon A2I is no longer open to new customers as of 30 Jul 2026, and existing users can keep it. Textract itself is unaffected by that announcement, and AWS shipped a text-detection model update for DetectDocumentText and AnalyzeDocument on 30 Jun 2025.

Before comparing alternatives, list the Textract APIs your pipeline calls, with monthly pages for each. That list tells you whether a cheaper Textract API (often AnalyzeExpense in place of AnalyzeDocument) already solves the cost problem, and if not, which alternative can replace each call and what it will cost.

The 8 Amazon Textract alternatives in detail

In each entry’s feature table, the Covers row maps the API to Textract’s jobs (OCR, Tables, Forms, Queries, Signatures, Layout, AnalyzeExpense, AnalyzeID, AnalyzeLending), and the Moving from Textract row names the biggest change you’ll make in your code.

Foxit PDF Services API

Foxit PDF Services API product page with the headline Cloud-Native PDF Control, Built for Scale, and a Start for Free button

Our PDF Services API product page, which covers conversion, extraction and optimization from one REST API.

The Foxit PDF Services API is our REST API for PDF conversion, OCR, extraction, redaction and form handling.

Feature

Details

Covers

OCR (Perform OCR endpoint), layout and tables through PDF Structural Extraction (Trial), tables to Microsoft Excel workbooks (XLSX) through PDF to Excel, fillable-form values through Export PDF Form Data, plus Markdown through PDF to Markdown and PDF to text. No counterpart for Queries, Signatures, AnalyzeExpense, AnalyzeID or AnalyzeLending.

Field extraction

No schema-based extraction and no prebuilt invoice or ID models. Structural Extraction returns 12 element types in reading order (title, head, paragraph, table, image, headerFooter, form, hyperlink, footnote, sidebar, annotation, formula), where text elements carry an 8-number bounding polygon and a confidence score, and table elements carry their polygon under regions and their confidence under scores, returned as cell grids. Export PDF Form Data returns JSON keyed by the PDF’s form field names, reading interactive fields rather than key-value pairs printed on a scan.

OCR and languages

The Perform OCR endpoint takes a list of OCR language codes in its languages setting, such as en-US. Structural Extraction returns no text on image-only PDFs unless you run the OCR endpoint first, so scanned documents take 2 credits in total. Handwriting support is not documented.

Pricing

1 credit per successful request, regardless of page count or file size within supported limits (Credits Explained). Developer (plan pricing): 500 credits/year (free). Startup: $1,750/year (5,000 credits, $0.35/credit). Business: $4,500/year (15,000 credits, $0.30/credit). Volume: by quote. Credits reset yearly with no rollover.

Free allowance

500 credits a year on the Developer plan.

Limits

100 MB upload. Per application: 15 requests a minute in sandbox, 100 in production. Asynchronous: upload, start the operation, poll the task, download the result. Page limit per request is not published.

Deployment and data

Cloud only, through one global API gateway. A delete endpoint removes uploaded and generated files. Our cloud-hosted PDF APIs are covered by SOC 2 Type II audits, and we support HIPAA BAAs. Our MCP server (v1.1.2), built on the Model Context Protocol, exposes pdf_structural_analysis, pdf_extract and pdf_ocr tools.

Moving from Textract

Upload the file instead of pointing at S3, poll the task instead of waiting for SNS, parse an elements array instead of Blocks and Relationships, and send your client ID and client secret as request headers instead of signing requests with IAM.

Where Foxit PDF Services API stands out is per-request pricing. A 50-page digital statement costs 1 credit where Textract bills all 50 pages at the selected feature-combination rate. 

On the Business plan with all 15,000 annual credits used, that works out to $0.30 per request, which is less than Textract Tables above roughly 20 pages and less than Forms with Tables from about 5 pages (our arithmetic from list prices, not an equivalent-output benchmark). 

Extraction also sits on the same credit pool as conversion, redaction, eSign and document generation, so a pipeline that already converts, signs or redacts consolidates billing in one place. For fillable PDFs, Export PDF Form Data returns exact field values without any OCR layer.

What to consider. Our PDF Structural Extraction API is currently in Trial and uses schema version v1.0.7. The API may change, so validate responses against the schema your application expects. There’s no key-value detection on scanned forms, no Queries counterpart and no prebuilt invoice or ID model, so a team replacing AnalyzeExpense or AnalyzeID will need to pick a different option. 

Scanned documents take 2 credits (OCR then extraction), equivalent to $0.60 to $0.70 at full use of the Business or Startup annual credit pool, respectively. That is 60 to 70 times AnalyzeExpense’s $0.01 per page, without the same prebuilt invoice fields. 

Credits reset annually with no rollover; mid-cycle top-ups are available and expire at the same reset date. Our retention period for uploaded files is not published, so call the delete endpoint after each job. We don’t use the documents you submit to train AI models unless you authorize it.

Best for. Long, structured PDFs (statements, contracts, reports) and fillable forms in pipelines that also convert, OCR, redact or sign documents.

Getting started. A free Foxit developer account includes 500 credits a year, enough to test PDF Structural Extraction on a few of your own long documents. 

Foxit developer sign-up page listing live API credentials, a pre-filled cURL command, and 500 free credits a year

Our developer sign-up page, where a new account comes with live API credentials and 500 free credits a year.

Azure Document Intelligence

Azure Document Intelligence in Foundry Tools product page, noting it is now part of Azure Content Understanding

Azure Document Intelligence product page, now listed under Foundry Tools and Azure Content Understanding.

Azure Document Intelligence (first Form Recognizer, then Azure AI Document Intelligence) is Microsoft’s document analysis service in Foundry Tools (API v4.0, 2024-11-30), now part of Azure Content Understanding.

Feature

Details

Covers

Read (OCR), Layout (tables, selection marks, key-value pairs with keyValuePairs feature), prebuilt invoice, receipt, ID, bank statement, check, pay stub, contract, US tax and US mortgage models, query fields, and custom classification for splitting packets. Counterparts exist for OCR, Tables, Forms, Queries, AnalyzeExpense, AnalyzeID and AnalyzeLending workflows. Signature detection is supported by custom neural and custom template models.

Field extraction

Prebuilt models return named fields with confidence scores and polygons. Custom template, custom neural and custom generative models cover layouts the prebuilt models miss. Query fields extend Layout and most prebuilt models, similar to Textract Queries.

OCR and languages

Read and Layout cover about 300 printed languages and 12 handwritten languages in v4.0 (language support).

Pricing

East US pay-as-you-go, per 1,000 pages (from the Azure Retail Prices API, checked 5 Nov 2026): Read $1.50, then $0.60 above 1 million. Layout and prebuilt models cost $10, custom extraction or custom generative extraction costs $30, add-ons cost $6, and query fields cost $10. Batch costs the same as standard. Azure cloud commitment tiers start at $190/month for 20,000 prebuilt pages.

Free allowance

500 pages/month on the F0 tier, which analyzes only the first 2 pages of each document (4 MB cap, 1 request/second).

Limits

S0: 500 MB and 2,000 pages per analysis; 15 analyze requests/second by default, adjustable. Submit, then poll the operation, plus a batch API.

Deployment and data

Azure regions. v4.0 containers cover Read and Layout only, including disconnected tiers (prebuilt invoice, receipt and ID containers are supported in v3.1). Inputs and results are deleted 24 hours after analysis completes, or earlier through the Delete Analyze Result API.

Moving from Textract

Forms become Layout key-value pairs or a prebuilt model; Queries become query fields; AnalyzeExpense becomes the invoice and receipt models; AnalyzeID becomes the ID model; Custom Queries adapters become custom models. S3 and SNS give way to URL or Azure Blob Storage input and polling.

Where Azure Document Intelligence stands out is the breadth of prebuilt counterparts for Textract’s most-used workflows. The prebuilt invoice and receipt models price at $10 per 1,000 pages, matching AnalyzeExpense. 

Handwriting covers 12 languages where Textract reads handwriting only in English, and the prebuilt invoice model supports many locales where AnalyzeExpense is English only. For teams that can’t call a cloud API from every environment, v4.0 containers cover Read and Layout without a network connection.

What to consider. The v4.0 container images cover only Read and Layout, so if you need containerized invoice, receipt or ID extraction, you’re on v3.1. 

The free tier reads only 2 pages per document, which means a 20-page invoice returns 2 pages during evaluation. Content Understanding‘s LLM-powered analyzers (GA with API 2025-11-01, from $5 per 1,000 pages for Standard content extraction plus contextualization and model tokens) are worth evaluating alongside the prebuilt models.

Best for. Teams moving invoices, receipts, IDs and tax forms off Textract that want like-for-like prebuilt models, or that already run on Azure.

Getting started. Azure Document Intelligence quickstart.

Google Document AI

Google Document AI product page describing processors that extract, classify, and split documents at scale

Google Document AI product page, which positions it as a processor platform for extracting, classifying and splitting documents.

Google Document AI is Google Cloud’s document understanding platform, with a range of prebuilt parsers, a Layout Parser, a Form Parser and a generative Custom Extractor built on Gemini. Its OCR reads more than 200 languages, including handwriting.

Feature

Details

Covers

Enterprise Document OCR, Layout Parser, Form Parser (key-value pairs, checkboxes, tables), Custom Extractor, prebuilt Invoice, Expense, Bank statement, Pay slip, W2, US driver license, US passport and ID proofing parsers, and custom classifiers and splitters. Counterparts for OCR, Tables, Forms, Queries, AnalyzeExpense, AnalyzeID and lending packets.

Field extraction

Custom Extractor defines up to 150 labels by schema (generative with Gemini, or trained), at the same prediction price. Versions v1.5 and v1.5-pro are GA, while v1.5.1, v1.6, v1.6-pro, v3.1-lite and v3.5 are Public Preview. Prebuilt parsers and Form Parser return entities and key-value pairs with confidence and bounding boxes.

OCR and languages

Enterprise Document OCR reads printed and handwritten text in more than 200 languages, and handwriting support varies by language.

Pricing

Per 1,000 pages (Document AI pricing, checked 5 Nov 2026): OCR $1.50 (then $0.60 above 5 million); Layout Parser $10; Form Parser and Custom Extractor $30 (then $20 above 1 million). Invoice and Expense parsers cost $0.10 per document (up to 10 pages); ID parsers $0.10 per document; Bank statement $0.75 per document; Pay slip and W2 $0.30 per document.

Free allowance

The first 1,000 Enterprise Document OCR pages are free.

Limits

Online requests: up to 15 pages (30 in imageless mode where supported, 10 for Expense, 2 for ID parsers) and 40 MB. Batch caps pages per document by processor (OCR and Layout 500, Custom Extractor and Invoice 200, Form Parser 100, Bank statement 30). Most batch jobs finish 12 to 24 hours after they start running, excluding queue time.

Deployment and data

US and EU multi-regions plus limited-access regions; VPC Service Controls and customer-managed keys. Online document data is processed in memory and not persisted to disk, and batch documents are deleted after processing, with a 1-day failsafe TTL. Document AI models are not trained on customer data. Custom Extractor v1.6 and v1.6-pro use the Vertex AI global endpoint and are not data-residency compliant, while v3.1-lite supports US and EU multi-region endpoints.

Moving from Textract

Queries and Custom Queries become Custom Extractor fields; AnalyzeExpense becomes the Invoice or Expense parser; S3 input becomes Cloud Storage for batch; SNS gives way to long-running operation polling. Google deprecated Document AI’s human-in-the-loop review on 16 Jan 2024, so you’ll need to build your own review step.

Where Google Document AI stands out is handwriting in many languages, where Textract reads handwriting only in English, plus a generative Custom Extractor that defines fields by schema without training data.

What to consider. Per-document parser pricing means a 1-page invoice costs $0.10 through the Invoice parser, which is 10 times AnalyzeExpense. Online page limits vary by processor (up to 15 pages, or 30 in imageless mode where supported), so longer documents go through batch with 12-24 hour turnaround. The newest Custom Extractor versions (v3.5, v3.1-lite) are Preview, and data-residency support varies by version. Human review is deprecated, so budget for your own queue.

Best for. Multilingual or handwritten documents, or pipelines already on Google Cloud.

Getting started. Document AI quickstart.

Amazon Bedrock Data Automation

Amazon Bedrock Data Automation product page for generating insights from documents, images, audio, and video

Amazon Bedrock Data Automation product page, part of Amazon Bedrock and covering documents, images, audio and video.

Amazon Bedrock Data Automation (BDA) is an AWS-managed service for extracting structured data from documents. 

It lets teams add schema-defined fields while reusing IAM and S3 rather than moving to another cloud provider.

Feature

Details

Covers

Standard output (text, Markdown, HTML or CSV tables at page, element or word level, with bounding boxes and summaries) and custom output through blueprints, plus document splitting and routing across up to 40 document blueprints per project. Blueprints can stand in for Forms, Queries, AnalyzeExpense, AnalyzeID and AnalyzeLending. AWS catalog blueprints reference a US driver license and a W-2.

Field extraction

Blueprints define typed fields (strings, numbers, booleans, arrays and tables) with natural-language normalization and validation instructions. Document fields return confidence scores and page references. Up to 100 leaf fields per blueprint.

OCR and languages

English, German, Spanish, French, Italian and Portuguese, printed and handwritten. Vertical text is not supported.

Pricing

Standard output $0.010/page, custom output $0.040/page for 1 to 30 fields, plus $0.0005/page for each field above 30, and blueprint optimization $0.010 per example page.

Free allowance

No BDA-specific free tier published as of 5 Nov 2026.

Limits

Asynchronous: PDF, TIFF, JPEG, PNG, DOC and DOCX up to 500 MB, up to 3,000 pages with splitting on; 25 concurrent document jobs by default in most regions, 5 in Mumbai, Singapore, Canada (Central), Spain and London. Synchronous: up to 10 pages and 50 MB, 60 requests/minute.

Deployment and data

AWS-managed service available through your account, including in GovCloud (US-West). Asynchronous output goes to S3, and synchronous JSON can be inline or S3. BDA requires cross-region inference profiles, so requests and results may move outside your primary region while stored data stays there. Bedrock inputs and outputs are not used to train Amazon Nova, Amazon Titan or third-party models.

Moving from Textract

IAM, S3 and your account stay the same. The Block parser gives way to blueprint JSON. Custom Queries adapters become blueprints. A2I is closed to new customers, so route low-confidence fields to your own review queue.

Amazon Bedrock Data Automation lets you keep IAM and S3 while adding schema-defined fields with confidence scores. Custom output costs $0.04 per page for up to 30 fields, with an additional charge for each field above 30. 

An AWS Builder Center guide to choosing an IDP service points to BDA for “net-new IDP projects” and to Textract with foundation models for “extending an existing Textract implementation.”

What to consider. Custom output at $0.04/page costs 4 times AnalyzeExpense per invoice page. The cross-region inference requirement adds a layer to residency reviews. BDA reads 6 languages, the same set as Textract Forms and far fewer than the 40-plus Textract supports for printed text, though unlike Textract it reads handwriting in all 6.

Best for. AWS-native teams starting a new extraction workload or adding document types without training adapters.

Getting started. What is Bedrock Data Automation, in the Amazon Bedrock user guide.

Mistral OCR

Mistral OCR product page with the headline Turn documents into structured data and sample tabs for tables and invoices

Mistral OCR product page, with sample tabs for contracts, tables, invoices and handwriting.

Mistral OCR is a dedicated OCR and document annotation API from Mistral AI. OCR 4.1 (mistral-ocr-latest, released 16 Jul 2026) returns per-page Markdown at $4 per 1,000 pages, with schema-based field extraction available through document annotations.

Feature

Details

Covers

OCR to per-page Markdown, tables as Markdown or HTML, header and footer extraction, and blocks with bounding boxes and labels (including a signature label). Document AI annotations return JSON in your schema. Stands in for DetectDocumentText, Tables, Layout and, through annotations, Queries and AnalyzeExpense. Extraction uses a supplied schema.

Field extraction

document_annotation fills a JSON schema for the whole document; bbox_annotation describes extracted figures. A second model, mistral-small-2603, generates the annotations after OCR. Per-field confidence is not documented for annotations; OCR confidence can be set at page, block or word level.

OCR and languages

Reads more than 40 languages, and image input works even from low-quality or handwritten sources.

Pricing

OCR 4.1: $4 per 1,000 pages standard, or $2 per 1,000 pages with the Batch API. Annotations: $5 per 1,000 annotated pages. OCR 3 remains available at $2 per 1,000 pages. OCR 4.0 retired 30 Sep 2026.

Free allowance

A free mode is available with organization-level rate limits, and it may use inputs and outputs for training unless you opt out.

Limits

50 MB and 1,000 pages per document. Rate limits are set per organization.

Deployment and data

Mistral API, Amazon SageMaker and Microsoft Foundry. Single-container self-hosting for enterprise customers. Zero data retention on /v1/ocr requires approved paid access and excludes batch files and /v1/files. Pay-as-you-go customers can opt out of training.

Moving from Textract

Rewrite Queries as a JSON schema and line items as a schema array, parse Markdown and blocks instead of Blocks, and use the Batch API for asynchronous volume.

Where Mistral OCR stands out is cost for OCR with tables. OCR 4.1 returns Markdown with tables at $4 per 1,000 pages, or $2 through the Batch API, well under Textract’s $15 per 1,000 pages for Tables. Annotations then add schema-based extraction to the same API call.

What to consider. OCR 4 is designed for high-throughput processing rather than real-time or latency-sensitive use, which matters if you currently call Textract synchronously. Models retire quickly (OCR 4.0 shipped 23 Jun 2026 and retired 30 Sep 2026, about 3 months later), so plan for version updates. Free mode may train on your documents unless you opt out.

Best for. High-volume invoice or form extraction where per-page cost is the primary constraint and a schema can replace Queries.

Getting started. Mistral OCR API documentation.

LlamaExtract (by LlamaIndex)

LlamaExtract page showing a custom schema mapped to fields in a document and returned as JSON extraction results

LlamaExtract product page, which maps a custom schema to extracted fields.

LlamaExtract is the hosted schema extraction service on LlamaIndex’s LlamaParse platform. Optional citations and confidence scores support field-level review; citation bounding boxes are available on the primary tiers, but not Turbo.

Feature

Details

Covers

Schema extraction with JSON Schema or Pydantic (Zod in TypeScript), schemas generated from a prompt or a sample file, and a spreadsheet mode. Stands in for Forms, Queries and AnalyzeExpense through your schema. Extract v2 uses schemas you supply or generate.

Field extraction

Up to 3,200 leaf fields on Cost-effective, Agentic and Agentic Plus, with large schemas on Cost-effective and Agentic requiring version 2.1 or later. Citations return the page, verbatim text and bounding boxes for each field (except Turbo, which has text-level citations only). Confidence is a 0-1 score per field. Both citations and confidence are off by default in the API and slow processing.

OCR and languages

Primary tiers use LlamaParse OCR with more than 80 OCR language codes. Turbo prepares inputs without a separate Parse step.

Pricing

$1.50 per 1,000 credits on pay-as-you-go ($0/month), or $1.25 per 1,000 on Pro ($500/month). Credits per page with default parsing: Cost-effective 8 (about $0.012, or $0.010 on Pro), Agentic 25 (about $0.0375, or $0.031), Agentic Plus 60 ($0.09, or $0.075), Turbo 35 (about $0.0525, or $0.044).

Free allowance

10,000 free credits a month on pay-as-you-go, about 1,250 Cost-effective pages (our arithmetic).

Limits

100 MB and 500 pages per extraction job. Concurrent extract jobs: 5 on pay-as-you-go, 20 on Pro, 100 on Enterprise.

Deployment and data

Managed SaaS in North America or the EU. Enterprise deployments add single-tenant SaaS, bring-your-own-cloud (AWS, Azure or GCP) and self-hosting. Files are cached 48 hours unless you set do_not_cache. No training on customer data by default. SOC 2 Type II audited, with a HIPAA BAA for Enterprise.

Moving from Textract

Queries become schema fields, Block geometry becomes per-field citations with boxes on the primary tiers, and confidence moves from Textract’s 0-100 scale to 0-1.

Where LlamaExtract stands out is the field-level evidence model on the primary tiers, providing a citation box plus a confidence score per field. The Cost-effective tier costs about $0.012 a page on pay-as-you-go and $0.010 on Pro, close to AnalyzeExpense’s $0.01, so teams migrating invoice extraction pay a similar rate and gain citation support.

What to consider. The 500-page cap per extraction job is a real constraint for long documents. Citations and confidence scores are off by default in the API and can add processing time. Enable them when your review workflow needs the evidence, then measure the latency on your documents. Concurrency caps (5 concurrent extract jobs on pay-as-you-go) matter for burst workloads. You’ll need to supply or generate an extraction schema, which adds an upfront build step.

Best for. Teams replacing Queries or AnalyzeExpense with a schema that need field-level evidence for review queues.

Getting started. LlamaExtract documentation.

Reducto

Reducto home page with the headline Turn documents into data and a Try for free button

Reducto home page, which presents it as a single platform for every document task.

Reducto is a document extraction API that includes parsing in the extraction price and supports mixed-document packets through its Split and Classify endpoints. Per-product pricing launched on 1 Sep 2026, with pay-as-you-go accounts moving on 1 Oct 2026.

Feature

Details

Covers

Extract (JSON in your schema, parsing included), Deep Extract, Parse, Split, Classify and Edit. Stands in for Forms, Queries and AnalyzeExpense through schemas, and for AnalyzeLending-style packets through Split and Classify. You define the extraction schema.

Field extraction

With citations on: normalized 0-1 page boxes for PDFs and images (the same convention as Textract’s BoundingBox), a high or low confidence label, and numeric extract and parse confidence. Some values have empty citation arrays. Extractions over 100 fields per page may carry a per-field surcharge that is not published.

OCR and languages

Parsing reads scanned documents, and agentic mode handles handwritten or degraded text. Standard OCR covers 60+ languages.

Pricing

Per 1,000 pages: Extract $20 and Deep Extract $40, both with parsing included; Parse r-1 $10 and Parse r-1 mini $1; Split $20; Classify $7.50. The batch queue takes 20% off Parse and Extract (12-hour completion), not Deep Extract.

Free allowance

The Standard plan includes $150 in free usage, then list rates apply. Reducto also offers up to $5,000 in migration credits to teams switching processors (vendor offer).

Limits

100 MB direct upload (5 GB through presigned upload), no page limit on Standard, synchronous calls have a 15-minute hard timeout, and up to 1,000 requests/second per key (300 for job-status polling). Standard concurrency baselines of 500 pages in the US and 250 in the EU for r-1.

Deployment and data

SaaS, with EU and Australian endpoints from Growth. Hybrid VPC and full VPC or on-premises on Enterprise. Results are generally available for 12 hours. From Growth up, zero data retention purges API artifacts within 24 hours (except Studio jobs and persist_results) and data is never used for training. The Standard plan training policy is not stated. Has completed a SOC 2 Type II audit and HIPAA BAAs on Growth and Enterprise.

Moving from Textract

Normalized citation boxes need no coordinate conversion for PDFs and images. Queries become schema fields. AnalyzeLending-style packets map to Split, Classify and Extract.

Where Reducto stands out is that parsing is included in the extraction price, so you’re not paying separately for a Parse step and an Extract step. Citation boxes use the same 0-1 normalized coordinates as Textract’s BoundingBox, which reduces the coordinate-conversion work during migration. The hybrid VPC option keeps files in your own storage while processing runs on Reducto’s GPUs.

What to consider. An unpublished per-field surcharge above 100 fields per page adds pricing risk for complex schemas. The Standard plan’s training policy is not stated, so confirm training terms before sending regulated documents.

Best for. Long or mixed packets (lending, insurance, logistics) that need splitting and extraction with citations, possibly inside a VPC.

Getting started. Reducto API documentation.

Docling

Docling home page showing the pip install docling command, MIT license, and offline use for document conversion

The Docling home page, which leads with a one-line pip install and local, offline use.

Docling is an open-source document parsing library from IBM Research, now an LF AI & Data project. Its MIT license allows production use at no cost.

Feature

Details

Covers

Open-source parsing of PDF, Office, HTML and image files to Markdown and lossless JSON with layout, tables and reading order, plus schema extraction through DocumentExtractor. Docling Serve exposes a REST API. Stands in for DetectDocumentText, Tables, Layout and simple Queries-style fields. You supply the field-extraction template.

Field extraction

DocumentExtractor takes a JSON, dict or Pydantic template and returns extracted data per page, using a vision-language model, on PDFs and images only. DocumentExtractor returns no per-field confidence or bounding boxes.

OCR and languages

Pluggable OCR engines (RapidOCR, EasyOCR, Tesseract, OcrMac, Nemotron-OCR). Language coverage depends on the engine you choose.

Pricing

Free under the MIT license (models carry their own licenses). You pay for compute; a GPU helps with the vision-language pipeline.

Free allowance

Unlimited on your own hardware.

Limits

Set by your hardware and configuration.

Deployment and data

Runs locally or air-gapped. Docling Serve (v1.38.2) runs in containers. Docling for IBM watsonx is the managed option. An LF AI & Data project started at IBM Research.

Moving from Textract

You replace a managed API with a service you run, so you own scaling, monitoring, OCR quality and model updates.

Where Docling stands out is that with local models and remote services disabled, documents stay in your infrastructure, and there is no per-page software fee.

What to consider. You run and scale it yourself. DocumentExtractor works per page without built-in per-field confidence scores, so quality depends on the models and hardware you choose. Frequent releases mean pinning versions keeps production stable.

Best for. Documents that cannot leave your own servers or network.

Getting started. Docling on GitHub.

What changes when you move off Amazon Textract

Switching changes what you pay per document and which parts of your pipeline you rewrite, starting with cost.

What one document costs on each API

List prices as of November 5, 2026, using US regions and the first pricing tier where applicable. Each invoice is 1 page. These are calculations from list prices, not equivalent-output benchmarks: OCR-only rows do not include named invoice fields, and the statement column uses the mode shown in each cell.

API and mode

1-page scanned invoice

50-page digital statement

100,000 invoices a month

Amazon Textract, AnalyzeExpense

$0.01

$0.075 (DetectDocumentText)

$1,000

Amazon Textract, Forms, Tables and Queries

$0.07

$3.50

$7,000

Foxit PDF Services API (Business)

2 credits (OCR then Structural Extraction), or $0.60 on Business

1 credit, or $0.30 on Business

Volume pricing by quote: 2.4 million credits a year for scanned invoices, or 1.2 million for digital PDFs, before any additional processing calls

Azure Document Intelligence, prebuilt invoice

$0.01

$0.50 (Layout)

$1,000, or $900 on the 100,000-page commitment tier

Google Document AI, Invoice parser

$0.10 (Custom Extractor prediction $0.03)

$0.50 (Layout Parser)

$10,000 (Custom Extractor $3,000; custom-model hosting extra)

Amazon Bedrock Data Automation, custom output

$0.04

$0.50 (standard)

$4,000 (custom)

Mistral OCR 4.1, OCR only

$0.004

$0.20

$400

LlamaExtract, Cost-effective (pay-as-you-go)

$0.012

$0.60

$1,200, or $1,000 on Pro

Reducto, Extract

$0.02

$1.00

$2,000, or $1,600 with batch

Docling, self-hosted

Your compute

Your compute

Your compute

Foxit figures assume full use of the yearly credit pool (Business is $4,500 for 15,000 credits, $0.30 per credit; Startup works out to $0.35). Each successful PDF Services processing call costs 1 credit within supported limits, and each separate call in a batch uses 1 credit.

Invoices. At list price, AnalyzeExpense costs $0.01 per invoice page, matching or undercutting most options here. Azure’s prebuilt invoice model matches it at $0.01, and LlamaExtract’s Cost-effective tier comes close at about $0.012 on pay-as-you-go ($0.010 on Pro). Mistral’s OCR-only rate comes in lower still. Google’s Invoice parser costs 10 times more on 1-page invoices because it bills per document.

Long documents. Per-request billing changes the calculation. On digital PDFs, Foxit at $0.30 per request costs less than Textract Tables above roughly 20 pages and less than Forms with Tables from about 5 pages. On scanned documents (2 credits at $0.30 each), the crossovers shift to roughly above 40 pages and from about 10 pages. That comparison is price only, since Foxit returns document structure and form-field values, while Textract’s Forms feature detects key-value pairs on printed and scanned pages.

Line chart comparing per-page Textract pricing with Foxit per-request pricing by page count, with crossover points marked

List-price arithmetic only. A digital PDF on Foxit costs less than both Forms lines from 5 pages and less than Tables above 20 pages; a scan costs less from 9 pages (Forms, Tables and Queries), 10 pages (Forms and Tables) and above 40 pages (Tables).

Volume. At 100,000 invoices/month, 1-page invoices consume 1.2 million credits/year for digital PDFs or 2.4 million for scans. Both are far beyond the 15,000 credits on the Business plan, so a Volume quote applies. At this scale, per-page APIs like AnalyzeExpense, Azure’s prebuilt models, or Mistral OCR are better matched to 1-page invoice volumes.

Commitment structure. Our credits reset annually and do not roll over. Top-ups expire on the same reset date. The examples here use annual plan prices at full credit utilization; the effective cost rises when credits go unused.

Price your real document mix before deciding, taking into account pages per document, scanned or digital, and which fields you need. Per-page billing favors short documents at high volume; per-request billing favors long ones.

Every migration rewrites the same parts

Diagram mapping six parts of an Amazon Textract pipeline to what changes when you migrate to a typical alternative

The 6 rewrite points every migration hits, from input and async plumbing to output parsing, coordinates and confidence, auth, human review and Custom Queries adapters.

Input and async plumbing. Textract’s asynchronous APIs read from S3 and announce completion on an SNS topic, with results kept 7 days unless you set an output bucket. Most alternatives take an upload or a URL and expect you to poll or receive a webhook. Foxit uses task polling, Azure uses operation polling, Google batch reads from Cloud Storage, and BDA keeps S3. Review your S3 paths, completion notifications, and output handling for the destination API. BDA keeps S3, but its job workflow still needs to be integrated.

Output parsing. Code that walks Blocks and Relationships (KEY_VALUE_SET to its value and words, TABLE to CELL, QUERY to QUERY_RESULT) gets replaced entirely. Schema extractors return named fields. Layout parsers return element trees. The parsing logic is new code in every case.

Coordinates and confidence. Textract’s BoundingBox values are ratios of page size (0 to 1), and Confidence runs from 0 to 100. Reducto’s citation boxes use the same 0-1 convention. LlamaExtract’s primary tiers return x, y, width, and height with page dimensions. Foxit’s Structural Extraction returns an 8-number polygon with page size reported in points. Confidence scales differ too, with LlamaExtract using 0-1 and Reducto adding high or low labels, so re-tune your review thresholds after migration.

Auth. Hosted alternatives commonly use API keys or OAuth client credentials instead of IAM and SigV4. BDA retains AWS authentication. For a self-hosted deployment, configure authentication for the service you expose.

Human review. A2I is closed to new customers. Google deprecated Document AI’s human-in-the-loop on 16 Jan 2024. For any destination, budget for your own review queue driven by confidence scores.

Custom Queries adapters. Adapters (5 to 2,500 training documents, at most 10 per account) stay in AWS. Rebuild them as schemas, blueprints, or custom models depending on your destination. There’s no export path.

The safest migration approach is to run both pipelines on the same sample of documents and compare fields one by one before cutting over.

Mapping Textract calls to the Foxit PDF Services API

To see those rewrite points on a real destination, this section maps Textract calls to our own API, then runs an extraction on a sample invoice. The mapping is conceptual, since Textract output doesn’t carry over automatically.

Flowchart of a Foxit PDF Services API extraction, showing which calls cost credits for digital and scanned PDFs

A digital PDF takes 1 billable call; a scanned PDF adds the OCR call first, for 2 credits in total.

Amazon Textract

Foxit PDF Services API

What changes

DetectDocumentText

Perform OCR on PDF, then PDF to Text or PDF Structural Extraction

OCR returns a searchable PDF; text and structure come from a second call (1 credit each)

AnalyzeDocument with Tables

PDF Structural Extraction (Trial) table elements, or PDF to Excel

Tables come back as cell grids with row and column indexes, or as an XLSX file

AnalyzeDocument with Layout

PDF Structural Extraction, or PDF to Markdown

One call returns 12 element types in reading order; filter them in your code

AnalyzeDocument with Forms, on fillable PDFs

Export PDF Form Data

JSON keyed by form field names, with no OCR involved

Forms on scanned pages, Queries, AnalyzeExpense

No direct equivalent

Map elements to your fields in code, as our invoice extraction tutorial shows

Signatures, AnalyzeID, AnalyzeLending

No equivalent

Keep them on Textract or choose another API from this list

S3 input and SNS notification

Upload, start the operation, poll the task

Polling, uploads and downloads use no credits

Blocks with ratio geometry and 0-100 confidence

An elements array where text elements carry a page, an 8-number polygon and a score, and table elements carry them under regions and scores

Convert coordinates and re-tune thresholds

IAM and SigV4

client_id and client_secret request headers

No request signing; the same 2 headers authenticate every PDF Services call

Billed per page at the selected feature-combination rate

1 credit per request

Within supported limits; scanned PDFs take 2 calls

Prerequisites

To try the flow on your own account, you need:

Once you’re signed in, the Make your first call card on the console dashboard shows your client ID and client secret, with a copy button beside each.

Foxit developer console Make your first call card showing client ID and client secret fields with copy buttons

The Make your first call card, where the copy buttons beside CLIENT ID and CLIENT SECRET give you the 2 values the script reads.

The same dashboard tracks how many of your yearly credits you’ve used.

Run this block to create a working folder, download our extraction script, the sample digital invoice, the image-only scan of the same invoice and the fillable form, and export your credentials:

mkdir textract-foxit && cd textract-foxit
B=https://github.com/lucienchemaly/foxit-demo-templates/raw/main/textract-alternatives
curl -LO $B/foxit_extract.sh -LO $B/invoice_table_test.pdf -LO $B/scanned_invoice.pdf -LO $B/fillable_test.pdf
chmod +x foxit_extract.sh
export FOXIT_CLIENT_ID="your_client_id"
export FOXIT_CLIENT_SECRET="your_client_secret"

The code above creates a textract-foxit folder, downloads the script and the 3 sample PDFs into it from our demo repository, makes the script executable, and sets the 2 environment variables the script reads to authenticate every request.

Run this command from your terminal to extract the digital invoice:

./foxit_extract.sh structure invoice_table_test.pdf

The expected output should look like the following:

uploaded invoice_table_test.pdf as 6aecea0a69750a7eaa41a4a1
started pdf-structural-extract (task 6aecea0becfabd07d2ee482d)
zip contents: page_p0.pdf_0.png StructureInfo.json
 {"version":{"schema":"1.0.7","software":"FoxitPDFAnalyzer","model":"idp-analysis"}}
{"pages":[{"pageNumber":1,"state":"success","messages":null}]}
{"elementTypes":{"head":1,"paragraph":5,"table":1,"title":1}}
{"textChars":220}
{"firstParagraph":{"text":"Foxit DocGen API Sample Template","page":1,"boundingBox":[90,113,268,113,268,127,90,127],"score":0.8891659975051880}}
{"firstTable":{"rows":4,"columns":5,"scores":[0.9757168889045715],"image":"page_p0.pdf_0.png","firstCells":[{"rowIndex":0,"columnIndex":0,"text":"#"},{"rowIndex":0,"columnIndex":1,"text":"Description"},{"rowIndex":0,"columnIndex":2,"text":"Qty"}]}}

Text elements carry an 8-number boundingBox in points and a score. Table elements leave region empty and carry their polygon under regions and their confidence under scores, and they come back as a row and column grid with a PNG crop of the table region. The script saves the full extraction to out/StructureInfo.json, the table crop to .out/page_p0.pdf_0.png and the original ZIP to result.zip, all in your working folder.

Invoice line-item table cropped from a Foxit extraction result, with two rows and a $2,500 subtotal

The table crop from the result ZIP holds only the line-item table region, not a render of the whole page.

The same script covers the other routes. Run this command from your terminal to extract the image-only scan of the same invoice, which runs OCR before extraction:

./foxit_extract.sh ocr-structure scanned_invoice.pdf

The expected output should look like the following:

uploaded scanned_invoice.pdf as 6aecea16e5e7ff0dd225d2db
started analyze/pdf-ocr (task 6aecea17ecfabd07d2ee4ee6)
started pdf-structural-extract (task 6aecea1fecfabd07d2ee5341)
zip contents: page_p0.pdf_0.png StructureInfo.json
 {"version":{"schema":"1.0.7","software":"FoxitPDFAnalyzer","model":"idp-analysis"}}
{"pages":[{"pageNumber":1,"state":"success","messages":null}]}
{"elementTypes":{"head":1,"paragraph":5,"table":1,"title":1}}
{"textChars":220}
{"firstParagraph":{"text":"Foxit DocGen API Sample Template","page":1,"boundingBox":[89,112,268,112,268,128,89,128],"score":0.8857628107070923}}
{"firstTable":{"rows":4,"columns":5,"scores":[0.9737526178359985],"image":"page_p0.pdf_0.png","firstCells":[{"rowIndex":0,"columnIndex":0,"text":"#"},{"rowIndex":0,"columnIndex":1,"text":"Description"},{"rowIndex":0,"columnIndex":2,"text":"Qty"}]}}

The 2 started lines are the 2 billable calls, OCR then Structural Extraction, so this run costs 2 credits. The OCR result document becomes the extraction input, and the scan comes back with the same 220 text characters and the same table grid as the digital PDF, with slightly different coordinates and scores.

The script has 2 more modes. form-data returns a fillable form’s values as JSON keyed by the PDF’s own field names, with every value as a string, and excel converts the tables to an Excel workbook. Each costs 1 credit.

Common mistakes

Each of these failures came up while running the script above, and each one stops the run with a specific message.

  • Missing exports in a new terminal: the environment variables only last for the shell session that set them, so a fresh terminal stops at the first check with ./foxit_extract.sh: line 8: FOXIT_CLIENT_ID: set FOXIT_CLIENT_ID to the client ID from your Foxit API console. Run the 2 export lines again in that terminal.
  • Wrong client ID or secret: a mistyped or swapped value fails on the first request, the upload, with HTTP 401 and {"allow":false,"reason":"Invalid credentials or access token"}. Copy both values again from the Make your first call card.
  • No credits left: Check Credits Remaining before a batch run. The sample handles an upload response with “allow”:false and “Access denied or insufficient quota”. Our current credit reference documents HTTP 429 with QUOTA_EXCEEDED for exhausted processing credits, so handle the response returned by the endpoint you use. Restore credits through an upgrade, a purchased top-up, or the annual reset.
  • structure on an image-only scan: the task still completes, but the page comes back with "state":"fail" and the message No element tag or tag element less than 50%.Tag Failed!, with no elements and 0 text characters, and the call still costs a credit. Use ocr-structure for scanned PDFs so OCR adds a text layer before extraction.

Where your documents go after you upload them

Retention, training, and region terms can rule out an API before price does. The table summarizes the vendor terms reviewed; “not published” and “not stated” mean the relevant terms were not verified, not that no policy exists.

APIDefault retentionTraining on your dataPrivate deployment
Amazon Textract (baseline)Async results kept 7 days in a Textract-owned bucket unless you set your own output bucketInputs may be stored and used to improve AWS AI services, possibly in another region, unless you set an AI services opt-out policyAWS PrivateLink and GovCloud; no on-premises option
Foxit PDF Services APIDelete endpoint available; retention period not publishedNot used to train AI models unless you authorize itCloud only
Azure Document IntelligenceInputs and results deleted 24 hours after analysisNot publishedRead and Layout containers (v4.0), including disconnected tiers; prebuilt model containers in v3.1
Google Document AIOnline document data not persisted to disk; batch documents deleted after processing, 1-day failsafe TTLNeverGoogle Cloud; VPC Service Controls and customer-managed keys, subject to processor-version support
Amazon Bedrock Data AutomationAsync output goes to your S3; sync JSON can be inline or S3Not used to train Nova, Titan, or third-party modelsAWS-managed with IAM and S3; cross-region inference is required
Mistral OCRZero data retention on /v1/ocr with approved paid access; batch files excludedFree mode may train; free and pay-as-you-go users can opt outSingle-container self-hosting for enterprise
LlamaExtractFiles cached 48 hours unless do_not_cache is setNo, by defaultSingle-tenant, bring-your-own-cloud or self-hosted
ReductoDefault job results: about 12 hours; zero data retention from Growth purges API artifacts within 24 hours, except Studio jobs and persisted resultsNever from Growth up; Standard not statedHybrid VPC or full VPC on Enterprise
DoclingYour infrastructureNot applicableSelf-hosted, including air-gapped

Textract’s opt-out. Use an AWS Organizations AI services opt-out policy if you need to prevent Textract content from being used or stored for service improvement. This does not prevent the processing or storage required to provide the service.

“Our documents cannot leave our cloud.” A requirement to process data in a particular region is different from a rule that documents must stay inside your own environment. Zero data retention and no training do not, by themselves, satisfy either requirement. Check where processing happens and who operates the infrastructure.

If documents must stay in your environment. Docling (MIT) runs fully self-hosted or air-gapped. Azure Document Intelligence v4.0 containers cover Read and Layout, including disconnected tiers; prebuilt model containers require v3.1.

Reducto’s full VPC keeps infrastructure in your environment, though the hybrid tier keeps storage local while processing runs on Reducto’s GPUs. LlamaExtract offers bring-your-own-cloud deployment (AWS, Azure, or GCP) and self-hosting for enterprise customers.

Mistral offers a single-container self-hosted option for enterprise customers. Amazon Bedrock Data Automation stays in your AWS account but requires cross-region inference profiles, which may move requests outside your primary region. Most private deployment options require enterprise contracts rather than self-serve plans.

For regulated documents, check retention, training, and deployment before accuracy, because those determine whether you can use the API at all. Price and accuracy comparisons are only relevant after that gate.

Which accuracy claims you can trust

Who ran the tests. Businessware Technologies, a software services firm, published an invoice accuracy test in January 2025 that covers Textract’s AnalyzeExpense, Azure’s invoice model and GPT-4o. LlamaIndex runs ParseBench (published April 2026), Reducto runs RD-TableBench (November 2024 results), and anyformat publishes its own Textract comparison, last updated 27 Jul 2026. In each vendor-run benchmark, the publisher wins, so vendor-run results are not independent validation. Businessware, LlamaIndex and Reducto don’t publish the Textract, Azure or Google model versions they tested, so a result may predate the current release.

How good is Amazon Textract? In Businessware’s January 2025 invoice test, AnalyzeExpense scored approximately 78% field accuracy and 82% on line items, behind Azure’s invoice model (93% field accuracy, 87% on line items) and GPT-4o with a separate OCR step (98% field accuracy).

AWS shipped a text-detection model update on 30 Jun 2025, after that test, and the Businessware page doesn’t state a sample size. Treat these dated results as context, not a definitive ranking: the report does not specify the sample size or tested model versions.

Is Google Document AI better than Amazon Textract for OCR? It depends on the job. Google reads more than 200 languages including handwriting against Textract’s 40-plus printed languages and English-only handwriting.

In Businessware’s January 2025 invoice test, Google scored 82% on fields but only 40% on line items, against Textract’s 78% and 82%. On LlamaIndex’s ParseBench, a LlamaIndex-run test from April 2026, Google’s Layout Parser scored 50.4 and Textract scored 47.9, with neither result a clear win across all document types.

Benchmark scores. On LlamaIndex’s ParseBench (April 2026, run by LlamaIndex), LlamaParse Agentic scored 84.9, Azure 59.6, Docling 50.6, Google Document AI Layout Parser 50.4 and Amazon Textract 47.9. On Reducto’s RD-TableBench (November 2024, run by Reducto), Azure scored 82.7%, Textract 80.9% and Google 64.6%.

Other vendor claims. On LlamaIndex’s ExtractBench (2 Sep 2026, run by LlamaIndex on 370 enterprise documents), LlamaExtract Agentic Plus scored 95.6% overall at 8.1 cents a page. anyformat’s 78.1% vs. 65.4% combined parse score against Textract comes from anyformat’s own 2026 benchmark.

The only reliable way to compare accuracy is to run 50-100 of your own documents through Textract and 2 shortlisted alternatives, then compare fields one by one against values you’ve checked by hand. Use your own mix (scans, multi-page tables, handwriting, your most common vendor invoice layouts) rather than published benchmarks alone.

How to choose an Amazon Textract alternative

Work through the decision in this order:

  1. Residency first. If documents can’t leave your environment, start with Docling, or with the private deployments from Azure (Read and Layout containers), Reducto, LlamaExtract and Mistral, which mostly need enterprise contracts.
  2. AWS or not. If you’re staying on AWS, check whether AnalyzeExpense covers what you now pay AnalyzeDocument for, then look at Amazon Bedrock Data Automation for schema-defined fields inside IAM and S3.
  3. Main reason for switching. Prebuilt invoice, receipt and ID models point to Azure Document Intelligence, non-English or handwritten documents to Google Document AI, per-page OCR cost at volume to Mistral OCR, field-level evidence to LlamaExtract, mixed packets to Reducto, and long PDFs billed per page to the Foxit PDF Services API.
  4. Price your document mix. Run your pages per document, scanned-to-digital ratio and required fields through each shortlisted pricing model, then test 50-100 of your own documents before cutting over.

Where Foxit fits

Our PDF Services API gives you 4 extraction routes. PDF Structural Extraction (Trial) returns typed JSON with 12 element types, bounding polygons and confidence scores, plus table cell grids. PDF to Excel converts the PDF, tables included, to an XLSX workbook. Export PDF Form Data reads interactive form field values from fillable PDFs and returns JSON keyed by field name. PDF to Markdown converts structured PDFs to Markdown for LLM pipelines.

Teams running contract extraction or invoice parsing alongside other document operations can use the same Foxit account and credit pool. The billing unit still depends on the service: PDF Services processing calls cost 1 credit each, while eSign uses 5 credits per envelope.

Per-request pricing favors long documents. A 50-page digital statement costs 1 credit, where Textract Tables bills all 50 pages. The same model works against short documents, so teams that mainly process 1-page invoices at volume get a better rate from a per-page API such as AnalyzeExpense. Where there’s no prebuilt model, our structured JSON tutorial shows how to map extracted elements to your own fields.

For prebuilt invoice or ID fields, Azure Document Intelligence and Google Document AI are the better fit. For an in-depth feature comparison with Google Document AI, see How Foxit compares to Google Document AI for document data extraction.

Our free Developer plan gives you 500 credits a year, enough for up to 500 extraction requests on digital PDFs, or 250 on scans. That’s room to price and test your own document mix, the step every section above comes back to, before you commit to a paid plan.

Create a free Foxit developer account and turn your first PDF into structured JSON with the PDF Structural Extraction API.

What else to know before you replace Amazon Textract

The answers below cover Rekognition, free and open-source options, and LLM-based extraction.

Amazon Rekognition‘s DetectText finds up to 100 words in an image or video frame, designed for signs, labels, and captions in scene images. Textract reads documents, including multi-page PDFs and TIFFs up to 3,000 pages asynchronously, and returns forms, tables, queries, layout, signatures, invoices, receipts, and IDs. For document data extraction, Rekognition addresses a different problem entirely.

Docling (MIT) and PaddleOCR (Apache-2.0, v3.7.0, with PaddleOCR-VL) run on your own hardware with no per-page software fee. MinerU and Marker are other open-source options; check model licenses before commercial use, because some open OCR models require a commercial license above certain revenue thresholds.

For hosted options with free allowances, LlamaExtract gives you 10,000 free credits a month on pay-as-you-go (about 1,250 Cost-effective pages). Azure Document Intelligence offers 500 pages/month on the F0 tier, with a 2-page-per-document limit. Google Document AI gives you the first 1,000 Enterprise Document OCR pages free. Reducto’s Standard plan includes $150 in free usage. Our Developer plan gives you 500 credits/year. Textract has a 3-month free tier for new AWS customers; eligibility depends on the current AWS Free Tier program.

For field extraction, often yes, with trade-offs. In Businessware’s January 2025 invoice test, GPT-4o with a separate OCR step reached 98% field accuracy, ahead of AnalyzeExpense’s 78%, though the test doesn’t provide a reliable latency comparison. Amazon Bedrock Data Automation, LlamaExtract, Reducto, and Mistral’s annotations all package an OCR-plus-model pattern behind one API call. Per-field confidence and citation support vary by service. Mistral documents OCR confidence but not annotation confidence, LlamaExtract’s primary tiers return 0-1 confidence per field, and Reducto returns high or low labels plus numeric confidence. The main practical trade-off is that LLM-based approaches add latency and a schema-design step that Textract’s prebuilt models skip.

10 Best Document Parsing APIs for Developers in 2026

Invoice and signed documents flow through an API hub into JSON fields and a data table, illustrating a document parsing API

Document parsing APIs differ in what they return, how they bill, and where your files go. This guide compares 10 options, including Foxit, LlamaParse, Reducto, Azure, and Docling, on outputs, OCR, pricing, and deployment. Use it to shortlist the right document extraction API and test it on your hardest pages.

A parser that handles clean digital PDFs may struggle with a scanned lease, a 2-column report, or a table that spans several pages. Misread reading order and missing table cells can leave garbled RAG chunks, incorrect invoice totals, or missing contract parties. 

“Document parsing” covers 3 distinct jobs that most roundups treat as one. 

  1. Layout parsing returns document structure as Markdown or JSON, including headings, tables, reading order, and often bounding boxes. 
  2. Field extraction returns named values against a schema or prebuilt model, the invoice_total or party_name your pipeline actually needs. 
  3. OCR turns images of text into selectable text so the other 2 jobs can run. Most APIs are built around one of these jobs and bill each differently.

Pricing units alone make comparison hard. On Amazon Textract, the same page costs $1.50 per 1,000 pages for plain text detection and $70 per 1,000 pages when you add Forms, Tables, and Queries together. 

LlamaParse bills credits per page by tier, Reducto bills per product per 1,000 pages, and the Foxit PDF Services API bills 1 credit per request regardless of page count.

In this article, we compare 10 document parsing APIs based on their features, pricing, usage limits, and deployment options.

Our top picks by use case 

The best document parsing API depends on whether you need layout structure, named fields, or OCR, and where your documents can be processed. These picks match common developer workflows to the APIs that support them. 

All prices and availability are current as of 16 Oct 2026.

Use case

Pick

Why it fits

Structure-aware JSON inside a wider PDF workflow

Foxit PDF Services API

Structural Extraction (Trial) returns 8 confirmed element types with bounding boxes and table cell grids at 1 credit per request, with PDF to Markdown and OCR on the same account

RAG ingestion with tiered cost and quality

LlamaParse

4 parse tiers from 1 to 45 credits per page at $1.25 per 1,000 credits; 10,000 free credits a month

Parse, extract and split behind one API, with VPC options

Reducto

r-1 parsing at $10 per 1,000 pages (preview), Extract at $20 including parsing, with hybrid and full VPC deployments

Field extraction you can trace back to the page

LandingAI Agentic Document Extraction

DPT-3 models with line- or word-level grounding and a Ground API that costs no credits

High-volume OCR to Markdown at one flat page price

Mistral OCR

OCR 4.1 at $4 per 1,000 pages, or $0.40 with the Batch API, with blocks, bounding boxes and confidence included

Prebuilt models for invoices, IDs and tax forms

Azure Document Intelligence

Layout and prebuilt models at $10 per 1,000 pages, with invoice, receipt, ID, bank statement, tax and mortgage models, plus containers

Layout-aware chunking on Google Cloud

Google Document AI

Layout Parser at $10 per 1,000 pages including chunking, with Gemini-based versions in preview

Paying per feature inside AWS

Amazon Textract

Text at $1.50 per 1,000 pages, Tables $15, Forms $50, and natural-language Queries

PDF extraction for teams already on Adobe PDF Services

Adobe PDF Extract API

Element tree with fonts and reading order, tables as CSV and XLSX, and 500 free Document Transactions a month

Self-hosted, open-source parsing

Docling

MIT-licensed, runs locally or air-gapped, with Docling Serve REST API. v2.140.0 released 16 Oct 2026

Each API appears once, under the use case it fits best. Several handle more than 1 job, and the feature table in each entry shows their coverage.

The Foxit Developer plan includes 500 credits a year, enough to run Structural Extraction on a sample of your hardest pages. Create a free developer account to start.

How we compared these document parsing APIs

We reviewed public documentation, pricing pages, official price feeds, model cards, and GitHub repositories as of October 16, 2026. 

Each API uses the same 8 comparison rows: outputs, scanned pages and OCR, tables and layout, field extraction, pricing, free allowance, limits, and deployment and data. Prices identify the billing unit and relevant tier or mode. Security and compliance statements remain vendor claims. 

The picks reflect use-case fit, not an overall ranking. Benchmark results appear separately, with their publisher, product version, and date. 

The 10 document parsing APIs in detail

Foxit PDF Services API

Our PDF Services API covers cloud-based PDF extraction, conversion, OCR, redaction, and compression. The extraction endpoints covered here are PDF Structural Extraction (Trial) and PDF to Markdown. 

Key features at a glance

Feature

Details

Outputs

PDF Structural Extraction (Trial) returns a ZIP with StructureInfo.json (schema v1.0.7), extracted images, and table renditions. Also: PDF to Markdown (tables as Markdown pipes or HTML), PDF to Excel, PDF to HTML, PDF to text, and image, text, or page extraction on sibling endpoints

Scanned pages and OCR

Our dedicated OCR endpoint makes scanned PDFs searchable and supports around 38 language codes, including Simplified and Traditional Chinese, Japanese, Korean, Thai, and 30+ European languages and variants. Our Structural Extraction documentation does not separately state an OCR language count

Tables and layout

In v1.0.7, our MCP server’s extraction schema defines 8 element types: title, head, paragraph, table, image, form, hyperlink, and formula. The output includes reading order and bounding boxes. Tables return as cell grids with row and column relationships

Field extraction

No schema-based extraction or prebuilt invoice models. Map elements to your fields in code, as the invoice parsing and contract metadata tutorials show

Pricing

1 credit per successful request, regardless of page count or file size within supported limits. Startup $1,750 a year (5,000 credits), Business $4,500 a year (15,000 credits). Credits reset yearly with no rollover

Free allowance

500 credits a year on the Developer plan

Limits

100 MB upload. Per application: 15 requests a minute in sandbox, 100 in production. Asynchronous workflow: submit, poll the task, then download the ZIP. Polling, uploads, and downloads use no credits. A page limit per request is not published as of 16 Oct 2026

Deployment and data

Cloud only, through one global API gateway. A delete endpoint removes uploaded and generated files. Our cloud-hosted PDF APIs are covered by SOC 2 Type II audits, and we support HIPAA BAAs. pdf_structural_analysis, pdf_extract, and pdf_ocr tools ship in the Foxit MCP Server

Where Foxit PDF Services API stands out

Per-request billing charges the same 1 credit for a 200-page report as a 1-page receipt, within supported limits. The cost advantage depends on document length and how much of your annual credit pool you use. 

These extraction endpoints share an account and credit pool with our other document services, including OCR, conversion, redaction, and eSign. If your workflow already uses those services, you can add extraction without a separate vendor integration. 

Our MCP server exposes structural extraction tools, so AI agents can call the API through the same interface as other PDF operations. 

What to consider

Our PDF Structural Extraction API is currently in trial and uses schema version v1.0.7. The API may change, so validate responses against the schema your application expects.

The API has no schema-based field extraction and no prebuilt invoice or contract models. You receive a typed element tree and map fields yourself, which the invoice parsing tutorial and contract metadata tutorial walk through. Teams that need named fields returned directly from the API should evaluate LandingAI, Reducto Extract, or Azure prebuilt models alongside this.

Paid credits expire at year-end without rollover. Forecast annual usage before choosing a plan. 

Best for

Pipelines that already convert, OCR, redact, or sign PDFs and need structure-aware JSON or Markdown from the same account, particularly on long documents where per-request billing is favorable.

Getting started

Create a free Foxit developer account, set up a sandbox application, and send your first PDF to the Structural Extraction endpoint. The Developer plan includes 500 credits a year with no credit card required.

Foxit API plans page with the headline Get Building Fast With Foxit APIs and a fox mascot coding at a desk

Our API plans and included credits.

Foxit API docs showing per-application rate limits of 15 requests a minute in sandbox and 100 in production

Sandbox and production request limits for our APIs.

LlamaParse

LlamaParse is the document parsing service from LlamaIndex, the company that also publishes the ParseBench benchmark. 

It accepts 130+ file types, returns Markdown or JSON, and offers 4 parse tiers that let you route documents by cost and quality.

Key features at a glance

Feature

Details

Outputs

Markdown, plain text, per-page JSON, XLSX and HTML tables, and layout bounding boxes as an add-on (+3 credits a page), plus schema-based JSON with citations and confidence through LlamaExtract

Scanned pages and OCR

OCR in 80+ languages (vendor claim) across 130+ file types, including images, Office files, HTML, spreadsheets, and audio

Tables and layout

Layout-aware table extraction that preserves cell structure, plus charts and diagrams, and enriched forms output in beta (+10 credits per page with a form)

Field extraction

LlamaExtract with JSON schemas: Cost-effective 8, Agentic 25, Agentic Plus 60 credits a page including parsing; Turbo 35

Pricing

$1.25 per 1,000 credits. Parse tiers: Fast 1, Cost-effective 3, Agentic 10, Agentic Plus 45 credits a page (approximately $1.25, $3.75, $12.50, and $56.25 per 1,000 pages). Starter $50 a month (40,000 credits), Pro $500 a month (400,000 credits)

Free allowance

10,000 credits a month

Limits

Parse accepts 512 MB per file. Extract caps at 100 MB and 500 pages per job. Concurrent jobs: 5 on Free and Starter, 20 on Pro, 100 on Enterprise. Text beyond 64 KB per page is dropped

Deployment and data

SaaS in the US (us-east-1) or EU (eu-central-1), with single-tenant, bring-your-own-cloud and self-hosted options for enterprise. Files cached 48 hours unless you opt out per request. No training on customer data by default. Claims SOC 2 Type II; HIPAA BAA for Enterprise

Where LlamaParse stands out

Fast costs $1.25 per 1,000 pages, compared with $56.25 per 1,000 for Agentic Plus. Routing simple scanned pages to Fast and complex layouts to Agentic Plus can substantially cut costs in mixed-document pipelines. 

Date-pinned tier versions keep the output format reproducible when you rerun the same job weeks later, supporting reliable regression testing on parser output. 

LlamaExtract adds JSON schema-based field extraction on top of parsing, with citations and confidence scores, at no separate integration. The same credential covers both.

What to consider

Concurrency caps are a real constraint on lower plans. One practitioner in the r/RAG community thread (June 1, 2026) reported throttling at 5 to 10 concurrent jobs, which can stall batch pipelines during peak ingestion. The 500-page Extract cap is also worth checking against your largest documents before committing.

LlamaParse’s own API reference confirms the Fast tier skips OCR on images and skips table and heading reconstruction, so its output is closer to spatially-laid-out raw text than the fully reconstructed Markdown the Balanced and Premium tiers produce. The HIPAA BAA scope is Enterprise only, so teams with PHI must confirm the plan level before sending protected documents.

The 48-hour file cache means documents persist by default unless you explicitly opt out per request, which is worth reviewing against your data policy.

Best for

RAG ingestion where you want to trade cost against quality on a per-document basis.

Getting started

Create an account at llamaindex.ai and start with the 10,000 free monthly credits.

LlamaParse pricing page showing Free, Starter at $50 a month, Pro at $500 a month, and custom Enterprise plans

LlamaParse plans, pricing, and included credits.

Reducto

Reducto offers parsing, extraction, splitting, classification, and a document-editing endpoint behind one API. Its r-1 model is its newest parsing tier, currently in preview. 

Pricing moved to a per-product structure on 1 Sep 2026, replacing the previous credit-based model.

Key features at a glance

Feature

Details

Outputs

Blocks with bounding boxes, whole-document Markdown, embedding-ready table summaries. Extract returns JSON with citations. Split, Classify, and Edit endpoints also available

Scanned pages and OCR

r-1 handles scans and handwriting (vendor claim), with 30+ file types and a multilingual guide covering 60+ languages

Tables and layout

Merged cells and nested headers on r-1, with dynamic table output (Markdown for simple tables, HTML for complex ones)

Field extraction

Extract $20 per 1,000 pages including parsing, Deep Extract $40. Extractions over 100 fields per page may incur a per-field surcharge

Pricing

Per 1,000 pages: r-1 Parse $10 (preview, opt-in on the API), legacy Parse $15 standard and $30 complex (2x for agentic modes). Citations add $2, custom regions $5. Parse and Extract batch jobs 20% off, Deep Extract excluded. Contracted customers keep credit-based pricing until renewal

Free allowance

$150 of usage on the Standard plan, equivalent to 15,000 credits at the standard $10-per-1,000-page r-1 Parse rate

Limits

100 MB direct upload (5 GB with presigned upload). No page limit on Standard. Synchronous calls time out near 15 minutes. 1,000 requests a second per key. 200 guaranteed concurrent pages on Standard

Deployment and data

SaaS, hybrid VPC (your storage, Reducto compute), or full VPC on Enterprise. Results available approximately 12 hours. Growth and Enterprise API artifacts expire within 24 hours under ZDR policy, except Studio jobs and persist_results results. Claims SOC 2 Type II on every tier. Never trains from Growth up; Standard training policy not stated

Where Reducto stands out

Teams can consolidate these document operations under one API and authentication credential rather than chaining vendors. The Edit endpoint also supports document filling. 

Hybrid VPC deployments let you keep documents in your own storage while Reducto handles compute. That arrangement splits the data-custody question in a way that SaaS-only providers can’t match without a full VPC agreement.

r-1 returns Markdown for simple tables and HTML for complex merged-cell tables, so your downstream parser can handle each format appropriately. 

What to consider

The r-1 tier is preview and opt-in via the API, meaning its behavior may change before general availability. Pricing changed 6 weeks before the check date, so re-verify rates before signing a volume commitment. The Standard plan’s training data policy is not explicitly stated, so teams with sensitive documents should ask before sending production data.

The Standard plan’s free allowance is $150 of usage, worth 15,000 credits at the standard $10-per-1,000-page r-1 Parse rate.

Best for

Teams that need parsing, extraction, and splitting in one place with a path to a private deployment.

Getting started

Sign up at reducto.ai and start with the Standard plan’s free usage.

Reducto pricing page showing a free Standard plan with $150 in usage, plus Growth and Enterprise custom pricing

Reducto’s Standard, Growth, and Enterprise plans.

LandingAI Agentic Document Extraction

LandingAI Agentic Document Extraction (ADE) made its v2 APIs generally available on 24 Jul 2026. Its DPT-3 model family returns extracted values linked to their exact location in the source document, which lets downstream processes verify or review what the model read.

Key features at a glance

Feature

Details

Outputs

Reading-order Markdown and hierarchical JSON (pages, blocks, table cells) with block bounding boxes, line-level grounding on DPT-3 Pro, and word-level grounding and word confidence on DPT-3 Verity (preview)

Scanned pages and OCR

DPT-3 Pro handles scans, handwriting, and non-Latin scripts. Verity is Latin-only and does not handle scans. 11 languages listed as strong

Tables and layout

Tables, forms, checkboxes, and figure descriptions. Spreadsheet cells grounded by Excel address

Field extraction

Extract API with JSON Schema and a schema builder. The Ground API links extracted fields to page bounding boxes and costs no credits, but is unavailable with zero data retention (ZDR) enabled

Pricing

$0.01 per credit. DPT-3 Pro priority: 1 credit per page plus 0.5 credits per 1,000 output characters. Async standard tier costs half. LandingAI quotes a 1.5-credit median for a typical business document on standard. Team plans start at $250 a month

Free allowance

1,000 credits on Explore, expiring 90 days after sign-up

Limits

Synchronous: 50 MiB, 100 pages a minute on Explore, 475-second timeout. Async jobs: PDFs up to 1 GiB and 6,000 pages on standard, with priority capped by rate limit. Both have a 6-hour timeout

Deployment and data

US (us-east-2) and EU (eu-west-1), with VPC and on-premises for Enterprise and optional ZDR on Team and Enterprise. Claims SOC 2 Type II, GDPR, and HIPAA with a BAA

Where LandingAI Agentic Document Extraction stands out

Grounding is the defining feature. DPT-3 Pro links every extracted value to the line that contains it, and DPT-3 Verity links to the word. The Ground API then lets you query those positions without spending additional credits, so your review UI or audit log can show exactly where in the document each field value came from.

Each table cell has a bounding box, so reviewers can highlight a tax line on a complex form rather than inspect a bare string. This helps regulated workflows where someone must sign off on what the model read. 

What to consider

Per-page cost moves with output character count, so dense documents with a lot of extracted text cost more than the per-page headline rate suggests. LandingAI quotes a 1.5-credit median for typical business documents on standard, but your actual distribution will depend on document type.

Free credits expire after 90 days from sign-up, not at month end, so plan your evaluation window accordingly. DPT-3 Verity is still in preview and limited to Latin scripts without scan support, so don’t route scanned or non-Latin documents to it.

Enabling ZDR disables the Ground API, which means you must choose between the strongest data-residency guarantee and the traceability feature. That tradeoff is worth understanding before choosing a plan.

Best for

Regulated extraction where each field value must be traceable to its location in the source document.

Getting started

Sign up at landing.ai and start with the 1,000 Explore credits (90-day expiry).

LandingAI pricing page showing Explore pay-as-you-go, Team from $250 a month, and custom Enterprise plans

LandingAI’s free Explore tier and credit-based pricing.

Mistral OCR

Mistral OCR is Mistral’s document-to-Markdown service, now at model version OCR 4.1 (released 16 Jul 2026). 

It bills one flat price per page and cuts that price by 90% for batch jobs, with confidence scores and bounding boxes included in both modes.

Key features at a glance

Feature

Details

Outputs

Per-page Markdown, image bounding boxes, and blocks in reading order with labels (text, title, table, equation, signature, others). Confidence at page, block, or word level. Tables inline or as separate Markdown or HTML

Scanned pages and OCR

OCR on images and PDF, DOCX, PPTX, and more, with 42 languages officially supported for OCR

Tables and layout

table_format options, with header and footer extraction

Field extraction

Document AI annotations with your JSON schema. A separate per-annotated-page price is not published alongside the OCR rates as of 16 Oct 2026

Pricing

OCR 4.1 (released 16 Jul 2026): $4 per 1,000 pages synchronous, $0.40 per 1,000 pages with the Batch API

Free allowance

Free-mode usage limits shown on the account’s Limits page. Mistral’s free mode may use inputs and outputs for training unless you opt out

Limits

50 MB and 1,000 pages per document. OCR 4 is not intended for real-time, latency-sensitive processing

Deployment and data

Hosted API, plus Amazon SageMaker and Microsoft Foundry, and single-container self-hosting for enterprise customers. Zero data retention on /v1/ocr requires approved pay-as-you-go access, with Files API and batch files excluded. ISO 27001, ISO 27701, and SOC 2 Type II listed on the trust center

Where Mistral OCR stands out

A single flat page price already includes blocks, bounding boxes, confidence scores, and reading-order labels. Most providers charge separately for bounding boxes or confidence, so the all-in-one pricing simplifies budget math for large batch jobs.

For pipelines that can wait for asynchronous results, the Batch API’s 90% discount brings the price to $0.40 per 1,000 pages, making it one of this list’s cheapest options for converting archives to Markdown. 

What to consider

OCR 4 is not intended for low-latency, real-time processing. If your pipeline needs synchronous sub-second responses on individual documents, test latency at your volume before committing.

Model versions retire quickly. OCR 4.0 was retired on 30 Sep 2026, less than 3 months after release. Pin your API calls to a specific model version and monitor Mistral’s release notes so you’re not caught by an automatic cutover. Published scores in the OCR 4 announcement are Mistral’s own reproductions of competitor benchmarks, not independent measurements.

Mistral officially supports 42 languages for OCR. Test on your target languages before committing.

Best for

Large batch conversions of documents to Markdown for RAG at a flat per-page price.

Getting started

Sign up at mistral.ai and generate an API key.

Mistral pricing card for OCR 4.1 listing OCR at $4 and Document AI at $5 per 1,000 pages

Mistral’s general pricing page. OCR rates are listed separately in its API pricing documentation.

Azure Document Intelligence

Azure Document Intelligence (previously Form Recognizer, then Azure AI Document Intelligence) is Microsoft’s cloud extraction service, now available as Azure Document Intelligence in Foundry Tools (API v4.0, 2024-11-30). 

It covers layout parsing, a broad catalog of prebuilt models, custom training, and container deployments for environments that cannot call a cloud API.

Key features at a glance

Feature

Details

Outputs

JSON with paragraphs and roles, lines and words with confidence and polygons, selection marks, tables with row and column spans, figures and sections. Layout can return Markdown with HTML tables for merged cells

Scanned pages and OCR

Read and Layout OCR printed text in a long language list, with handwriting on a shorter list. Add-ons for high resolution, formulas, fonts, barcodes, and searchable PDF output

Tables and layout

Spans and header flags. For tables that run across pages, Microsoft advises splitting the PDF and stitching the results in post-processing

Field extraction

Prebuilt invoice, receipt, ID, bank statement, check, pay stub, contract, US tax, and mortgage models, plus custom neural and template models and query fields as an add-on

Pricing

East US pay-as-you-go, per 1,000 pages: Read $1.50 (then $0.60 above 1 million), Layout and prebuilt models $10, custom extraction $30, add-ons $6, query fields $10. Batch costs the same as standard. Commitment tiers start at $190 a month for 20,000 prebuilt pages

Free allowance

500 pages a month on the F0 tier, which analyzes only the first 2 pages of each document (4 MB cap)

Limits

S0: 500 MB and 2,000 pages per analysis; 15 analyze requests a second by default (adjustable); asynchronous submit and poll

Deployment and data

Azure regions plus Read and Layout containers, including disconnected tiers. Inputs and results deleted 24 hours after analysis completes. SDKs for .NET, Python, Java, and JavaScript

Where Azure Document Intelligence stands out

Azure’s prebuilt model catalog is among the broadest on this list. Its dedicated models already map named fields, so you don’t have to write field-extraction logic for the standard document types listed above. 

Container deployments let you run Read and Layout processing inside your own infrastructure without sending documents to Azure endpoints. Disconnected containers extend that to air-gapped environments, though availability varies by model and API version.

Volume commitment tiers reduce per-page costs substantially for high-volume workloads. The $190/month tier covers 20,000 prebuilt pages at $9.50 per 1,000 pages rather than the list price.

What to consider

The F0 free tier analyzes only the first 2 pages of each document, which means a 30-page invoice only returns extraction on pages 1 and 2. Testing during evaluation must account for this limit, or you’ll get misleading accuracy results.

For multi-page tables, budget development time to stitch the extracted sections together during post-processing. 

Azure Content Understanding (GA with API version 2025-11-01) is a newer generative extraction layer on the same cloud that’s worth evaluating alongside Document Intelligence for use cases that benefit from generative models.

Best for

Invoices, receipts, IDs, and tax forms on Azure infrastructure, with an option for container or disconnected deployments.

Getting started

Sign up at portal.azure.com and create a Document Intelligence resource. The F0 tier gives 500 free pages a month.

Azure Document Intelligence pricing page listing Custom Field Extraction, Classification, Prebuilt, and Layout options

Azure Document Intelligence pricing and its F0 free tier.

Google Document AI

Google Document AI is Google Cloud’s document processing platform, covering OCR, layout parsing with chunking, form parsing, and specialized prebuilt parsers. The Layout Parser’s built-in chunking feature makes it a direct fit for RAG pipelines on Google Cloud.

Key features at a glance

Feature

Details

Outputs

Document objects with blocks, paragraphs, and tokens. Layout Parser builds a layout tree and context-aware chunks that carry their parent headings. Image and table annotations are GA (27 May 2026)

Scanned pages and OCR

Enterprise Document OCR reads printed and handwritten text in more than 200 languages (Google claim), with checkbox and math OCR add-ons

Tables and layout

Layout Parser detects tables, headings, page headers and footers. Google notes that PDF tables spanning pages “might be split in two tables”

Field extraction

Form Parser (key-value pairs and checkboxes), Custom Extractor (generative or trained), and Invoice, Expense, Bank Statement, Pay Slip, and ID parsers

Pricing

Per 1,000 pages: OCR $1.50 after the first 1,000, Layout Parser $10 including chunking, Form Parser and Custom Extractor $30 (then $20 above 1 million), Invoice and Expense parsers $0.10 per document up to 10 pages

Free allowance

First 1,000 Enterprise Document OCR pages are free

Limits

Online requests take up to 15 pages for most processors, or 30 in supported imageless mode. Batch jobs typically finish in 12 to 24 hours after starting, excluding queue time

Deployment and data

US and EU multi-regions, with VPC Service Controls and customer-managed keys. Google states it never trains Document AI models on customer data. FedRAMP High and HIPAA listed

Where Google Document AI stands out

Layout Parser includes context-aware chunks with parent-heading metadata at $10 per 1,000 pages, removing a separate chunking step from a standard RAG pipeline on Google Cloud. 

Image and table annotations became generally available on 27 May 2026, so the Layout Parser now returns visual assets alongside text structure in one pass.

What to consider

As of 16 Oct 2026, every Gemini-based Layout Parser version is in preview; only v1.0 from 2024 is stable. Most processors cap standard online requests at 15 pages, or 30 in supported imageless mode. Documents above those limits require batch processing, which typically takes 12 to 24 hours, excluding queue time. 

Multi-page tables may be split across 2 table objects, requiring post-processing stitching similar to Azure Document Intelligence. The per-document pricing on Invoice and Expense parsers ($0.10 per document up to 10 pages) is competitive for short invoices but doesn’t scale linearly beyond 10 pages.

Best for

RAG pipelines already running on Google Cloud that want layout-aware chunking included at the page price.

Getting started

Enable Document AI in your Google Cloud project at cloud.google.com/document-ai.

Google Document AI pricing table for Enterprise Document OCR, free for the first 1,000 pages, then $1.50 per 1,000

Per-page pricing for Google Document AI processors.

Amazon Textract

Amazon Textract charges per feature rather than per page tier, so you pay for Tables only if you call Tables, and Queries only if you call Queries. 

That pay-per-feature structure makes it flexible for pipelines that need different capabilities from different document types.

Key features at a glance

Feature

Details

Outputs

JSON blocks (words, lines, tables, key-value pairs, layout elements, signatures) with confidence scores and bounding boxes. Markdown output not stated on pages checked 16 Oct 2026

Scanned pages and OCR

Printed text in English, French, German, Italian, Portuguese, and Spanish, with handwriting in English only

Tables and layout

Tables and Layout features. Table extraction works best with visually separated, upright tables

Field extraction

Forms (key-value pairs), Queries in natural language (English only), Custom Queries with adapters, and prebuilt Expense, ID (US passports and driver’s licenses), and Lending APIs

Pricing

US East, first 1 million pages a month: text $1.50 per 1,000 pages, Tables $15, Forms $50, Queries $15, Layout $6.50 (then $4 after 1 million pages), Forms plus Tables plus Queries $70. Expense $10. ID $25 for first 100,000 pages, then $10

Free allowance

3 months for new AWS customers: 1,000 pages a month of text detection and 100 pages a month for Forms, Tables, and Layout

Limits

Synchronous calls take 1-page PDFs up to 10 MB. Asynchronous jobs take up to 500 MB and 3,000 pages from S3. TPS quotas per API, adjustable

Deployment and data

Most AWS regions including GovCloud, with PrivateLink. AWS may use inputs to improve its services unless you opt out with an AWS Organizations policy. HIPAA eligible, and covered by PCI, ISO, and SOC programs

Where Amazon Textract stands out

Text-only pipelines pay $1.50 per 1,000 pages without bundling unused field or table extraction. For one-off or low-volume extraction, Queries retrieve specific values using questions such as “What is the total due?” without a full extraction schema. 

GovCloud availability and PrivateLink support make Textract an option for US government workloads and VPC-isolated architectures that other providers on this list can’t reach.

What to consider

6 supported OCR languages with English-only handwriting and English-only Queries is a hard constraint. If your document set includes French invoices with handwritten annotations, Textract won’t serve that use case. 

Synchronous API calls accept only single-page PDFs up to 10 MB, so multi-page documents must go asynchronous through S3.

The data-use opt-out requires an AWS Organizations policy, not an individual account setting. If your organization doesn’t have that policy in place, AWS may use your documents to improve its services by default.

For generative extraction, also evaluate Amazon Bedrock Data Automation, AWS’s newer document layer. It costs $0.01 per page standard and $0.04 per page for custom models. 

Best for

English-language forms and tables already stored in S3, where you want to pay only for the specific features your pipeline calls.

Getting started

Enable Textract in your AWS account at aws.amazon.com/textract. The 3-month free tier includes 1,000 text pages a month.

Amazon Textract free tier page listing monthly page allowances for Detect Document Text and Analyze Document APIs

Amazon Textract’s 3-month free tier allowances.

Amazon Textract pricing examples showing 100,000 pages of text detection at $0.0015 per page for $150 a month

Amazon Textract pricing by feature and feature combination.

Adobe PDF Extract API

Adobe PDF Extract API is part of Adobe PDF Services. It returns a detailed element tree from native PDFs, including font data, reading order, and tables as CSV and XLSX, in a single ZIP output. 

Key features at a glance

Feature

Details

Outputs

A ZIP with structuredData.json containing an ISO-style element path (headings, paragraphs, lists, tables, figures, footnotes) with bounds, fonts, and reading order, plus tables as CSV, XLSX, and PNG, and a PDF to Markdown endpoint for LLMs. Page headers and footers are excluded

Scanned pages and OCR

Native or scanned PDFs; quality drops below 200 DPI. Optimized for English, with other Latin-script languages expected to work

Tables and layout

Cells spanning rows or columns are identified

Field extraction

No key-value pairs, checkboxes, schemas, or prebuilt models

Pricing

1 Document Transaction per 5 pages. Paid plans by sales quote only

Free allowance

500 Document Transactions a month across Adobe PDF Services, covering up to 2,500 Extract pages. That figure assumes every transaction covers exactly 5 Extract pages and no other PDF Services operations

Limits

100 MB; up to 400 pages (150 if scanned, lower for table-heavy files); 25 requests a minute on the free tier, 100 on enterprise

Deployment and data

Hosted only; SDKs for Java, .NET, Node.js, and Python. US and Europe processing regions, with uploaded and generated assets stored 24 hours by default and early deletion available. Compliance scope and training use not verified as of 16 Oct 2026

Where Adobe PDF Extract API stands out

Font metadata alongside structural elements is uncommon in this category. If your pipeline needs to distinguish between a heading that is bold because of its font weight and one styled that way by position alone, the element tree carries that information. Tables export as CSV and XLSX in the same ZIP as the JSON, which removes a conversion step for pipelines that feed spreadsheet data into downstream systems.

The PDF to Markdown endpoint gives LLM-oriented pipelines a direct path from native PDF to LLM-ready text without a separate conversion step.

What to consider

The 400-page limit (150 for scanned files) is a hard ceiling per request, and table-heavy documents may hit a lower effective limit. 

Paid plan pricing is by sales quote only, so you can’t estimate costs from a public page before speaking with Adobe. Compliance scope and training use were not verified as of 16 Oct 2026, so confirm those terms directly with Adobe before sending sensitive documents.

If you need named fields returned directly, evaluate LandingAI, Reducto Extract, or Azure prebuilt models alongside Adobe. 

Best for

Teams already licensing Adobe PDF Services who need font-aware structure and table exports from native digital PDFs.

Getting started

Sign up at developer.adobe.com and start with the 500 free Document Transactions a month.

Docling

Docling is an MIT-licensed open-source document parsing library from IBM Research. It runs locally or in air-gapped environments via Docling Serve, a REST API available in CPU and CUDA containers. v2.140.0 was released on 16 Oct 2026.

Key features at a glance

Feature

Details

Outputs

Markdown, JSON, and a DoclingDocument object with layout elements, reading order, and table structure

Scanned pages and OCR

Pluggable OCR backends (EasyOCR, Tesseract, RapidOCR, and others)

Tables and layout

TableFormer model for table structure recognition, with row and column detection

Field extraction

DocumentExtractor with a schema

Pricing

None; your compute only

Free allowance

Unlimited under the MIT license

Limits

Determined by your hardware

Deployment and data

Self-hosted; CPU and CUDA containers for Docling Serve. Data never leaves your infrastructure

Where Docling stands out

The MIT license means there are no per-page costs, no API keys, and no data leaving your infrastructure. For teams processing sensitive documents in air-gapped environments, or for high-volume pipelines where per-page costs compound quickly, self-hosting eliminates the billing variable entirely.

Docling Serve exposes the library as a REST API in Docker containers, so you can drop it into an existing microservices architecture without rewriting your integration layer.

What to consider

Self-hosting puts you in charge of scaling, uptime, and model updates. OCR quality depends on which backend you configure, and none of the pluggable backends match the accuracy of cloud OCR services on difficult scans. The DocumentExtractor schema-based extraction is less mature than the field extraction offerings from LandingAI, Reducto, or Azure.

Datalab’s Marker and Chandra publish Apache 2.0 code, but the model weights require a commercial license for organizations above $5M in revenue or $2M in funding, so factor that into your evaluation if you’re above those thresholds.

Best for

Air-gapped deployments, high-volume pipelines where per-page costs are prohibitive, and teams that need full data custody.

Getting started

Install via pip (pip install docling) or pull the Docling Serve container from the IBM Research GitHub repository.

What to compare before choosing a document parsing API

Pricing units are the first thing that makes these 10 hard to compare side by side, so the breakdown below starts there.

Per page, per credit or per request

All prices are from vendor pricing pages, checked 16 Oct 2026.

API

Billing unit

Example list price

Free allowance

Foxit PDF Services API

Request (1 credit), any page count within limits

Business: $4,500 a year for 15,000 credits; $0.30 per request only when all included credits are used

500 credits a year

LlamaParse

Credits per page by tier

Cost-effective: $3.75 per 1,000 pages

10,000 credits a month

Reducto

Pages, priced per product

r-1 Parse: $10 per 1,000 pages (preview)

$150 of usage

LandingAI ADE

Credits per page plus output characters

DPT-3 Pro standard: 0.5 credits per page plus 0.25 credits per 1,000 output characters ($0.005 per page plus $0.0025 per 1,000 characters)

1,000 credits for 90 days

Mistral OCR

Pages

$4 per 1,000 pages, $0.40 with the Batch API

Free-mode limits shown in account

Azure Document Intelligence

Pages, priced per model

Layout: $10 per 1,000 pages

500 pages a month (2 pages per document)

Google Document AI

Pages, priced per processor

Layout Parser: $10 per 1,000 pages

First 1,000 OCR pages

Amazon Textract

Pages, priced per feature

Tables: $15 per 1,000 pages

3-month free tier

Adobe PDF Extract API

Transaction per 5 pages

Sales quote

500 transactions a month

Docling

None (self-hosted)

Your compute

Unlimited

Worked example, long document. At full use of our Business plan’s 15,000 annual credits, Foxit allocates $0.30 per request. A 200-page document would cost $0.80 on Mistral OCR, $2.00 on Azure Layout or Reducto r-1, and $3.00 on Textract Tables. These are calculations from list prices, not equivalent-output benchmarks. 

Worked example, short document. A 2-page invoice still costs $0.30 on Foxit at full credit utilization, versus $0.008 on Mistral OCR, $0.02 on Azure Layout or Reducto r-1, and $0.025 on LlamaParse Agentic. 

Where the lines cross. At full credit utilization, the $0.30 request cost breaks even at 20 pages against Textract Tables, 24 against LlamaParse Agentic, 30 against the $10-per-1,000-page services, and 75 against Mistral OCR. These are calculations from list prices. 

Commitment. Our paid plans use annual credit pools, while most per-page services bill pay-as-you-go. Unused credits raise the effective cost per request. Each successful PDF Services processing call costs 1 credit within supported limits, including each separate call in a batch. 

Capabilities still differ. These are price comparisons, not like-for-like capability comparisons. Use the job-coverage table below to check whether you need layout parsing, field extraction, or OCR. 

Estimate cost from your actual document lengths and annual volume before choosing a billing model. 

Parsing, field extraction and OCR as distinct jobs

Document parsing turns a document into machine-readable structure, including text, headings, tables, reading order, and sometimes positions. 

The table below shows which of the 3 jobs each API covers.

API

Layout parsing

Field extraction

OCR for scans

Foxit PDF Services API

Structural Extraction (Trial), PDF to Markdown

Map elements in code

Dedicated OCR endpoint (about 38 language codes)

LlamaParse

Yes

LlamaExtract

Yes

Reducto

Yes

Extract, Deep Extract

Yes

LandingAI ADE

Yes

Extract API with grounding

DPT-3 Pro

Mistral OCR

Markdown and blocks

Schema annotations

Yes

Azure Document Intelligence

Layout

Prebuilt and custom models

Read and Layout

Google Document AI

Layout Parser

Form Parser, Custom Extractor, prebuilt parsers

Enterprise Document OCR

Amazon Textract

Layout blocks (no Markdown stated)

Forms, Queries, prebuilt APIs

6 languages

Adobe PDF Extract API

Structure JSON, Markdown

No

Scanned PDFs

Docling

Yes

DocumentExtractor with a schema

Pluggable OCR

Choose layout parsing when you need document structure for chunking, search, or LLM input. Choose field extraction when you need named values for a database or business workflow. 

Field extraction does not always cost more than layout parsing. Compare the specific product and mode rather than assuming a fixed premium. 

What happens to your documents

Compare retention, training policies, and private deployment before sending sensitive documents. 

The table uses vendor security and data-use documentation checked on October 16, 2026. “Not published” means the reviewed pages did not state a policy. 

API

Default retention

Training on your data

Private deployment

Foxit PDF Services API

Delete endpoint available. Retention period not published as of 16 Oct 2026

Not published as of 16 Oct 2026

Cloud only

LlamaParse

48-hour cache (opt out per request)

No, by default

BYOC or self-hosted (enterprise)

Reducto

Results available approximately 12 hours. Growth and Enterprise API artifacts expire within 24 hours, except Studio and persist_results

Never from Growth up; Standard not stated

Hybrid or full VPC (enterprise)

LandingAI ADE

Optional ZDR on Team and Enterprise, with results deleted after retrieval

Not used under zero retention

VPC or on-premises (enterprise)

Mistral OCR

Optional ZDR with approved pay-as-you-go access, excluding Files API and batch files

Free mode may train unless you opt out

Single container (enterprise)

Azure Document Intelligence

Deleted 24 hours after analysis completes

Check the data privacy page

Containers, including disconnected

Google Document AI

Online document data not persisted. Batch data normally deleted after processing, with a 1-day failsafe TTL

Never (Google claim)

No on-premises option found

Amazon Textract

May be stored to improve services

May be used, unless you opt out via AWS Organizations policy

PrivateLink; no container

Adobe PDF Extract API

24-hour default asset retention, with early deletion available

Not verified as of 16 Oct 2026

Hosted only

Docling

Your infrastructure

Not applicable

Self-hosted

For regulated documents, confirm permitted regions, retention, training opt-outs, and deployment options before evaluating accuracy. A strong benchmark score cannot override a data-handling restriction. 

Which accuracy claims you can trust

Who runs the benchmarks. The callout below names the organizations behind the main tests. LongArray-Extract is run by Extend, and Tensorlake ran its own test. Treat vendor-run results as evidence about those tests, not independent validation. 

Versions go stale. OmniDocBench’s only Mistral entry uses the March 2025 model, which Mistral had retired by October 16, 2026. RD-TableBench was run in November 2024. Mistral’s OCR 4 announcement compares OCR 4 against competitor models, using Mistral’s own reproductions of competitor scores rather than results from the benchmark owners. Scores attached to retired model versions don’t tell you how the current API performs.

Benchmark scores. LlamaIndex’s ParseBench leaderboard reports Azure Layout at 59.6, Docling at 50.6, Google Layout Parser at 50.4, Textract at 47.9, and its own LlamaParse Agentic at 84.9. 

Coverage gaps. As of October 16, 2026, we found no public benchmark covering our PDF Structural Extraction API or Adobe PDF Extract API.

Test 20 to 50 of your hardest pages, including scans, merged-cell tables, 2-column layouts, and handwritten annotations, through 2 or 3 shortlisted APIs. Compare the output with values you have checked by hand. This measures performance on your documents rather than a vendor-curated dataset. 

Benchmark ownership. ParseBench is run by LlamaIndex, which publishes LlamaParse. RD-TableBench is run by Reducto. OmniDocBench is published by OpenDataLab, makers of a competing parser. olmOCR-Bench is published by the Allen Institute for AI, another parser creator. Each benchmark publisher’s product wins or places strongly in its own benchmark. Vendor-run benchmark measurements are not independent validation.

Where Foxit fits

Setting the pricing and job-coverage comparisons aside, here is what the Foxit PDF Services API itself covers for a team evaluating it directly.

Extraction routes on the PDF Services API

Our extraction endpoints cover typed JSON, Markdown for RAG pipelines, tables as spreadsheets, and OCR for scanned files. Structural Extraction remains in Trial; its schema and limits are covered in the Foxit entry above. 

What else shares the same credit pool

From the same account, you can also convert Office files, redact sensitive values, compress or split PDFs, generate documents, and send them for signature. 

Tutorials and comparisons

The structured JSON tutorial, invoice parsing tutorial, and contract metadata tutorial show how to map Structural Extraction output to your own field schema in code. Our Google Document AI comparison covers that API’s layout and extraction capabilities alongside ours.

The free Developer plan

Our Developer plan includes 500 credits a year to try these endpoints before committing to a paid plan. 

Create a free Foxit developer account and turn your first PDF into structured JSON with the PDF Structural Extraction API.

What else to know before you pick a document parsing API

You may only need plain text, a free tier for a prototype, or a service you can run yourself.

Yes. Our PDF to text endpoint extracts text from PDFs, and services such as Amazon Textract and Azure Document Intelligence offer text-detection or Read endpoints. An open-source library may be enough for digital PDFs. Scanned PDFs need OCR before their text can be extracted.

Yes. Our Developer plan includes 500 credits a year. LlamaParse offers 10,000 credits a month, Adobe 500 Document Transactions, and Azure 500 pages, though Azure processes only 2 pages per document on its free tier. Docling is free to self-host, but you still pay for compute.

Yes. Docling Serve exposes Docling as a self-hosted REST API. Some hosted vendors also offer private deployments, including Azure containers, Reducto VPC deployments, LlamaParse self-hosting, LandingAI on-premises, and Mistral’s single-container option. Availability depends on the vendor and plan, and self-hosting leaves you responsible for infrastructure, scaling, and updates.

10 Best HTML to PDF APIs for Developers in 2026

Monitor showing HTML invoice code passing through an API icon and rendering as a finished PDF invoice

The best HTML to PDF API depends on two things: the engine that renders your HTML and what counts as one billable render. This guide compares 10 options, including Foxit PDF Services API, DocRaptor, PDFShift, and Gotenberg, on engines, JavaScript handling, layout controls, pricing, and free allowances. Use it to build your shortlist and test your hardest template before you pay.

Running Puppeteer for a few invoices is different from maintaining it under concurrent load. JavaScript timeouts, memory use, cold starts, and font differences between development and production can make self-hosted rendering harder to operate as demand grows.

Moving to a hosted API swaps those problems for two questions, which engine renders your HTML and what counts as one billable render. 

Those two questions drive the decision more than the headline plan price, because the billing models across these APIs have almost nothing in common. PDFShift charges 1 credit per 5 MB of output, PDFCrowd 1 credit per 0.5 MB, PDF.co 9 credits per page, Browserless one unit per 30 seconds of browser time, and DocRaptor one document whatever its size or page count.

We compare our Foxit PDF Services API with 9 alternatives: DocRaptor, PDFShift, ConvertAPI, PDFCrowd, Api2Pdf, Browserless, PDF.co, Nutrient DWS Processor API, and Gotenberg. 

The comparison covers rendering engines, JavaScript handling, layout controls, output options, pricing, free allowances, limits, SDKs, and hosting, using public documentation, API specifications, pricing pages, and GitHub repositories.

Top picks by use case

The best HTML to PDF API depends on where your layout logic lives and how your renders will be billed. 

For products that render HTML and then process the resulting PDF, the Foxit PDF Services API covers both steps on one credit pool. 

For print-styled documents with complex pagination, DocRaptor’s Prince engine applies CSS paged media directly. The table below maps each pick to the use case it fits best.

Use case

Pick

Why it fits

HTML to PDF followed by other PDF steps or signing

Foxit PDF Services API

1 credit per conversion regardless of page count, same credit pool as compress, merge, watermark, OCR, and eSign

Print-grade layouts with CSS paged media

DocRaptor

Prince 15.1 engine; PDF/A, PDF/UA, and PDF/X profiles; Basic $15 a month for 125 documents

High-volume Chromium rendering at a low price per credit

PDFShift

Chromium 142; 1 credit per 5 MB of output; Business $99 a month for 25,000 credits

Page breaks controlled by CSS selector

ConvertAPI

AvoidBreakElements, BreakBeforeElements, and BreakAfterElements; UK, EU, and US endpoints; 250 free conversions at sign-up

Archival output with multiple PDF/A variants

PDFCrowd

PDF/A-2, PDF/A-3, and PDF/A-4 variants, tagged PDF, SDKs in 7 languages; 1 credit per 0.5 MB of output

Paying only for the compute a render uses

Api2Pdf

$1 a month plus $0.001 per MB and $0.00019551 per second of compute; Chrome, wkhtmltopdf, or LibreOffice per call

Puppeteer-level control without running browsers

Browserless

/pdf REST API with waitForSelector and waitForFunction, with a free plan covering 1,000 units a month

HTML to PDF inside a no-code-friendly PDF toolbox

PDF.co

HTML templates, parsing, forms, and barcodes on one credit balance, with Make and Zapier modules; 9 credits per page

Static HTML that becomes fillable PDF forms

Nutrient DWS Processor API

HTML form fields turn into fillable PDF fields; HTML to PDF costs 0.5 credit

Free, self-hosted conversion

Gotenberg

MIT-licensed Docker API with Chromium and LibreOffice, with v8.38.1 released 15 Oct 2026

These picks highlight different use cases, not exclusive capabilities. Check each API’s features and limits against your full workflow.

Create a free Foxit developer account and convert your first HTML file or URL to PDF with the PDF Services API.

How we compared these HTML to PDF APIs

Every fact in this article comes from public documentation, API specs, pricing pages, and GitHub, all checked on 16 Oct 2026. Recheck any price before making a purchasing decision, since billing details change.

Compare inputs and engines, JavaScript timing, layout controls, output options, pricing, free allowances, limits, SDKs, and hosting. Where a vendor does not publish a number or engine name, the table notes that gap as of 16 Oct 2026.

Three APIs in this list do not name their HTML rendering engine in their public documentation, namely Foxit PDF Services API, PDFCrowd, and PDF.co. ConvertAPI names Chrome headless. Nutrient’s overview names Chromium, but the generation guide does not and conflicts with the overview on JavaScript support.

We found no independent, reproducible fidelity or speed benchmark of hosted HTML-to-PDF APIs in the sources reviewed. The comparisons that rank for this query are vendor-written.

All prices are in USD unless otherwise noted. Billing period is named beside every price.

The 10 HTML to PDF APIs in detail

Start with the engine and the controls your template needs. Chromium-based APIs such as PDFShift, Browserless, Gotenberg, and Api2Pdf’s Chrome route use a browser print engine. DocRaptor uses Prince for CSS paged media. Check the engine comparison table for differences in JavaScript, headers, and footers.

Foxit PDF Services API

Our PDF Services API is a cloud REST API for automating PDF workflows. 

After converting HTML to PDF, you can compress, merge, watermark, protect, or OCR the result, or send it for signature with our eSign API, using the same developer account and shared credit pool.

Feature

Details

Inputs and engine

Upload an HTML file (embedded CSS, images, and web fonts supported, with external resources needing to be reachable) or pass a public URL. Word, Excel, PowerPoint, images, text, and Markdown convert on sibling endpoints. The API reference does not name the HTML rendering engine.

JavaScript and waits

The URL route renders the page with JavaScript, with a 30-second JavaScript timeout and a 60-second maximum page load. No delay or wait-for-selector parameter is documented. For uploaded HTML, ship fully rendered markup.

Layout controls

Page width and height in points (72 to 14,400, default 595 x 842, A4), rotation, single-page or multi-page mode, and scaling (none, scale, enlarge). No margin or header and footer parameters are documented. Set margins and page breaks with @page and print CSS inside the HTML.

Output options

PDF. Separate endpoints compress, protect, linearize, watermark, flatten, merge, or auto-tag the file for accessibility, at 1 credit each.

Pricing

1 credit per successful conversion, regardless of page count or file size within supported limits. Startup $1,750 a year (5,000 credits); Business $4,500 a year (15,000 credits). Credits reset annually with no rollover.

Free allowance

500 credits a year on the Developer plan.

Limits

100 MB maximum input for uploaded HTML files; no size limit is published for the URL route. Asynchronous: submit, poll the task, then download. Polling and downloads consume no credits.

SDKs and hosting

REST with OAuth client credentials, with code samples in Python, Node.js, and PHP in the developerapidemos repository. The pdf_from_html and pdf_from_url tools are available in the Foxit MCP server, and n8n and Power Automate walkthroughs are on the Foxit blog. Cloud only.

Alt text: Foxit API pricing page showing eSign at 5 credits per envelope and Developer, Startup, Business, and Volume plans

Our pricing calculator and credit reference list Business at $4,500/year for 15,000 credits, while the pricing page’s plan cards show a custom Volume tier. Confirm the available plan with our team before purchasing.

Where Foxit PDF Services API stands out

A two-page invoice and a 150-page annual report each use 1 conversion credit within the supported limits. That keeps page count out of the conversion cost calculation, though follow-on operations consume additional credits.

The same credit pool covers the steps that typically follow a render. Compress the file for email delivery, merge it with a cover page or terms document, watermark it, protect it with a password, auto-tag it for accessibility, or send it for signature with eSign, all without touching a second vendor or a second billing system.

For agentic workflows, the Foxit MCP Server exposes pdf_from_html and pdf_from_url as tools that LLM agents can call directly, without custom REST client code.

Foxit PDF Services API page explaining MCP server access for AI agents at no added cost

The Foxit PDF Services page confirming MCP server access comes at no added cost beyond existing API credentials.

What to consider

The API reference does not document margin, header and footer, or wait-for-selector parameters. Layout control happens inside the HTML itself, using @page rules and print CSS. If your template relies on request-level margin or footer injection, you’ll need to build those into the markup before upload.

For uploaded HTML, conversion follows four steps: upload the file, submit the job, poll for completion, and download the PDF. Polling and downloads consume no credits. Build your error handling around task status rather than a single conversion response. Our htmlToPDF.py sample shows this flow in Python, with a Node.js equivalent alongside it.

GitHub view of htmlToPDF.py in Foxit’s developerapidemos repo with upload and conversion functions

The htmlToPDF.py sample on GitHub, showing the working Python implementation of the async flow described above.

Flow diagram showing upload, submit conversion task, poll task status, and download PDF steps

The four-step async flow. Only the submit step consumes a credit; polling and downloading are free.

Credits are sold as an annual pool with no rollover. If your rendering volume is spiky or hard to predict, estimate conservatively and track consumption through the developer console.

Foxit developer console showing 0 credits used, 500 remaining, and an active Developer plan

The Foxit developer console’s dashboard, showing the Credits Used tile alongside the active plan’s included credit balance.

Best for

Products where the HTML render is the first step of a longer document workflow, such as generating an invoice and then compressing, watermarking, and sending it for signature on the same account.

Getting started

Create a free Foxit developer account and convert your first HTML file or URL to PDF with the PDF Services API.

Foxit account sign-up page noting no credit card required and 500 free credits a year

The Foxit developer sign-up page, confirming no credit card is required to get started.

DocRaptor

DocRaptor is built on Prince, a CSS typesetting engine that treats HTML as print layout input rather than a browser page. 

It’s the go-to for documents whose pagination must match a designed layout, including long reports, financial statements, and books.

Feature

Details

Inputs and engine

An HTML string or a URL. Prince 15.1 is the default engine (pipeline 10.1), and older Prince versions can be pinned. Also outputs XLS and XLSX.

JavaScript and waits

Off by default. javascript=true runs DocRaptor’s own JavaScript engine, not Chromium. Signal readiness with docraptorJavaScriptFinished(). JavaScript errors fail the document.

Layout controls

Page size, margins, headers, footers, and page numbers set in CSS (Prince paged media). Print media is the default, and using screen media when you meant print is described in DocRaptor’s docs as the most common issue.

Output options

PDF/A-1, 2, and 3 (a and b); PDF/UA-1; PDF/X-1a, 3, and 4; 40 or 128-bit encryption with print, copy, and edit permissions and font embedding controls.

Pricing

Per document, any size or complexity. Basic $15 a month (125 documents); Professional $29 (325); Premium $75 (1,250); Max $149 (5,000); Bronze $399 (15,000); Silver $1,000 (40,000). Overage from 12 cents a document on Basic down to 2.5 cents on Silver.

Free allowance

5 documents a month, plus unlimited watermarked test documents on every plan.

Limits

60 seconds synchronous, 600 seconds asynchronous, 30 simultaneous requests. Callbacks fire only on success, so poll to catch failures.

SDKs and hosting

PHP, Python, Node, Ruby, Java, and .NET; Zapier. Rendering runs in AWS us-east-1 only. Claims SOC 2 Type II and GDPR compliance; HIPAA on paid plans with a BAA. DocRaptor is part of Artifex Software.

DocRaptor plan table from Free at 5 documents a month to Silver at 40,000 documents for $1,000

DocRaptor’s full tier ladder, from the free plan through Silver’s 40,000 documents a month.

Where DocRaptor stands out

Prince applies CSS paged media to page size, running headers and footers, margins, and page numbering. Pagination is designed in CSS rather than patched with browser workarounds, which makes complex multi-page layouts consistent and predictable.

DocRaptor’s per-document billing is indifferent to file size or page count. A 200-page regulatory report costs the same credit as a two-page invoice, so teams with large, complex documents get more predictable costs than they would with size-based billing.

PDF/A, PDF/UA, and PDF/X profiles are available at render time with no extra API call. If your compliance requirements include archival or accessibility profiles, they’re applied in the same request that generates the document.

What to consider

JavaScript is off by default. DocRaptor offers its own JavaScript engine and Prince’s separate engine, enabled through different parameters. Test client-rendered charts, dynamic tables, and single-page-app templates with the engine you choose; Chrome previews alone do not establish compatibility.

Rendering runs only in AWS us-east-1. If data sovereignty requires keeping rendering in the EU or Asia-Pacific region, DocRaptor has no regional routing option.

Async jobs send callbacks only on success. A failed async job produces no callback, so your polling logic must handle both successful and failed states.

Best for

Long, print-styled reports and documents whose pagination must match a designed print layout.

Getting started

Start with DocRaptor’s unlimited watermarked test documents on any plan to validate your template before buying a paid tier.

DocRaptor docs for the test parameter, which creates watermarked documents that don’t count against limits

DocRaptor’s documentation on the test parameter, which produces unlimited watermarked documents that do not count against the plan limit.

PDFShift

PDFShift is a Chromium-based rendering API with plans for a range of volumes and version pinning that lets you choose when to change the Chromium version used for your templates.

Feature

Details

Inputs and engine

A URL or raw HTML, an array of sources for parallel conversion, or stored HTML templates. Headless Chromium is the engine, and the X-Processor-Version header picks Chromium 116 or 142, with new accounts defaulting to the latest.

JavaScript and waits

A delay of up to 10 seconds, a wait_for JavaScript function (fails after 30 seconds), network idle by default, plus options to disable JavaScript, inject JavaScript or CSS, and lazy-load images.

Layout controls

Format presets or custom sizes, margins, orientation (portrait or horizontal), zoom, page ranges, and the print stylesheet. Header and footer HTML supports page, total, date, title, and URL variables, but does not inherit the body CSS.

Output options

PDF, PNG, JPEG, and WEBP, with metadata, password protection and permissions, and text or image watermarks. PDF/A is not in the API schema.

Pricing

1 credit per 5 MB of output (a 14 MB PDF uses 3 credits). Starter $9 a month (500 credits); Boost $24 (2,500); Growth $39 (5,000); Business $99 (25,000), up to $999 (1,000,000). Annual billing costs 10 times the monthly price. Overage from $0.04 down to $0.001 a credit.

Free allowance

50 credits a month, billed at 1 credit per 5 MB of output, with a 15 MB maximum file size and a 30-second timeout. A watermarked sandbox allows 10 requests a minute.

Limits

250 documents a minute. Timeouts run up to 15 minutes on paid plans. Result URLs are kept for 2 days, and webhooks are available for asynchronous jobs.

SDKs and hosting

Language guides for Node.js, Go, PHP, Python, and Ruby. Exports directly to S3, Google Cloud Storage, or R2. French company; GDPR and HIPAA BAA links in the footer.

PDFShift pricing showing the Business plan at $99 a month for 25,000 credits, counted at 1 credit per 5 MB

PDFShift’s pricing calculator, confirming the Business tier at 25,000 credits for $99 a month. The page picks a single recommended tier from a credit-count slider rather than listing all tiers at once.

Where PDFShift stands out

Version pinning lets you choose Chromium 116 or 142 with the X-Processor-Version header rather than follow PDFShift’s default engine. It reduces one source of rendering changes, but you still need to test templates when their fonts, assets, or application code change.

The tier ladder runs from $9 a month to $999, covering a wide volume range without requiring a sales conversation. Direct export to your own S3, Google Cloud Storage, or R2 bucket means rendered PDFs land in your storage without an extra download step.

Size-based billing rewards lean templates. PDFs that are mostly text and vector graphics use fewer credits than image-heavy designs, giving you an incentive to optimize output size.

What to consider

Header and footer templates do not inherit your page CSS. Styles applied in the body are invisible inside the header or footer, which is a standard Chromium limitation. You need to duplicate any relevant styles inside those templates.

Image-heavy PDFs consume credits faster than plain ones, because 1 credit covers 5 MB of output. A rendering pipeline for photo-rich marketing materials will cost more than one for text-heavy invoices.

PDF/A output is not in the API schema as of 16 Oct 2026. If you need archival profiles, this API won’t meet that requirement.

Best for

High-volume rendering of modern HTML and CSS where cost per render and predictable engine behavior are the priorities.

Getting started

Use PDFShift’s 50 free monthly credits to test your templates and measure per-file credit consumption before choosing a paid tier.

ConvertAPI

ConvertAPI is a Chromium-based conversion API with CSS-selector page break controls and regional endpoints in the UK, EU, and US.

Feature

Details

Inputs and engine

An HTML file or a link to one, or a live URL. The OpenAPI description names Chrome headless. With RespectViewport set to false it behaves like Chrome’s print to PDF.

JavaScript and waits

JavaScript on by default. ConversionDelay runs up to 30 seconds. WaitElement accepts a CSS selector. User JavaScript and CSS injection are supported, as are hiding or showing elements, lazy-loaded content, ad and cookie-banner blocking, and a timeout up to 1,200 seconds.

Layout controls

Page size presets or custom millimeters, orientation, margins (10 mm default), and scale. Header and footer HTML with page number and total pages. Page breaks by selector with AvoidBreakElements, BreakBeforeElements, and BreakAfterElements. CssMediaType defaults to screen.

Output options

PDF. PDF/A and PDF/UA are separate PDF tools, not HTML-to-PDF parameters.

Pricing

Per conversion. Monthly billing: Developer $35 (1,000 conversions); Startup $95 (5,000); Growth $175 (15,000); Business $350 (50,000). Annual billing: $30, $85, $160, and $300 a month with annual pools of 12,000, 60,000, 180,000, and 600,000 conversions. Overage $0.05 a conversion on every plan, minimum 20 overage conversions per billing period.

Free allowance

250 conversions at sign-up.

Limits

Maximum file 200 MB on Developer, up to 2 GB on Enterprise. Developer through Business plans allow 1 to 4 concurrent conversions. Enterprise offers unlimited concurrency. Stored results are kept up to 3 hours.

SDKs and hosting

Official open-source SDKs; Zapier, Make, and n8n. Regional endpoints in London, Amsterdam, Frankfurt, US East, and US West. ISO 27001 and GDPR compliance cited consistently across its documentation.

ConvertAPI yearly pricing with Developer at $30, Startup at $85, and Growth at $160 a month

ConvertAPI’s annual-billing tier prices, which match the $30/$85/$160 figures cited in the feature table.

ConvertAPI HTML to PDF API page naming Chrome headless, with cURL examples and an OpenAPI schema link

ConvertAPI’s HTML to PDF API reference page, naming Chrome headless as the engine, with a link to the OpenAPI schema beside it.

Where ConvertAPI stands out

The AvoidBreakElements, BreakBeforeElements, and BreakAfterElements parameters let you control page breaks by CSS selector in the API request. That’s a level of pagination control you’d normally need to patch into the HTML itself, and it’s available across all plans.

Regional endpoints in London, Amsterdam, Frankfurt, and two US regions let you choose where rendering runs. If you have EU data residency requirements, confirm the applicable storage, transfer, and contractual terms as well as the endpoint location.

A configurable timeout of up to 1,200 seconds gives slow pages more time to finish rendering. Check it against your application’s own request timeout and response-time requirements.

What to consider

The default media type is screen. If your stylesheet uses @media print rules, you need to set CssMediaType explicitly in each request. Missing this is easy and produces output that ignores your print styles entirely.

Each request can count as one or more conversions, and successful responses report ConversionCost. Failed requests are also billed. Review the ConversionCost field in your response to avoid surprises.

ConvertAPI’s compliance wording varies across its own pages. ISO 27001 and GDPR appear consistently; treat other compliance claims as requiring verification.

Best for

Invoices and reports that need explicit control over where pages break, processed in the UK, EU, or US.

Getting started

The 250 free conversions at sign-up are enough to validate page break behavior and media type handling on your template before purchasing a plan.

PDFCrowd

PDFCrowd offers the widest PDF/A coverage in this comparison, with variants from PDF/A-2a through PDF/A-4f, tagged PDF, and credit-based billing that scales with output size.

Feature

Details

Inputs and engine

A URL, an HTML file, zipped HTML with assets (up to 300 MB), raw HTML, or Jinja-style data templates. The rendering engine is not named in public documentation. The API pins converter versions (24.04, 20.10, 18.10).

JavaScript and waits

javascript_delay and wait_for_element, both capped by the plan’s maximum delay (1 to 15 seconds). Custom JavaScript is supported, and JavaScript can be disabled.

Layout controls

Page size, orientation, and margins. Header and footer HTML with page number and page count classes. A mode that prefers CSS @page rules and viewport options are also available.

Output options

PDF/A-2a, 2b, 2u, 3a, 3b, 3u, 4, 4e, and 4f. Tagged PDF and encryption with user and owner passwords are supported. PDF/A cannot be combined with encryption, forms, or watermarks.

Pricing

1 credit per 0.5 MB of output. Nano $1 a month billed annually (10 credits); Micro $11 (200); Small $23 (1,000); Medium $35 (5,000); Large $61 (10,000); Ultimate $106 (20,000); Enterprise tiers up to $2,630 (3,000,000). Unused credits do not roll over.

Free allowance

100 test API credits valid for one month.

Limits

60-second limit per conversion. Rates run from 15 to 480 conversions a minute and 1 to 16 concurrent by plan, with 429 and 430 responses when exceeded. No async or webhook option found as of 16 Oct 2026.

SDKs and hosting

PHP, Java, .NET, Python, Node.js, Ruby, and Go, plus a command-line tool; Zapier, Make, Pipedream, and others. Operated by an EU company with GDPR processor terms.

PDFCrowd plan table showing price, credits, rate limit, concurrency, and max delay from Nano to Large

PDFCrowd’s credit-based tiers, priced at 1 credit per 0.5 MB of output.

Where PDFCrowd stands out

PDFCrowd supports PDF/A variants from PDF/A-2a through PDF/A-4f, including PDF/A-4e for engineering documents. Tagged PDF output is also available, but tagging alone does not establish accessibility compliance.

Occasional overage is not billed on PDFCrowd’s documented policy, and entry-tier pricing starts at $1 a month billed annually, which makes low-volume archival use affordable.

Zipped HTML upload with assets up to 300 MB handles complex templates with many local resources without requiring a public URL or a content delivery network.

What to consider

Entry plans cap JavaScript waits at 1 to 2 seconds and run one conversion at a time. Concurrency and wait limits scale with plan tier, so a low-cost entry plan may not handle templates that depend on slow client-side rendering.

At 0.5 MB per credit, image-heavy or font-rich PDFs consume more credits than smaller exports. Compare the cost for your actual output sizes, not credit counts alone, because vendors price credits differently.

Sustained overage beyond occasional instances can lead to account suspension according to PDFCrowd’s overage documentation. Monitor consumption carefully on smaller plans.

Best for

Archival or accessible PDFs from HTML at steady monthly volume, especially when choosing among PDF/A variants is a requirement.

Getting started

The 100-credit trial covers a month of testing, enough to measure real output sizes and credit consumption before choosing a tier.

Api2Pdf

Api2Pdf is a metered API that bills for actual compute time and bandwidth consumed, with per-call choice of engine, covering Headless Chrome, wkhtmltopdf, or LibreOffice.

Feature

Details

Inputs and engine

Raw HTML or a URL rendered with Headless Chrome (PuppeteerSharp-based) or wkhtmltopdf; Markdown through Chrome; Office and 100+ other formats through LibreOffice. The same API merges, watermarks, password-protects, and generates barcodes.

JavaScript and waits

Delay plus Puppeteer wait-for method and value on the Chrome route.

Layout controls

Width, height, margins, orientation (portrait or horizontal), scale, page ranges, preferCSSPageSize, print CSS, print background, and Chrome header and footer templates.

Output options

Tagged PDF and outlines on Chrome PDFs; passwords and watermarks through separate endpoints; screenshots. PDF/A is not in the v2 spec.

Pricing

$1 a month plus $0.001 per MB of bandwidth and $0.00019551 per second of compute. The $1 monthly fee starts 30 days after sign-up. Api2Pdf’s own example: 10,000 PDFs of 0.1 MB at 2 seconds each cost about $5.91 a month.

Free allowance

One month of free credit for new accounts.

Limits

2 GB of memory and 90 seconds per standard request (V2 XL gives 8 GB and 5 minutes at 10 times the price); no rate, page, or file-size limits stated; files deleted after 24 hours; no webhook field in the v2 spec.

SDKs and hosting

Python, Node, .NET, PHP, Java, Ruby, and Go; Power Automate and Zapier; an MCP server. Runs on Google Cloud Run in us-central1; managed and self-hosted enterprise options.

Api2Pdf pricing page with a cost estimator showing $1.49 a month for 1,000 PDFs

Api2Pdf’s pay-as-you-go pricing page, including its own cost estimator for bandwidth and compute time.

Where Api2Pdf stands out

Api2Pdf estimates about $5.91 for its example of 10,000 small PDFs a month. For an unpredictable workload, compare that metered model with a subscription using your own render times and output sizes.

Each call chooses its engine independently. A batch that mixes HTML invoices (Chrome), legacy HTML files (wkhtmltopdf), and Office documents (LibreOffice) runs through the same API key without switching services.

The $1 monthly base fee after the first month is low enough that Api2Pdf is viable even for low-volume production use, such as a small internal tool that generates a handful of PDFs a week.

What to consider

Cost follows render time and output size, so a slow page with heavy JavaScript costs more than a fast static template. Profile your templates during the free month to understand what they’ll actually cost.

The wkhtmltopdf route runs on an archived, unmaintained engine (see “What happened to wkhtmltopdf” below). For new projects, the Chrome route is the maintained option.

The 90-second per-request cap is a hard ceiling. Templates that require long JavaScript execution or large resource loads need to fit within that window. V2 XL lifts it to 5 minutes at 10 times the compute cost.

Best for

Spiky or cost-sensitive workloads where paying for actual compute beats a fixed monthly tier.

Getting started

The one-month free period is the right time to run your real templates and compute your expected monthly cost before committing.

Browserless

Browserless runs Chrome as a managed service, exposing the same Puppeteer and Playwright controls your existing render code already uses, without you operating the browsers.

Feature

Details

Inputs and engine

A URL or HTML. The /pdf REST API uses Chrome’s print engine through Puppeteer; full sessions also support Playwright with Chrome, WebKit, and Firefox.

JavaScript and waits

waitForSelector, waitForFunction, waitForEvent, and waitForTimeout; navigation options; script and style injection; resource blocking; a bestAttempt mode.

Layout controls

Puppeteer PDF options: format, size, margins, header and footer templates (page number, total pages, date, title, URL), print background, and page ranges. The /pdf endpoint cannot produce a single long-page PDF.

Output options

A tagged-PDF flag (Browserless notes Chrome’s tagged output is not certified PDF/UA); screenshots.

Pricing

Billed in units of up to 30 seconds of browser time. Prototyping $25 a month billed annually (20,000 units, then $0.0020 a unit); Starter $140 (180,000; $0.0017); Scale $350 (500,000; $0.0015). Monthly pricing available; annual billing saves approximately 30% per Browserless’s FAQ.

Free allowance

1,000 units a month, 2 concurrent browsers, and 2-minute sessions.

Limits

2 concurrent browsers on Free, up to 100 on Scale; session length 2 to 60 minutes by plan; PDFs that fail in one request can be split with page ranges and merged.

SDKs and hosting

REST plus Puppeteer and Playwright connections; endpoints in San Francisco, London, and Amsterdam, with stored data in US infrastructure on the shared fleet. Claims SOC 2 Type II and GDPR compliance; HIPAA BAA and licensed self-hosting on Enterprise.

Browserless yearly pricing for Free, Prototyping, Starter, and Scale plans with concurrent browser limits

Browserless’s unit-based tiers, where one unit covers up to 30 seconds of browser time.

Where Browserless stands out

Existing Puppeteer render code moves over with minimal changes. The /pdf REST API accepts the same options as Puppeteer’s page.pdf(), so teams moving off self-hosted Chrome don’t need to rewrite their rendering logic.

The full session API supports Playwright with Chrome, WebKit, and Firefox for browser automation. Check PDF-export support separately rather than assuming that every supported browser can generate PDFs.

Three geographic regions (San Francisco, London, Amsterdam) give you control over where browser sessions run, reducing latency for geographically distributed workloads.

What to consider

Browserless charges browser time in blocks of up to 30 seconds per connection. Longer waits can increase usage when they cross a block boundary, so measure the full connection duration rather than assuming cost rises in direct proportion to render time.

PDFs that fail to render in a single request may need chunking by page range and merging, which adds request complexity. The /pdf endpoint cannot produce a single continuous long-page PDF.

Chrome’s tagged PDF output is available but Browserless explicitly notes it is not certified PDF/UA. If formal accessibility compliance is a requirement, verify this limitation before building on it.

Best for

Teams with existing Puppeteer or Playwright render code who want to stop operating the browsers themselves.

Getting started

The 1,000 free units a month (2 concurrent browsers) cover lightweight testing. Run your actual templates against the free tier to measure unit consumption before selecting a paid plan.

PDF.co

PDF.co is owned by Artifex Software (the same parent as DocRaptor) and places HTML to PDF alongside parsing, forms, barcode, and extraction endpoints on one shared credit balance, with Make and Zapier modules for no-code integration.

Feature

Details

Inputs and engine

Raw HTML, a URL, or stored HTML templates. The rendering engine is not named as of 16 Oct 2026.

JavaScript and waits

Runs the page’s JavaScript on load with no option to disable it; DoNotWaitFullLoad changes how long it waits.

Layout controls

Margins, paper size (A4 default), orientation, print background, media type (print default), and header and footer HTML with page number and total pages.

Output options

Encryption profiles; passwords, merge, split, compress, forms, and parsing on other endpoints.

Pricing

9 credits per rendered page; job status checks cost 2 credits per call. Billed annually as displayed: Basic $8.99 a month (16,500 credits); Personal $22.49 (37,000); Business 1 $44.99 (80,500); Business 2 $89.99 (159,850); Business 3 $270 (483,000). Basic’s 16,500 credits works out to about 1,833 rendered pages a month, a computed ceiling rather than a vendor-stated page limit.

Free allowance

10,000 credits or 30 days, whichever comes first.

Limits

30 seconds synchronous; up to 3 minutes asynchronous with a webhook callback; 4 MB request payload; 100 MB per URL input file; output links expire after 60 minutes by default.

SDKs and hosting

Make and Zapier modules and Postman collections. PDF.co is owned by Artifex Software.

PDF.co annual pricing for Basic, Personal, and Business 1 plans with monthly credit allowances

PDF.co’s annual-billing tiers, matching the 16,500/37,000/80,500 credit figures cited above.

Where PDF.co stands out

HTML to PDF shares a credit balance with parsing, form filling, barcode generation, compression, and splitting. An automation builder in Make or Zapier can chain all of these in one workflow without switching services or managing multiple API keys.

Per-page credits (9 per page) make PDF.co’s cost predictable for fixed-length documents. An invoice that’s always two pages always costs 18 credits, regardless of file size.

The 10,000-credit free trial gives you room to run a realistic volume of test documents and understand exactly what your credit consumption looks like before choosing a plan.

What to consider

At 9 credits per page, a 50-page report uses 450 credits and a two-page invoice uses 18. Personal’s 37,000 monthly credits would cover at most 82 reports or 2,055 two-page invoices if used only for rendering. Polling and other operations reduce those totals.

JavaScript always runs on load and cannot be disabled. If you’re rendering static HTML, there’s no way to skip the JavaScript execution time.

Synchronous calls stop at 30 seconds. Templates with heavy JavaScript or many external resources need the async route with webhook handling.

Best for

Automation builders on Make or Zapier who need HTML to PDF alongside other PDF jobs on one credit balance.

Getting started

The free 10,000-credit trial covers about 1,111 rendered pages, enough for realistic testing of your document types.

Nutrient DWS Processor API

Nutrient DWS Processor API converts HTML to PDF at 0.5 credits per conversion and turns HTML form fields into interactive, fillable PDF form fields, with the option to chain multiple operations in a single /build call.

Feature

Details

Inputs and engine

An HTML file uploaded with its CSS, fonts, and images, or a URL. The overview names Chromium; the generation guide does not name the engine.

JavaScript and waits

The generation guide states JavaScript assets are not supported, while the overview claims JavaScript support. Use pre-rendered HTML until this conflict is resolved.

Layout controls

A layout object with orientation, size, and margins in millimeters; repeating headers and footers through #pspdfkit-header and #pspdfkit-footer elements with page number and page count tokens. HTML form fields become fillable PDF fields.

Output options

PDF. PDF/A and PDF/UA are separate operations, chainable in one /build request.

Pricing

HTML to PDF costs 0.5 credit. Starter $75 a month (1,000 credits); Growth $275 (5,000); Pro $445 (10,000). About 10% less billed annually.

Free allowance

50 credits a month (watermarked unless pay-as-you-go is enabled with a $25 wallet load).

Limits

100 requests per minute per API key on every plan.

SDKs and hosting

Code examples in JavaScript, Python, Java, C#, and PHP; Zapier; an MCP server. Cloud API; self-hosting is a separate product (Document Engine). Claims SOC 2 Type 2 audited controls and GDPR compliance.

Nutrient DWS Processor API annual pricing for Free, Starter, Growth, and Pro plans with monthly credits

Nutrient’s Processor API pricing, shown at the annual-billing rate (about 10% below the monthly prices cited in the feature table).

Nutrient FAQ stating its HTML to PDF engine is built on Chromium and supports JavaScript

The Processor API overview page’s FAQ, naming Chromium as the engine and listing JavaScript among the web standards it supports, the first half of the conflict described below.

Nutrient PDF generation guide with a callout stating JavaScript assets aren’t supported

The PDF generation guide’s own callout, stating plainly that JavaScript assets are not supported, the second half of the conflict.

Where Nutrient DWS Processor API stands out

HTML form fields in your source markup turn into fillable PDF form fields in the output, with no post-processing required. If you’re generating application forms, order forms, or any document the recipient needs to complete, this capability is available directly in the conversion step.

Chaining operations in a single /build request reduces round trips. Convert HTML to PDF and apply PDF/A or PDF/UA in one call, rather than two separate API requests.

At 0.5 credit per HTML conversion, 1,000 credits cover 2,000 conversions if used only for that operation. Include any additional operations when estimating the cost of the full workflow.

What to consider

The overview and the generation guide conflict on JavaScript support. The generation guide states JavaScript assets are not supported; the overview says they are. Ship pre-rendered HTML until Nutrient clarifies this at the route level.

Free-plan output is watermarked unless you enable pay-as-you-go with a $25 minimum wallet load. Budget for that activation cost if you’re testing without a paid plan.

Best for

Static HTML templates such as applications or order forms that must become fillable PDFs.

Getting started

Review Nutrient’s HTML-to-PDF guide, then test your form-field conversion on the free tier (50 credits a month, watermarked) before selecting a plan.

Gotenberg

Gotenberg is an MIT-licensed Docker API wrapping Chromium and LibreOffice, with PDF/A, PDF/UA, and e-invoice output built in. 

Version 8.38.1 was released on 15 Oct 2026. There are no per-render license fees or vendor quotas, but you pay for hosting and take responsibility for operation and maintenance.

Feature

Details

Inputs and engine

HTML files (with header.html and footer.html), URLs via Chromium, and Office documents via LibreOffice. Chromium is the named engine.

JavaScript and waits

Delay, expression, and selector waits. header.html and footer.html cannot load external resources or JavaScript.

Layout controls

Page size, margins, orientation, print background, and page ranges. Headers and footers via separate HTML files.

Output options

PDF/A-1b, 2b, 3b; PDF/UA-1; e-invoice (ZUGFeRD/Factur-X); merge, split, encrypt, flatten.

Pricing

None (self-hosted). MIT license.

Free allowance

No vendor quota; your hosting costs apply.

Limits

30-second default timeout (configurable). Concurrency controlled by container scaling.

SDKs and hosting

REST API; community client libraries. Docker image; self-hosted on any infrastructure.

Gotenberg GitHub repo showing its MIT license and topic tags including chromium, libreoffice, and html-to-pdf

Gotenberg’s GitHub repository, confirming the MIT license and its Chromium/LibreOffice/wkhtmltopdf topic tags.

Gotenberg GitHub Releases page with version 8.38.1 marked as the latest release

Gotenberg’s Releases page, confirming v8.38.1 as the current release.

Where Gotenberg stands out

Self-hosting Gotenberg lets you process HTML and PDFs on your own infrastructure. For data residency or air-gapped deployments, also control outbound requests, external assets, and webhook destinations; self-hosting alone does not prevent data from leaving the environment.

PDF/A, PDF/UA, merge, split, encrypt, and e-invoice formatting are all available in the same container, with no per-operation billing. Volume is limited only by the compute you allocate.

What to consider

You own the operational burden, including container updates, Chromium upgrades, concurrency tuning, and uptime. The 30-second default timeout is configurable, but scaling to high concurrency requires running multiple container instances and a load balancer in front of them.

header.html and footer.html cannot load external resources or run JavaScript, which is the same architectural constraint as other Chromium-based APIs.

Best for

Teams with data residency requirements, air-gapped environments, or high enough volume that self-hosting costs less than per-render fees.

Getting started

Pull the official Docker image, run it, and POST your HTML to the Chromium route. The MIT license means no activation step. Grab a ready-to-use sample index.html here and save it in the same directory you run the curl command from, so the –form ‘[email protected]’ line below has something real to upload.

Run this command from your terminal:

docker pull gotenberg/gotenberg:8

The expected output should look like the following:

8: Pulling from gotenberg/gotenberg
4f4fb700ef54: Pull complete
50413e22b8b3: Pull complete
b95dd55d398d: Pull complete
031c4b37fda9: Pull complete
05f2a8effccb: Pull complete
ae7490fdba0d: Pull complete
125be13350c7: Pull complete
Digest: sha256:aa552cc115db488e0f0bcb07446aac13071ad51505b642c84bb894500907b42b
Status: Downloaded newer image for gotenberg/gotenberg:8
docker.io/gotenberg/gotenberg:8

Start the container, then convert an HTML file by posting it to the Chromium route:

docker run --rm -d --name gotenberg -p 3000:3000 gotenberg/gotenberg:8
curl --silent --request POST 'http://localhost:3000/forms/chromium/convert/html' \
  --form '[email protected]' \
  --output output.pdf \
  --write-out 'HTTP status: %{http_code}\n'
file output.pdf

The expected output should look like the following:

HTTP status: 200
output.pdf: PDF document, version 1.4, 1 pages

The first line starts Gotenberg in the background, exposing it on port 3000. The curl call then POSTs index.html as a multipart file to Gotenberg’s Chromium conversion route, writes the resulting PDF to output.pdf with –output, and prints the HTTP status code with –write-out once the request completes, with –silent suppressing curl’s own progress output so only that final status line shows.

What counts as one billable render

Check the billing unit before comparing plan prices: it determines how your document size, length, and render time affect usage.

API

Billable unit

Entry paid plan

Free allowance

Published limits

Foxit PDF Services API

1 credit per conversion, any page count (shared pool)

Startup $1,750 a year, 5,000 credits

500 credits a year

No published rate limit

DocRaptor

Document, any size

Basic $15 a month, 125 documents

5 a month plus unlimited watermarked tests

60 s sync, 600 s async, 30 simultaneous

PDFShift

Credit per 5 MB of output

Starter $9 a month, 500 credits

50 credits a month

250 documents/min

ConvertAPI

Conversion

Developer $35 a month (1,000 conversions), or $30 a month billed annually (12,000 a year)

250 at sign-up

1 concurrent on Developer

PDFCrowd

Credit per 0.5 MB of output

Nano $1 a month billed annually, 10 credits

100 test credits for one month

60 s per conversion

Api2Pdf

MB of bandwidth plus seconds of compute

$1 a month plus usage

One month of credit

90 s and 2 GB per request

Browserless

Unit of up to 30 s of browser time

Prototyping $25 a month billed annually, 20,000 units

1,000 units a month

2 concurrent browsers on Free

PDF.co

9 credits per page

Basic $8.99 a month billed annually, 16,500 credits

10,000 credits or 30 days, whichever comes first

30 s sync, 3 min async

Nutrient DWS Processor API

0.5 credit per HTML conversion

Starter $75 a month, 1,000 credits

50 credits a month, watermarked

100 requests/min per API key, all plans

Gotenberg

None (self-hosted)

No license fee; hosting extra

No vendor quota

30 s default timeout

Size-based units (PDFShift and PDFCrowd) mean image-heavy or font-heavy PDFs cost more than plain text renders. A 14 MB image-rich invoice uses 3 PDFShift credits where a 1 MB plain invoice uses one.

Page-based units (PDF.co at 9 credits per page) mean long reports cost proportionally more than short invoices. A 50-page report costs 450 credits; a 2-page invoice costs 18.

Time-based billing needs a closer look. Browserless charges in blocks of up to 30 seconds per browser connection, so separate 2-second and 10-second connections each use one browser-time unit. Api2Pdf meters compute by the second, but bandwidth and the base fee also contribute to the total bill. A fivefold increase in render time does not necessarily mean a fivefold increase in cost.

Flat units (DocRaptor and Foxit per document or conversion) are indifferent to output size and page count within the documented limits. ConvertAPI charges per conversion, but each request can count as more than one conversion, and the successful response reports ConversionCost.

Estimate cost from your real output size, page count, and render time, not from the headline plan price. Benchmark your actual templates on the free tier before committing to a billing model.

For template-plus-data pricing (Word templates, hosted template editors, and document generation), see the “best PDF generator APIs” comparison, which owns that topic.

Which engine renders your HTML

The engine determines almost everything about rendering behavior. Checked 16 Oct 2026.

API

Engine

JavaScript

Headers and footers

Foxit PDF Services API

Not named in the API reference

URL route runs JavaScript (30 s limit)

No header/footer template parameter documented

DocRaptor

Prince 15.1

Off by default; own engine

CSS paged media

PDFShift

Chromium 116 or 142

On; delay, wait_for, network idle

Separate HTML template, no body CSS

ConvertAPI

Chrome headless

On; delay and wait element

Header and footer HTML

PDFCrowd

Not named as of 16 Oct 2026

Delay and wait for element, capped by plan

Header and footer HTML

Api2Pdf

Headless Chrome or wkhtmltopdf

Delay and wait-for (Chrome route)

Chrome templates

Browserless

Chrome print engine via Puppeteer

Full Puppeteer wait controls

Puppeteer templates

PDF.co

Not named as of 16 Oct 2026

Always on

Header and footer HTML

Nutrient DWS Processor API

Chromium (overview); unnamed in generation guide

Docs conflict; use pre-rendered HTML

Header and footer elements in HTML

Gotenberg

Chromium

Delay, expression, and selector waits

header.html and footer.html, no JavaScript

Chromium is the engine behind PDFShift, ConvertAPI, Api2Pdf (Chrome route), Browserless, Gotenberg, and Nutrient (per overview). Chromium-based APIs print the page the way Chrome’s print-to-PDF does, so templates built and previewed in Chrome usually carry over. A Chromium-level constraint applies to headers and footers, where scripts in Puppeteer header and footer templates do not run and the page’s own styles are invisible inside them. PDFShift’s header and footer templates have the same constraint. Gotenberg’s header.html and footer.html cannot load external resources or JavaScript.

Prince (DocRaptor) moves pagination into CSS. Page size, margins, running headers and footers, and page numbers are all defined in the stylesheet through CSS paged media properties, not through request parameters. That approach suits print-designed documents whose layout is controlled by a designer, but client-rendered charts or React-based templates need careful adaptation.

Unnamed engines (Foxit PDF Services API, PDFCrowd, and PDF.co) are not identified in public documentation as of 16 Oct 2026. Base your decisions on what you observe from test renders rather than assumptions drawn from similar APIs.

If your layout logic lives in JavaScript and the browser, a Chromium-based API is the natural fit. If it lives in print CSS and typographic control, Prince via DocRaptor is the right match.

What you can do with the PDF after it renders

Rendering may be only the first step. Your workflow might also need compression for email, a merged cover page, password protection, PDF/A conversion, accessibility tagging, or a signature.

Here’s what’s available per API. 

The Foxit PDF Services API covers compress, merge, watermark, protect, linearize, flatten, accessibility auto-tagging, and eSign on the same credit pool, with each PDF Services step costing 1 credit. 

Api2Pdf supports merge, watermark, and password protection. 

PDF.co covers merge, split, compress, and form operations. 

Nutrient DWS Processor API can chain PDF/A, PDF/UA, and other operations in a single /build call. 

ConvertAPI offers separate PDF tools including PDF/A conversion. 

Gotenberg handles PDF/A, PDF/UA, merge, split, encrypt, flatten, and e-invoice formatting in the same container. 

DocRaptor and PDFCrowd apply PDF/A and encryption at render time, so no extra call is needed. PDFShift adds watermarks and protection at render time. 

Browserless has no built-in post-render operations.

Count the charges for the full workflow, not just HTTP requests. Nutrient can chain operations in one /build call, but that does not establish a one-unit charge for the whole request. For Foxit, include conversion and follow-on processing credits, and account for eSign’s per-envelope charge separately. Check the applicable billing rules for Api2Pdf, PDF.co, and any render-time options you use.

If the rendered PDF isn’t your final artifact, count the follow-on calls in your cost estimate and your vendor selection criteria.

Will the PDF look the same as your browser preview?

Use your own templates to compare output. Fonts, media type, header and footer styling, and JavaScript timing are useful starting points when a PDF differs from its browser preview.

Fonts are a common source of rendering differences. The same font-family can produce different output on macOS and Linux because the available system fonts differ. 

Embedding fonts with @font-face or base64 data URIs keeps output consistent across platforms and across vendors. Puppeteer waits for document.fonts.ready by default before generating the PDF, which is worth replicating in any server-side render flow.

Print vs. screen CSS is the most common rendering surprise, per DocRaptor’s documentation. DocRaptor, PDF.co, Gotenberg, and Playwright default to print media. ConvertAPI defaults to screen. A template styled for screen output will ignore @media print rules, and a template styled for print may render incorrectly in screen mode. Check the default before testing and set it explicitly in your request.

Headers and footers hit a consistent wall across Chromium-based APIs. Puppeteer and Playwright header and footer templates do not run scripts and cannot see page styles. PDFShift’s header and footer templates don’t inherit body CSS. Gotenberg’s can’t load external resources. These are architectural constraints of how Chrome’s print engine handles header and footer injection. Duplicate any necessary styles directly into the template strings.

JavaScript timing can cause blank or partial renders. A page may reach network idle before asynchronous code finishes updating the DOM. Where supported, use an explicit readiness hook such as docraptorJavaScriptFinished() on DocRaptor, wait_for on PDFShift, waitForFunction on Browserless, or waitForExpression on Gotenberg. Otherwise, render the data server-side and send fully populated HTML.

Rendering fidelity

Font differences between macOS and Linux, print vs. screen media type mismatches, header and footer CSS isolation, and JavaScript timing are common causes of output that differs from your browser preview. Each has a documented fix, but the fix depends on the API and the engine. Vendor speed and fidelity claims are claims until you run your own hardest template. Test your most complex document (long tables, manual page breaks, custom web fonts, one chart) on each shortlisted free tier before committing.

Choosing an HTML to PDF API for your pipeline

Two questions decide which API fits your pipeline, which engine renders your HTML and what counts as one billable render. 

A Chromium-based API matches templates built and previewed in Chrome. Prince, via DocRaptor, suits documents whose pagination is designed in CSS paged media. 

A flat per-document or per-conversion charge removes the size and page-count variability that a size-based or page-based unit introduces, which matters most when document length varies widely from one render to the next.

If HTML rendering starts a longer document workflow, our PDF Services API lets you convert, compress, merge, watermark, protect, and auto-tag PDFs through one account. Our eSign API uses the same shared credit pool, with its own per-envelope charge. Choose the plan based on the full sequence of operations, not conversion volume alone.

Our free Developer plan includes 500 shared credits a year, plus eSign trial access. Use it to test your HTML templates and follow-on PDF operations before choosing a paid plan.

Create a free Foxit developer account and convert your first HTML file or URL to PDF with the PDF Services API.

What else to know before you pick an HTML to PDF API

A few questions come up repeatedly when developers evaluate these APIs, so here are direct answers.

Yes. Our Foxit PDF Services API supports HTML-to-PDF conversion on the free Developer plan, which includes 500 shared credits per year. Each conversion uses one credit, and no credit card is required to sign up.

Submit conversions within both the rate and concurrency limits. Use webhooks where available, or poll task IDs in your worker pool, as with our PDF Services API. PDFShift accepts arrays of sources for asynchronous conversion when parallel conversions are enabled on the account. DocRaptor supports async mode with callbacks. In Gotenberg, the concurrency setting controls simultaneous conversions within a browser, not the number of Chromium instances; scale container instances for heavier loads.

Per-minute and concurrency limits are the real ceiling on batch throughput. Check the limits row in each feature table and design your batch queue around those ceilings.

Puppeteer and Playwright are the standard choices. Both drive headless Chromium, give you full control over the render, and keep documents on your server. Puppeteer is the more established package with a larger ecosystem, while Playwright adds cross-browser support (WebKit, Firefox) and has a clean async API.

At low volume with full control requirements or strict data locality, a self-managed Puppeteer or Playwright setup is hard to beat. The operational problems emerge at scale, where concurrency requires multiple browser instances with real memory footprints, cold starts on serverless functions add latency, font configuration differences between development and production machines cause output inconsistencies, and Chromium upgrades can change rendering. Those are the conditions where a hosted API earns its cost.

The wkhtmltopdf GitHub repository was archived by its owner on 2 Jan 2023, with the last commit in November 2022. Api2Pdf still offers a wkhtmltopdf route for legacy compatibility.

For new projects, choose a maintained engine. Chromium-based APIs (PDFShift, ConvertAPI, Browserless, Gotenberg, Api2Pdf’s Chrome route) and Prince (DocRaptor) are both actively developed. Building on an archived engine means carrying its unresolved bugs and security findings with no fixes coming.

10 Best PDF Generator APIs for Developers in 2026

PDF generator API workflow: Word invoice template with merge tags, a JSON request, and the generated PDF invoice

Compare 10 PDF generator API options by template model, billing unit, free allowance, and hosting. The list covers hosted PDF generation services like Foxit, Adobe, and Carbone, plus self-hosted Gotenberg. Use it to build your shortlist, then test your hardest template on each free tier.

Your invoice template has the wrong tax rate. The legal team needs a disclaimer block added. Sales wants the logo repositioned. Who makes that change, and does it need a deploy?

Start with who will maintain the template. With a Word-template engine, a business user can edit the DOCX in Word while preserving the template tags. 

Hosted editors let users update layouts in a browser, but you should check their versioning and export options. 

If your application generates HTML from templates in its repo, layout changes can follow the normal release process. Fillable PDF templates are useful when you already have a branded form you want to reuse.

Billing adds another consideration. These APIs meter different units, so compare expected usage alongside the plan price. PDF Generator API (pdfgeneratorapi.com) bills per 5-page block, so a 12-page report costs 3 credits. CraftMyPDF bills 1 credit per PDF regardless of length, so that same 12-page report costs 1 credit. Docmosis Cloud charges per output page. Carbone counts each extra megabyte of JSON and images as an additional render. Foxit charges 1 credit per document, drawn from the same pool shared by its PDF Services API and eSign API.

We compare our Foxit Document Generation API with 9 alternatives across template models, billing units, free allowances, published limits, SDKs, and hosting. The comparison draws on public pricing pages and documentation. Check current plan terms before making a purchasing decision.

Top picks by use case

The best PDF generation APIs for developers in 2026 are Foxit, Adobe, Carbone, Docmosis, PDF Generator API (pdfgeneratorapi.com), CraftMyPDF, PDFMonkey, DocRaptor, Nutrient DWS Processor API, and Gotenberg. Each fits a different combination of template model, billing unit, and hosting requirement.

Use case

Pick

Why it fits

Documents that then get signed, merged or converted

Foxit Document Generation API

Word templates and JSON in one call, on the same credit pool as PDF Services and eSign

Largest free allowance for Word templates

Adobe Document Generation API

500 free transactions/month; Document Generation uses 1 transaction per up-to-50-page block

Batch runs from office templates

Carbone

Async batches up to 100 reports per Cloud call; Essential €29/month for 1,000 billable documents

One Word-template engine in the cloud and on-premises

Docmosis Cloud

Cloud plus self-hosted Tornado; US, EU and Australian regions

Letting your own users edit templates

PDF Generator API (pdfgeneratorapi.com)

Embeddable template editor from the Basic plan; SDKs in 8 languages

Turning existing PDF forms into templates

CraftMyPDF

AI field detection for fillable PDF templates, plus a drag-and-drop editor; Lite $29/month for 1,200 credits

Low-cost paid entry plan

PDFMonkey

Starter €5/month for 300 documents. A separate Free plan has 20/month

Print-grade HTML rendering

DocRaptor

Prince 15.1 engine with PDF/A and PDF/UA output

Several PDF operations in one request

Nutrient DWS Processor API

One /build call can chain conversion, watermark, OCR and compression; HTML to PDF costs 0.5 credits

Free, self-hosted conversion

Gotenberg

MIT-licensed Docker API with Chromium and LibreOffice

Each API appears once, under the use case it fits best. Several support more than one template route, and the feature table in each entry shows their coverage.

Create a free Foxit developer account and generate your first PDF from a Word template and JSON with the Document Generation API.

How we compared these APIs

The comparison draws on public pricing pages, official documentation, and GitHub repositories reviewed on 7 Oct 2026.

Compare template routes, data merge, other PDF operations, pricing and billing units, free allowances, published limits, SDKs and integrations, and hosting. Speed, uptime, and compliance figures reflect vendor claims. Prices retain their original currencies and billing periods; compare costs at your expected usage rather than treating different vendors’ credits as equivalent.

The 10 PDF generator APIs in detail

Start with the template format and hosting model your application needs, then compare costs and limits at your expected volume. Tag syntax differs across vendors, so a DOCX template may need changes before it works with another API.

For CSS and JavaScript rendering details across HTML-to-PDF APIs, see the “best HTML to PDF APIs” comparison.

Foxit Document Generation API

Our Document Generation API merges a DOCX template with JSON data in a single synchronous call and returns a PDF or DOCX. Business users author the template in Microsoft Word, and developers send the data.

Feature

Details

Template routes

Word (DOCX) templates with JSON through the Document Generation API. Your own HTML, a URL or Office files through the PDF Services API on the same account

Data merge

{{tokens}}, date and number masks, TableStart/TableEnd row loops, and Word IF fields for conditional content. An Analyze endpoint lists a template’s tags

Other PDF operations

Merge, split, compress, watermark, flatten, protect, redact and OCR through separate PDF Services endpoints. eSign shares the same account

Pricing

1 credit per generated document, drawn from the same shared pool as PDF Services, eSign, and PDF Embed. Startup $1,750/year (5,000 credits), Business $4,500/year (15,000 credits)

Free allowance

500 credits/year on the Developer plan. No credit card required

Limits

4 MB maximum .docx template after base64 encoding

SDKs and integrations

REST with code samples in the API reference. n8n and Power Automate walkthroughs on the Foxit developer blog

Hosting

Cloud only

Foxit API pricing page showing 5 credits per eSign envelope and Developer, Startup, Business, and Volume plans

Our pricing calculator and credit reference list Business at $4,500/year for 15,000 credits, while the pricing page’s plan cards show a custom Volume tier. Confirm the available plan with our team before purchasing.

Where Foxit Document Generation API stands out

Our Document Generation, PDF Services, and eSign APIs share one developer account and credit pool. You can generate an invoice, then merge, compress, or send it for signature without switching accounts. Budget 1 credit for generation, 1 for each merge or watermark operation, and 5 for each eSign envelope created.

Use our Analyze endpoint to inspect a DOCX template and list its tags before building a high-volume workflow. Compare those tags with the keys in your JSON payload to catch mismatches before generation.

For teams that use both HTML and Word templates, the PDF Services API on the same account handles HTML-to-PDF, URL-to-PDF, and Office-to-PDF conversions. You pay from one credit pool regardless of which route you use. See the PDF Services quick start guide for the conversion request format.

What to consider

Foxit’s Document Generation API has no visual template editor. Microsoft Word is the editor, which is an advantage if your document designers already live in Word but a friction point if you want non-technical users to make layout changes through a browser UI.

The API generates one document per call. There’s no built-in batch endpoint for submitting 100 documents in a single request, so high-volume runs need a loop at the application layer. On the Startup plan, 5,000 shared credits a year works out to roughly 416 documents a month if Document Generation is the only thing drawing from that pool, though in practice PDF Services and eSign usage share the same balance.

The Developer plan’s 500 credits reset annually, not monthly, so a spike in November doesn’t refill until your renewal date. Plan for that reset when estimating free-tier capacity for quarterly report runs.

Our current document-generation endpoint accepts a DOCX template as a multipart upload, with a 5 MB template limit and a 10 MB total request limit. It returns the generated PDF or DOCX directly, without base64 decoding. Compress embedded images and remove unnecessary objects if a template exceeds the file-size limit.

Best for

Products where the generated document goes on to conversion, merging, or signing, such as finance apps generating statements for e-signature, or HR platforms assembling offer letters that need a compression step before archive storage.

Getting started

Create a free Foxit developer account and generate your first PDF from a Word template and JSON with the Document Generation API. The Document Generation quick start guide walks through the multipart request step by step using a sample invoice template with styled tables, repeating data, and conditional logic. To try it against a ready-made file instead of building one from scratch, grab a sample invoice template here.

Adobe Document Generation API

Adobe Document Generation API is part of Adobe PDF Services API. It takes a DOCX template tagged with Adobe’s JSON-driven syntax and renders it to PDF through an async job flow, where you upload the template, submit the generation job, then poll for completion or receive a webhook. 

The free tier is generous for a hosted Word template engine.

Feature

Details

Template routes

Word (DOCX) templates with JSON. HTML (static, dynamic or by URL) and Office files to PDF through PDF Services

Data merge

Template tags in Word, filled from a JSON payload of up to 10 MB

Other PDF operations

Combine, OCR, compress, protect, export to Office, extract content, accessibility auto-tagging and electronic seals

Pricing

1 Document Transaction per up-to-50-page block. Paid plans by sales quote

Free allowance

500 Document Transactions/month across PDF Services

Limits

100 MB files, 10 MB JSON, 25 requests/minute on the free tier (100 on enterprise)

SDKs and integrations

Java, .NET, Node.js, Python. Power Automate, Workfront Fusion and UiPath

Hosting

US by default. EU processing available after purchase. No self-hosted option found as of 7 Oct 2026

Adobe Acrobat Services pricing page listing 500 free Document Transactions per month and paid plans via sales

Adobe’s pricing page, confirming the 500 free Document Transactions a month shared across its PDF Services.

Where Adobe Document Generation API stands out

Adobe lists a free allowance of 500 transactions/month shared across PDF Services. For teams generating short reports (say, 5-page monthly statements), 500 transactions covers 500 documents a month at no cost, which is enough for many internal tools and early-stage SaaS products. 

The transaction meter is shared across PDF Services operations, so a compress or OCR job draws from the same pool as a generation job.

The SDK coverage is broad. Java, .NET, Node.js, and Python are all officially supported, and the Power Automate connector means non-developer teams can trigger document generation from a workflow without writing API calls directly.

What to consider

Adobe lists paid plans by sales quote, so request pricing before estimating costs above the free allowance. Its async workflow requires an upload, a generation request, and either polling or a webhook to collect the result. Account for that orchestration in your integration rather than assuming it establishes a speed difference from synchronous APIs.

The transaction counter resets monthly, which is useful for steady-state workloads but means a single end-of-quarter report run could consume weeks of allowance at once. A 200-page annual report costs 4 transactions (one per 50-page block).

Best for

Teams whose generation and follow-on operations fit within 500 transactions/month, or existing Adobe buyers who want Document Generation on the same contract as their other PDF Services usage.

Getting started

Adobe Document Generation API docs include a template tagger add-in for Word and quick-start guides in all four supported SDKs.

Carbone

Carbone is a template engine built around office formats, including DOCX, XLSX, PPTX, ODT, and more. 

You place merge tags in any of those formats, POST a template and a JSON payload to the API, and Carbone returns your rendered document. 

Batch generation is a first-class feature, and a single Cloud call can queue up to 100 reports and return them as a ZIP or a merged PDF.

Feature

Details

Template routes

Office templates (DOCX, XLSX, PPTX, ODT and more) with JSON. HTML content in templates requires the Enterprise edition

Data merge

JSON merge tags in office templates. Async webhook batches up to 100 reports per Cloud call, returned as ZIP or one PDF

Other PDF operations

Enterprise: PDF append/attachments. PDF/A and PDF/UA depend on converter support. Outputs vary by source format (DOCX produces PDF or DOCX; XLSX produces PDF or XLSX)

Pricing

Per render, where each extra MB of JSON and images beyond the base counts as an additional document. Essential €29/month for 1,000 renders

Free allowance

100 documents/month in the cloud. Free self-hosted Community Edition

Limits

Parallel renders by plan, from 1 on Free to 50 on higher tiers

SDKs and integrations

Node.js, Python, PHP, Go, Java. Zapier, Make and n8n

Hosting

European Cloud. Free self-hosted Community Edition or paid Fit from €1,500/year. AWS private cloud separately

Carbone Cloud pricing cards: Free at €0, Essential at €29, and Advanced at €159 per month, with document quotas

Carbone’s pricing tiers, confirming the Essential plan’s €29/month for 1,000 documents.

Where Carbone stands out

The batch endpoint is genuinely useful for month-end runs. Submitting 100 statements in one API call and receiving a ZIP is a cleaner pattern than 100 individual calls with 100 individual status checks, especially valuable for financial services teams generating account statements on a schedule.

Carbone’s template format coverage goes beyond DOCX. If your data naturally lives in tabular form, you can merge directly into an XLSX and produce a styled spreadsheet without any intermediate conversion step. 

The Community Edition on GitHub is also free to self-host under Carbone’s license terms, though the license restricts using it to offer a competing hosted template service.

What to consider

The data-size billing rule catches teams off guard, because each extra megabyte of JSON and images above the base counts as an additional render. 

An image-heavy product catalog template with a large JSON payload could cost several times what a plain invoice costs, even if both produce a single PDF. Model your actual payload sizes before committing to a plan.

HTML content in templates requires the Enterprise edition, and some advanced PDF features (append, attachments) are Enterprise-only. The free Cloud plan does include Enterprise features, but paid Cloud plans below Enterprise don’t. Read the plan matrix carefully before assuming a feature is available at your chosen tier.

Best for

High-volume statement and report runs from office templates in multiple formats, especially for EU-hosted data requirements.

Getting started

Carbone documentation covers template syntax and the batch API. The GitHub repo has the Community Edition and issue tracker.

Docmosis Cloud

Docmosis Cloud generates documents from DOCX or ODT templates authored in Word or LibreOffice Writer. 

You POST a template name and a JSON or XML data payload, specify a delivery route (direct response, email, or S3), and receive your output in PDF, DOCX, ODT, or TXT. 

The notable differentiator is the parallel path, where the same Docmosis template engine runs as a cloud API and as self-hosted software (called Tornado), so you can start in the cloud and move on-premises without rewriting templates.

Feature

Details

Template routes

DOCX or ODT templates authored in Word or LibreOffice Writer

Data merge

Template name plus JSON or XML payload. Outputs PDF, DOCX, ODT or TXT

Other PDF operations

Conversion, watermark and protection. Delivery to response, email or S3

Pricing

Professional $49/month for 4,000 output pages. No rollover or overage fees stated. Repeated overruns require a plan upgrade

Free allowance

30-day trial with no watermarks

Limits

Not published as of 7 Oct 2026

SDKs and integrations

REST for DWS4. Official Java SDK listed for older DWS3. Compatibility with DWS4 unverified. Appian, Mendix, Bubble and OutSystems listed

Hosting

US, EU and Australia regions. Self-hosted Tornado with a similar API

Docmosis Cloud pricing at 4,000 pages per month: Professional $49, Business $64, and Enterprise $78 USD

Docmosis Cloud’s Account Quota pricing, confirming the Professional plan’s $49/month for 4,000 pages.

Where Docmosis Cloud stands out

The cloud-plus-on-premises path is rare in this list. Docmosis Tornado uses the same template syntax as Docmosis Cloud, which means regulated teams can prototype against the cloud API and migrate to self-hosted infrastructure without re-tagging their templates. EU and Australian regions address data residency requirements that rule out US-only services.

The no-watermark 30-day trial is meaningful for evaluation. Testing with real templates against real data in a production-representative environment gives a clearer picture of layout fidelity than a sandboxed preview.

What to consider

With per-page billing, a 40-page report consumes 40 of the Professional plan’s stated 4,000 monthly pages, allowing 100 such reports if no other documents use the allowance. 

CraftMyPDF and Foxit meter the same document as 1 credit within their supported limits, but those credits have different prices. Compare the plans’ total cost for your workload, not just the unit counts.

Published limits are not available on the Docmosis pricing and documentation pages as of 7 Oct 2026. You’ll need to contact Docmosis to understand concurrent request caps and rate limits before planning a high-volume integration.

Best for

Regulated teams that want to start in the cloud and preserve a self-hosting path for the same templates, particularly in EU or Australia.

Getting started

Docmosis Cloud documentation covers template syntax, the REST API, and Tornado configuration.

PDF Generator API

PDF Generator API (pdfgeneratorapi.com) is a hosted template platform with an embeddable drag-and-drop editor. 

The core use case is letting your own users edit document layouts inside your application without touching your codebase. 

Templates live in the vendor’s UI, and your app passes JSON to the generate endpoint and receives a PDF. There are also separate HTML-to-PDF and PDF form-fill APIs.

Feature

Details

Template routes

Drag-and-drop editor templates (embeddable for your own users), plus HTML templates. Separate HTML-to-PDF and PDF form-fill APIs

Data merge

Expression language, dynamic tables and conditional formatting, with batch generation

Other PDF operations

Document signing, web forms, an accessibility API and an e-invoice API

Pricing

1 credit per up-to-5-page block. Creator €8/month for 50 credits. Teams Starter €52/month for 1,000 credits. Embedded editor starts at Basic €88/month. Annual billing saves roughly 17%

Free allowance

Sandbox trial. The pricing page states 14 days while the integrations page states 30 days. Check current terms before signing up

Limits

30 RPM for Individuals plans; 60 to 240 RPM for Teams plans

SDKs and integrations

PHP, JavaScript, Java, Ruby, Rust, Python, Go, C#. Zapier, Make, n8n. An MCP connector

Hosting

Shared cloud. Dedicated US, EU, UK or Australia deployments and on-premises for enterprise

PDF Generator API pricing page on annual billing, showing Creator at €80 per year and Low Usage at €260 per year

PDF Generator API’s Individuals pricing tab, showing the Creator tier’s annual-billing rate.

Where PDF Generator API stands out

The embeddable editor is the reason this API appears on this list. From the Basic plan upward, you can expose the template editor directly inside your own application, which means your customers can redesign an invoice layout, add a logo, or move a data field without raising a support ticket. That’s a meaningful product capability for SaaS platforms that serve non-technical end users.

The SDK breadth is also notable, covering eight languages including Rust and Go, alongside an MCP connector that lets AI agents call the generation endpoint. Dedicated regional deployments (US, EU, UK, Australia) give mid-market customers a path to data residency without moving to enterprise on-premises.

What to consider

PDF Generator API bills in five-page blocks, so a 12-page report uses 3 credits. At the stated Teams Starter allowance of 1,000 credits for €52/month, generating 500 twelve-page reports would require 1,500 credits, 50% more than the included allowance. Estimate usage from your actual page counts and confirm the plan’s current overage or upgrade terms.

There’s a documented conflict between trial duration claims, with 14 days on the pricing page and 30 days on the integrations page as of 7 Oct 2026. Check the current pricing page directly before making plans around a free trial window.

Best for

SaaS products whose end users need to edit document templates inside the application, without requiring a developer for every layout change.

Getting started

PDF Generator API docs cover the template editor, data merge syntax, and the REST API. pdfgeneratorapi.com/pricing has current plan details.

CraftMyPDF

CraftMyPDF offers two template routes: a drag-and-drop editor for building layouts from scratch and an AI field detection tool for turning existing fillable PDFs into data-driven templates. 

Its per-PDF billing model makes usage easier to estimate when document lengths vary.

Feature

Details

Template routes

Drag-and-drop editor templates and fillable PDF form templates with AI field detection

Data merge

JSON with expressions and custom JavaScript functions

Other PDF operations

Merge, parallel/image generation and e-signatures (10 credits per envelope). ZUGFeRD/Factur-X PDF/A-3 (labeled experimental, invoice XML required)

Pricing

1 credit per PDF, any length. Lite $29/month for 1,200 credits. Professional $99/month for 12,000 credits

Free allowance

50 PDFs/month

Limits

4 to 6 MB request/response caps; 30 to 100-second timeouts; 100 requests per 10 seconds per IP; 100 concurrent sync requests per account

SDKs and integrations

No official SDKs; Zapier, Make, Bubble and n8n

Hosting

Singapore by default; Frankfurt, US East and Sydney endpoints available

CraftMyPDF monthly pricing with Free, Lite $29, and Plus $49 individual plans and Professional $99 team plan

CraftMyPDF’s monthly tiers, confirming the Lite ($29) and Professional ($99) prices cited above.

Where CraftMyPDF stands out

The AI field detection tool solves a specific problem. You have an existing branded PDF form, you don’t want to rebuild it from scratch in a drag-and-drop editor, and you need it to accept JSON data. 

Upload the PDF, let the AI map the form fields, and you have a working template. That’s a faster path to production than re-authoring from scratch, especially for regulated documents that went through a design and legal approval cycle.

Regional endpoint selection (Singapore, Frankfurt, US East, Sydney) gives you control over where request data and generated PDFs are processed and stored. 

The per-PDF billing model means a 50-page report and a 2-page invoice cost the same 1 credit, which simplifies cost forecasting when your document mix varies in length.

What to consider

There’s no overage option on standard plans, so when you hit your monthly credit limit, you must upgrade. For workloads with monthly spikes (such as year-end reporting or seasonal invoicing), that means either over-provisioning or a mid-month plan change. 

A Plus tier sits between Lite and Professional at $49/month (or $490/year) for 3,000 credits, so check current pricing for the full ladder before committing to a plan.

Singapore is the default endpoint. If your data residency requirements specify EU or US, you need to actively select a regional endpoint on each request. Concurrent-request limits (100 sync requests per account) also apply to multi-tenant SaaS platforms with bursty generation patterns.

Best for

Visual layouts or existing PDFs where request data and generated PDFs are processed and stored in your chosen region, with predictable per-document billing.

Getting started

CraftMyPDF API docs cover both template routes and regional endpoint configuration. craftmypdf.com pricing has current plan details.

PDFMonkey

PDFMonkey is a hosted HTML/CSS/Liquid template platform with a low-cost paid entry plan. Templates live in PDFMonkey’s UI as Code Templates (HTML/CSS/Liquid) or visual Builder templates. 

Your app POSTs JSON, PDFMonkey merges the data, and you poll or receive a webhook when the document is ready. There’s also a separate synchronous endpoint for latency-sensitive workflows.

Feature

Details

Template routes

Hosted HTML/CSS/Liquid or visual Builder templates. Your own HTML needs a pass-through Code Template

Data merge

JSON with Liquid in Code templates or Builder bindings, one document per call

Other PDF operations

Image output (WebP, PNG, JPG)

Pricing

Starter €5/month for 300 documents. Pro €15/month for 3,000. Pro+ €60/month for 5,000. PAYG extras require opt-in; €0.005 per document applies to Premium tier

Free allowance

20 documents/month without external assets; 30-day trial with 300 documents

Limits

30-second generation timeout on Free and Starter, up to 5 minutes on Premium

SDKs and integrations

Ruby gem and Node.js package; Zapier, Make, n8n

Hosting

EU servers only. PDFMonkey states it has no special compliance certification

PDFMonkey pricing cards: Starter €5 for 300 documents a month, Pro €15 for 3,000, plus Pro+ and Premium tiers

PDFMonkey’s tier table, confirming the Starter plan’s €5/month for 300 documents.

Where PDFMonkey stands out

PDFMonkey’s Starter plan costs €5/month for 300 documents. If you generate 200 invoices in a month, the subscription averages 2.5 euro cents per invoice, excluding VAT and taxes. 

Using all 300 lowers that average to about 1.67 cents. The 30-day trial includes 300 documents for evaluating your templates before committing.

The PAYG top-up option on eligible plans absorbs occasional spikes without requiring a plan upgrade for a single busy month.

What to consider

EU-only hosting and no published compliance certifications rule PDFMonkey out for teams with US data residency requirements or industry-specific compliance obligations (HIPAA, FedRAMP). The one-document-per-call model means high-volume batch runs require application-side orchestration, and the 30-second generation timeout on Starter affects complex templates with external assets.

Code Templates use HTML/CSS/Liquid, while Builder templates offer a visual drag-and-drop editor. Choose the route your template authors can maintain, and check whether it supports the layout and logic you need.

Best for

Startups and internal tools generating invoices at low cost, where EU hosting and the absence of compliance certifications aren’t blockers.

Getting started

PDFMonkey docs cover template syntax, the async and sync endpoints, and the webhook setup.

DocRaptor

DocRaptor is an HTML-to-PDF API powered by the Prince rendering engine. You send HTML, CSS, and JavaScript, or a URL, and receive a PDF. 

Your application handles data merge before sending the HTML. Prince’s CSS Paged Media support makes DocRaptor worth evaluating for reports with complex page breaks, headers, footers, and print color requirements.

Feature

Details

Template routes

Your own HTML, CSS and JavaScript, or a URL

Data merge

None. Your code fills the HTML before sending it to the API

Other PDF operations

PDF/A, PDF/UA and PDF/X output profiles, Excel output, and a hosted-documents add-on

Pricing

Per document. Basic $15/month for 125 documents. Professional $29/month for 325. Premium $75/month for 1,250. Overage from 12 cents down to 2.5 cents per document

Free allowance

5 documents/month plus unlimited watermarked test documents

Limits

60 seconds sync; 600 seconds async. Callbacks report success only, so poll for failure status

SDKs and integrations

Ruby, Python, PHP, Java, C# and Node.js

Hosting

AWS, rendering in the us-east-1 region (US East, N. Virginia). Vendor claims SOC 2 Type II and 99.99% uptime. HIPAA requires a paid plan, configured account and a BAA

DocRaptor plan table listing monthly document quotas and prices, from Free at 5 documents to Silver at 40,000

DocRaptor’s tier ladder, confirming the Basic ($15, 125 documents), Professional ($29, 325), and Premium ($75, 1,250) prices cited above.

Where DocRaptor stands out

Prince supports print-layout features such as named pages, running headers, cross-reference counters, table-of-contents leaders, and CMYK color profiles. If you produce regulatory filings, annual reports, or technical documentation, test those features with your own templates and compare the results with your print requirements.

The PDF/A and PDF/UA output profiles come from the same API call, which benefits teams with archiving or accessibility requirements. Not every HTML-to-PDF API offers PDF/UA output.

What to consider

DocRaptor’s data merge model is your application’s responsibility. Your backend assembles the HTML, querying the database, formatting numbers, and handling conditional sections, then sends the finished markup. That’s more work than a JSON-plus-template approach, and it means every layout change lives in your codebase.

The Basic plan’s 125 documents/month at $15/month works out to 12 cents per document before overages. Overage rates start at 12 cents and decline with volume, so small workloads are predictable but not cheap per document relative to PDFMonkey’s Starter tier.

Best for

Reports with complex print-layout requirements, such as regulatory filings, annual reports, and print-ready marketing collateral.

Getting started

DocRaptor API documentation includes a test mode (unlimited watermarked documents) and the Prince rendering options reference.

Nutrient DWS Processor API

Nutrient DWS Processor API accepts multiple document inputs in a single /build request and chains operations, converting an Office file to PDF, watermarking it, running OCR, then compressing the result, all in one call. 

That chaining model is useful when you have a pipeline with several steps that other APIs would require separate requests for.

Feature

Details

Template routes

HTML/CSS with assets, Office/image conversion, and DOCX templates with JSON

Data merge

DOCX templating returns DOCX, and an additional conversion step (and credit) is required to produce PDF. Populate HTML in your application

Other PDF operations

Merge, OCR, redaction, watermark, compress, digital signatures and Office conversion

Pricing

Credits per operation: HTML to PDF costs 0.5 credits; Office to PDF costs 1 credit. Starter $75/month for 1,000 credits, roughly 10% less billed annually

Free allowance

50 credits/month, output watermarked. Free-plan PAYG starts with a $25 wallet load

Limits

100 requests/minute/API key across plans. No JavaScript assets supported

SDKs and integrations

Python and TypeScript client libraries, Zapier, and an MCP server

Hosting

Cloud, while self-hosting is a separate product (Document Engine). Vendor claims GDPR, HIPAA and SOC 2 Type 2-audited controls

Nutrient Cloud pricing on annual billing: Free with 50 credits, Starter from $67 a month, plus Growth and Pro

Nutrient’s Processor API pricing, shown at the annual-billing rate (about 10% below the monthly prices cited above).

Where Nutrient DWS Processor API stands out

The /build chaining model reduces round-trips for multi-step pipelines. A team that converts Word files from a CMS, watermarks drafts, runs OCR for search indexing, and then compresses for storage can do all four steps in one authenticated request, with one response to handle. That’s a cleaner pattern than four sequential API calls with four intermediate file transfers.

For HTML-heavy workflows, compare Nutrient’s cost for a complete request, including any follow-on operations. Credit counts alone do not establish which API is cheaper, because each vendor assigns its own value to a credit.

What to consider

DOCX templating returns a DOCX, and producing a PDF from a Word template requires a DOCX generation step plus a conversion step, costing 2 credits total rather than 1. If Word templates are your primary use case, Foxit, Adobe, or Carbone are more direct paths.

The free plan watermarks all output, and removing watermarks requires a paid plan or a $25 wallet load for PAYG. Some marketing pages imply broader free access than the limits documentation supports, so prefer the docs for accurate limits information. JavaScript assets are not supported in HTML rendering, which rules out charts or dynamic content rendered client-side.

Best for

Teams that already render HTML and want to chain multiple operations (convert, watermark, OCR, compress) in a single request without managing intermediate files.

Getting started

Nutrient Processor API overview and HTML to PDF guide cover the /build request format and chaining syntax.

Gotenberg

Gotenberg is a MIT-licensed Docker API that wraps Chromium (for HTML, URL, and Markdown conversion) and LibreOffice (for Office files). 

You run it on your own infrastructure, expose the HTTP endpoints internally, and pay nothing for the license. As of 11 Sep 2026, release v8.37.0 is current. The project has approximately 13,300 GitHub stars.

Feature

Details

Template routes

Your own HTML, a URL or Markdown through Chromium; Office files through LibreOffice

Data merge

None. Your code fills the HTML

Other PDF operations

Merge, split, watermark, encrypt, flatten, PDF/A, PDF/UA and Factur-X

Pricing

Free under the MIT license. You pay for hosting

Free allowance

No vendor quota. Capacity depends on your infrastructure

Limits

30-second default timeout, configurable

SDKs and integrations

Official PHP client; community clients for other languages

Hosting

Self-hosted Docker only

Gotenberg GitHub repository page showing 13.3k stars, MIT license, and a description of its document-to-PDF API

Gotenberg’s GitHub repository, confirming the MIT license and its Chromium/LibreOffice topic tags.

Where Gotenberg stands out

Gotenberg puts Chromium and LibreOffice behind one self-hosted HTTP API, with separate routes for HTML, URLs, Markdown, and Office conversion. The MIT license has no per-document fee, but you still need to budget for compute and operating the service.

The active release cadence (v8.37.0 on 11 Sep 2026) and approximately 13,300 GitHub stars indicate a maintained project with a real user base. PDF/A, PDF/UA, and Factur-X support make it viable for structured document archives, not just quick-convert workflows.

What to consider

You own capacity, scaling, security patching, and incident response. A cloud API handles availability for you, but Gotenberg does not. For a team without dedicated infrastructure engineering, the operational overhead of running and scaling a Gotenberg cluster can exceed the cost of a hosted API at moderate volumes.

Gotenberg converts documents and doesn’t template them. Your application must build the HTML and populate all data before sending the conversion request, so it’s not a substitute for Carbone or Foxit if you want template-based merge logic handled server-side.

Best for

Teams that must keep documents on their own infrastructure and already render HTML, with the engineering capacity to operate a Docker-based service.

Getting started

Gotenberg docs cover Docker setup, endpoint reference, and configuration options. The GitHub repo has the source and release notes.

What the price lists and limits pages reveal

Two angles matter most once you look past the headline price, which unit actually gets billed, and who owns the template after launch.

What counts as one billable document

Prices below were checked on 7 Oct 2026. Confirm current plan terms before purchasing.

API

Billable unit

Entry paid plan

Free allowance

Published limits

Foxit Document Generation

1 credit per document (shared pool)

Startup $1,750/year, 5,000 credits

500 credits/year

4 MB template cap, post-base64

Adobe Document Generation

1 transaction per up-to-50-page block

Sales only

500 transactions/month

10 MB JSON, 25/min free tier

Carbone

Per render; each extra MB of data counts as another document

Essential €29/month, 1,000 renders

100 documents/month

Parallel renders by plan

Docmosis Cloud

Pages generated

Professional $49/month, 4,000 pages

30-day trial

Not published as of 7 Oct 2026

PDF Generator API

1 credit per up-to-5-page block

Creator €8/month, 50 credits. Teams Starter €52/month, 1,000 credits

Sandbox trial; 14/30-day conflict on vendor pages

30/min Individuals; 60 to 240/min Teams

CraftMyPDF

1 credit per PDF, any length

Lite $29/month, 1,200 credits

50 PDFs/month

4 to 6 MB request caps; 30 to 100-second timeouts

PDFMonkey

Per document

Starter €5/month, 300 documents

20 documents/month

30 seconds to 5 minutes by plan

DocRaptor

Per document

Basic $15/month, 125 documents

5 documents/month

60 seconds sync, 600 seconds async

Nutrient DWS

Credits per operation (0.5 for HTML-to-PDF, 1 for Office-to-PDF)

Starter $75/month, 1,000 credits

50 credits/month, watermarked

100 requests/minute/API key

Gotenberg

None (self-hosted)

No license fee; hosting costs vary

No vendor quota; capacity-limited

30-second default timeout, configurable

Three surprises in the table are worth understanding before you sign up.

Page-based billing uses more of your allowance for long reports. A 40-page financial statement uses 40 pages of Docmosis Cloud’s stated 4,000-page monthly allowance, the same as 40 one-page invoices. On PDF Generator API, it uses 8 credits under the five-page-block model. CraftMyPDF and Foxit count it as 1 credit within their supported limits. These are usage counts, not equivalent prices; compare the plan cost at your expected document mix.

Data-size billing penalizes image-heavy payloads. Carbone bills each extra megabyte of JSON and images as an additional render. A product catalog template with high-resolution images and a large JSON array can cost several times what a plain invoice costs, even though both produce one output file. Measure your actual payload size before estimating monthly costs on the Essential plan.

Yearly credit pools reset at renewal, not each month. Our Developer plan includes 500 shared credits per year. If you start a billing year with the full balance and generate 300 documents, 200 credits remain until the next annual reset, assuming no other usage. That can suit concentrated report runs, but PDF Services and eSign usage also draw from the pool.

Estimate your cost from your real page count and actual payload size, not from the headline plan price.

PDF generator API billing models for one 40-page report: per document, per page, per 5-page block, or data size

The same 40-page report priced under four billing models. Per-document billing (Foxit, CraftMyPDF) and per-page-block billing (PDF Generator API) stay fixed per document or per block; per-page billing (Docmosis Cloud) scales directly with length; per-data-size billing (Carbone) depends on payload rather than page count.

Who edits the template after launch

Word files. Foxit, Adobe, Carbone, and Docmosis all accept DOCX (or ODT) templates authored in Word or LibreOffice Writer. A business user can open the file, move a field, update a disclaimer, change a logo, and hand the file back to the deployment process without writing code. Tag syntax differs by vendor ({{customer_name}} in Foxit, Adobe’s Document Generation tagger syntax, Carbone’s {d.customer_name} notation, Docmosis’s <<customer_name>>), so a template built for one requires re-tagging before it works with another.

Hosted editors. PDF Generator API, CraftMyPDF, and PDFMonkey keep templates in the vendor’s UI. Non-technical users can make changes through a browser without touching a file system, but templates aren’t version-controlled in Git by default and aren’t portable between APIs. That tradeoff (easier to hand off to a business user, harder to audit changes) is the right call for some teams and a significant friction point for others.

HTML in your repo. DocRaptor, Nutrient, and Gotenberg all accept HTML that your application generates. Foxit and Adobe also support HTML-to-PDF routes on the same account as their Word-template routes. PDFMonkey requires a pass-through Code Template if you want to send your own HTML. Nutrient also offers DOCX-plus-JSON templating, though it returns a DOCX that needs a separate conversion step to produce PDF.

Diagram comparing who edits the template after launch with HTML in a repo, hosted editors, and Word files

Template format affects who can maintain the layout. Word files and hosted editors can let non-developers make changes, while HTML templates in a repo can follow code review. Whether an update needs deployment depends on how your application stores and loads templates.

The practical question is who will change the invoice layout next year. If the answer is a developer, HTML-in-repo or Word templates both work. If the answer is someone in finance or legal who doesn’t use a code editor, a Word file or a hosted editor is the lower-friction path.

Will the PDF look exactly like your template?

Rendering engines differ, and those differences affect specific document types. DocRaptor uses Prince 15.1, which implements the CSS Paged Media specification for print layout. PDFMonkey uses a Chrome-based browser engine. Gotenberg uses Chromium for HTML and LibreOffice for Office files. Word-template APIs (Foxit, Adobe, Carbone, Docmosis) render from the DOCX layout, which means fidelity depends on the DOCX-to-PDF converter the vendor uses internally.

Documented engine gaps affect specific use cases. Nutrient DWS Processor API does not support JavaScript assets, which rules it out for HTML templates that render charts or dynamic content with client-side JavaScript. PDFMonkey’s free plan blocks external fonts and images, which can produce layout differences between your test output and your paid-plan output. Anvil (not on this list) documents the absence of Flexbox and Grid support, worth checking when evaluating any browser-based HTML renderer against complex CSS layouts.

Vendor benchmarks need careful scope checks. Carbone’s converter benchmark covers self-hosted converters, not the hosted APIs in this comparison. It does not establish how these ten services will render your templates.

Rendering fidelity callout

The only reliable way to assess rendering fidelity for your specific documents is to test your hardest template on each shortlisted free tier before committing. “Hardest template” means your longest table, your most complex page-break logic, your custom fonts, your header and footer positioning. A simple invoice rarely reveals rendering differences. A 30-page financial report with running totals, conditional sections, and custom typography often does. Vendor speed and fidelity claims are claims until you run your own template.

Choosing a PDF generation API for your pipeline

Choose the template model your team can maintain, then price your expected document mix and any follow-on operations. 

Word templates suit business users who already work in Microsoft Word. Hosted editors offer browser-based layout changes, while HTML templates in a repo can follow your code-review process.

Per-document billing is easier to model for varying page counts, but it is not automatically cheaper once plan prices, allowances, and other operations are included.

If your generated documents need merging, compression, watermarking, or signing, our Document Generation API keeps those steps on the same account and credit pool as PDF Services and eSign. 

Generation uses 1 credit; each eSign envelope created uses 5 credits, with PDF processing charged separately. Our free Developer plan includes 500 shared credits per year for evaluating the workflow before choosing a paid plan.

Create a free Foxit developer account and generate your first PDF from a Word template and JSON with the Document Generation API.

What else to know before you pick a PDF generator API

PDF generation is creating a PDF from code, often by merging data into a template or rendering HTML. For example, an application can populate an invoice with customer details and line items. Conversion instead changes an existing document, such as a Word file, into PDF.

For developers working with Word templates and JSON, our Foxit Document Generation API is a free option to evaluate. The Developer plan includes 500 shared credits per year, and generating one document uses 1 credit. Other billable operations draw from the same pool, so the allowance is not necessarily 500 complete document workflows.

Consider Playwright or Puppeteer for browser-rendered HTML. In Python, WeasyPrint renders HTML and CSS, while ReportLab builds PDFs programmatically. Libraries can suit low-volume jobs when you want rendering control and processing on your infrastructure, but you manage dependencies and scaling. Avoid wkhtmltopdf for new projects: its repository was archived on January 2, 2023.

10 Best PDF MCP Servers for AI Agents in 2026

PDF icons, a cloud, and an AI icon linked to a monitor showing a JSON tool call, illustrating a PDF MCP server

Not every PDF MCP server can do what your agent needs. This guide compares 10 options, from free local readers to cloud APIs that convert, edit, and secure files, so you can match the server to the job. See where each one sends your documents, what a full workflow costs, and which security gaps to close before you connect.

When an AI agent struggles with a scanned invoice or loses a table’s structure, it may need a tool built for that task.

A PDF MCP server gives it access to document tools, from text extraction and OCR to merging files or requesting a signature, depending on the server.

The choice comes down to what your agent needs to do and where the document can be processed.

Some servers process files on your machine; others send them to a cloud API. This guide compares 10 PDF MCP servers by their capabilities, setup, cost, and data-handling requirements.

Before connecting a server, consider what your agent can access and where document content goes, and treat incoming PDFs as untrusted input, especially when the agent can modify files.

Top picks by job

Start with the output your agent needs. For reading and extraction, compare the open-source options.

For editing, conversion, or other jobs that produce a new file, compare cloud API servers, Stirling PDF, and local toolkits.

Check current versions and documentation before integrating, since tool counts and pricing tiers shift as vendors ship updates.

JobPickWhy it fits
Converting and editing PDFs through one cloud APIFoxit PDF API MCP Server40 tools in v1.1.2 for conversion both ways, merge, split, compress, OCR, redaction, watermark, and forms
Certificate-based signing inside agent flowsNutrient DWS MCP ServerA PAdES digital signing tool, plus OCR and AI redaction, on Nutrient’s cloud
Zero-install PDF editing in claude.ai or ChatGPTCloudConvert MCP ServerHosted Streamable HTTP endpoint with OAuth; 24 tools
Invoice parsing and table extraction in the cloudPDF.co MCP Server38 tools including fillable forms, table finding, and an AI invoice parser
Open-source, layout-aware conversion for RAGDocling MCPMIT, OCR and table-structure options, v3.3.0 released 6 Oct 2026
Managed parsing and schema extractionLlamaParse MCP26 tools on the unified OAuth endpoint, including indexing and project-key creation; 10K free credits/month
Searching long PDFs and whole folders locallypdf-mcp (jztan)13 tools with hybrid keyword and semantic search that flags hidden text as untrusted
Lightweight local reading across many formatsanymdRust binary, 4 tools, no API key, 6,144 weekly npm downloads for @sylphx/anymd as of mid-October 2026
A self-hosted PDF toolbox behind your firewallStirling PDF MCP ServerBuilt into Stirling PDF with OAuth2 or API key, off by default
Offline editing with no accountPDF Toolkit MCP22 local tools for merge, split, encrypt, forms, and creation

These picks highlight different uses, not exclusive capabilities. Check each entry’s feature table against your full workflow.

How we compared these servers

For each server, we compare 6 fields: capabilities, data routing, setup, pricing, maintenance, and supported clients.

Tool lists and versions come from project READMEs and release notes, package metadata from npm or PyPI, and hosted-service details and costs from vendor documentation and pricing pages.

GitHub stars and directory visitor counts, including PulseMCP’s estimates, indicate popularity. Vendor-provided speed or accuracy figures, including anymd’s comparison with Docling and MarkItDown, are not independent test results.

For a deeper look at how MCP agents use PDF APIs together, see Building Agentic Document Workflows and the Foxit MCP Server setup guide.

The 10 PDF MCP servers in detail

Some servers run locally but send documents to a cloud API when a tool runs.

Before connecting confidential files, check the “Where files go” row in each table, along with the operations, setup requirements, and cost.

MarkItDown MCP deserves a brief mention as a conversion reference.

It exposes a single tool, has no built-in auth, and carries an alpha-suffixed release with conflicting Beta metadata, so its design assumes local-trusted use.

It’s excluded from the main list on scope grounds, but it’s a useful data point for single-format conversion comparisons.

The markitdown-mcp 0.0.1a7 PyPI page, flagged pre-release, showing the single convert_to_markdown(uri) tool and a Classifiers sidebar listing Development Status as 4 - Beta despite the alpha-suffixed version number.

Foxit PDF API MCP Server

Foxit maintains the Foxit PDF API MCP Server under the MIT license, packaging the Foxit PDF Services API operations as MCP tools and giving any MCP-compatible host direct access to Foxit’s cloud PDF engine.

The npm package @foxitsoftware/foxit-pdf-api-mcp-server registers 40 tools in v1.1.2 (13 Jul 2026), though the README for that version lists 36; the 4 additional registered tools in the package code are pdf_extract, pdf_ocr, pdf_redact, and pdf_structural_analysis.

The npm package page for @foxitsoftware/foxit-pdf-api-mcp-server, showing version 1.1.2, MIT license, and the README's "30+ PDF Operations Available" feature category list.
Foxit’s npm package at v1.1.2, under the MIT license. The README preview groups operations by category; the 40-tool count comes from the shipped code.

FeatureDetails
CoversConvert to/from PDF (Office, HTML, URL, text, images), merge, split, extract, compress, flatten, rotate, reorder, watermark, linearize, compare, OCR, redact, structural analysis, password protect/remove, form data import/export, properties. 40 tools in v1.1.2 (README lists 36).
Where files goThe server runs locally and calls Foxit’s cloud. Upload local files once and reuse document IDs for subsequent operations. URL and text creation can send inputs directly without a separate upload step.
Setupstdio or –transport httpStream. Credentials (FOXIT_CLIENT_ID/SECRET) go in environment variables; v1.1.2 sends them as headers, unlike the current REST OAuth docs. HTTP mode defaults to 0.0.0.0 with no inbound auth, so keep it local or add access controls.
Pricing1 credit per successful (2xx) billable PDF processing request. Uploads, polling, downloads, and error responses (4xx/5xx) do not consume credits. Free Developer plan: 500 credits/year. See Credits Explained and the pricing page.
MaintenanceMIT. npm v1.1.2 (13 Jul 2026). The official MCP Registry still links to npm v0.2.3. Install from npm directly to get the current version.
Works withClaude Desktop, VS Code, and Cursor, plus any MCP host via stdio or HTTP stream.

Foxit's Credits Explained reference page, listing what counts as a billable request and confirming failed requests, task-status polling, document downloads, and file uploads are not billable.
Foxit charges 1 credit for each successful billable PDF processing request. Uploads, polling, downloads, and failed requests do not use credits.

Foxit's API pricing page, showing the Developer plan at Free with 500 shared credits per year alongside the paid Startup, Business, and Volume tiers.
The free Foxit Developer plan includes 500 credits per year.

The official MCP Registry's API response for the Foxit PDF API MCP Server, showing two listed versions whose npm package identifier both resolve to version 0.2.3 even though the newer entry is marked isLatest.
The MCP Registry entry shown here points to npm v0.2.3, not the v1.1.2 package on npm. Install from npm directly for the version covered in this guide.

Where Foxit PDF API MCP Server stands out

Document IDs let agents chain uploaded files and processing results across steps without re-uploading, and MCP access ships with your API credentials at no extra cost, with the free Developer plan giving 500 credits per year and no credit card required.

The Foxit PDF Services product page, showing the banner that reads "Connect your LLM agents to Foxit PDF Services through the new MCP server."
Foxit makes its PDF Services operations available to agents through the MCP server.

What to consider

eSign and Document Generation are separate Foxit APIs with their own tools but the same shared credit pool, wrapped as custom tools when your agent needs them, per the Foxit MCP Server post.

Most operations follow an async pattern (call the operation, then get_task_result), except pdf_protect, which polls internally, so factor that into your tool-call count.

The HTTP transport also defaults to binding 0.0.0.0 with no inbound authentication, so add access controls before exposing it externally; get_task_result may also share results via a public link, so treat it as a data-sharing event, not a status check.

Best for

Agents that convert, assemble, and secure documents as part of a product workflow.

Getting started

Create a free Foxit developer account and follow the pinned @foxitsoftware/foxit-pdf-api-mcp-server package setup. Confirm the authentication path against the current API reference before deploying.

Nutrient DWS MCP Server

The Nutrient DWS MCP Server, maintained by Nutrient (formerly PSPDFKit), wraps the Nutrient Document Web Services API as MCP tools, covering a broad range of document operations with PAdES certificate-based digital signing as a standout capability not commonly found elsewhere on this list.

FeatureDetails
CoversMerge, convert between PDF, Office, images, HTML, Markdown, and PDF/A, OCR, watermark, rotate, flatten, compress and linearize, redact, passwords and permissions, data and field extraction, and digital signing (PAdES).
Where files goThe server runs locally and sends processing files to Nutrient’s cloud. Sandbox restrictions apply only when configured.
Setupstdio via npx or the Claude extension. OAuth covers both APIs; headless/API-key use needs separate Processor and Data Extraction credentials.
PricingSeparate billing for Processor (50 free credits/month; paid Starter beyond that) and Data Extraction (per-page parsing, field extraction extra). Free plan applies a watermark, removed on paid PAYG. See pricing.
MaintenanceMIT. v0.1.3 (28 Aug 2026).
Works withClaude Desktop, Cursor, Windsurf, VS Code, and Codex.

The Nutrient DWS MCP Server GitHub repository, showing the DWS MCP v0.1.3 release tag and the MIT license.
Nutrient’s MIT-licensed MCP server, shown here at v0.1.3.

Nutrient's Processor API pricing page, showing the Free tier at $0/month with 50 credits/month and a note that output carries an evaluation watermark unless the plan is paid or pay-as-you-go is enabled.
Nutrient includes 50 free Processor credits per month, but removing the output watermark requires paid or pay-as-you-go access.

Where Nutrient DWS MCP Server stands out

PAdES certificate-based digital signing, required for legally binding signatures in many European and enterprise contexts, is the key differentiator.

Paired with OCR and AI-assisted redaction, an agent can scan a document, redact sensitive fields, and apply a certificate-based signature in one workflow.

The server also supports PDF/A conversion for archival or regulatory use.

What to consider

The free-plan watermark is removed only on a paid PAYG tier, so confirm that tier is active before deploying anywhere watermarked output is a problem.

The server is still pre-1.0 at v0.1.3, so the tool surface and auth model may change, and headless use needs separate Processor and Data Extraction credentials.

Best for

Agents that must apply a certificate-based digital signature before a document leaves the workflow.

Getting started

See the Nutrient DWS MCP Server on GitHub and the Nutrient PDF MCP server page for setup and current credential requirements.

CloudConvert MCP Server

The CloudConvert MCP Server is a fully hosted server maintained by CloudConvert, the file conversion service, running as a Streamable HTTP endpoint authenticated with OAuth 2.0, nothing to install.

FeatureDetails
CoversConvert, compress, watermark, capture URLs to PDF, merge, OCR, PDF/A, encrypt and decrypt, split and extract pages, rotate. 24 tools.
Where files goCloudConvert’s cloud. Input files can be supplied as downloadable URLs. Output links expire after 24 hours. ChatGPT automatically bridges attachments into temporary input URLs.
SetupHosted Streamable HTTP endpoint with OAuth 2.0. Nothing to install.
Pricing10 free conversion credits per day, with additional credits via packages or subscriptions. See CloudConvert pricing.
MaintenanceHosted service with no package version to track.
Works withChatGPT and Claude connectors, per CloudConvert’s docs.

CloudConvert's pricing page, showing the Free tier at 10 conversion credits per day alongside the Package and Subscription tiers.
CloudConvert includes 10 free conversion credits per day.

Where CloudConvert MCP Server stands out

The hosted endpoint works directly in ChatGPT and claude.ai with no local setup, and ChatGPT attachments become temporary downloadable URLs automatically, so an agent can process uploaded PDFs without the user managing file transfers.

What to consider

The 24-hour link expiry on outputs means downstream steps need to download or store results promptly, and clients other than ChatGPT or claude.ai must supply files as downloadable URLs, so confirm your client can do that and supports the required transport before committing.

Best for

Hosted chat workflows where files arrive as attachments or downloadable URLs (ChatGPT or Claude connectors).

Getting started

See the CloudConvert MCP Server docs for connector setup and OAuth configuration.

PDF.co MCP Server

The PDF.co MCP Server, maintained by the PDF.co team, wraps the PDF.co cloud API as MCP tools.

Its 38 tools cover typical extraction and conversion jobs, including an AI invoice parser and table-finding tools for document data extraction workflows.

FeatureDetails
CoversPDF to JSON, CSV, text, Excel, XML, HTML, and images; Office, HTML, and images to PDF; merge, split; read, fill, and create forms; OCR; passwords; table finding; AI invoice parsing. No compression tool.
Where files goPDF.co’s cloud.
Setupstdio via uvx. API key required.
PricingCredit-based, starting from a monthly plan billed annually. HTML to PDF costs 9 credits per page as a reference point. See PDF.co pricing for current rates.
MaintenanceMIT. v0.0.9 (28 Jul 2026).
Works withCursor and Claude Desktop.

PDF.co's pricing page, showing the Basic, Personal, and Business monthly plans with their credit allotments.
PDF.co sells monthly plans with a set credit allowance.

The pdfdotco/pdfco-mcp GitHub repository, showing the MIT license and v0.0.9 tagged as the latest release.
PDF.co’s MIT-licensed MCP server, shown here at v0.0.9.

Where PDF.co MCP Server stands out

The AI invoice parser and table-finding tools cut the work an agent would otherwise do in its own context window when pulling line items, totals, and vendor fields from financial documents.

The fill_forms tool (named fill_pdf_forms in the README but registered as fill_forms in the package) and the form-creation tools round out coverage for fillable documents.

What to consider

PDF.co has no compression tool. If your workflow also needs smaller files, you’ll need a separate compression step.

Best for

Agents that pull table data and invoice fields out of PDFs at scale.

Getting started

See the PDF.co MCP Server on GitHub for installation and API key setup.

Docling MCP

Docling MCP, maintained by the LF AI and Data project that started at IBM Research, wraps the Docling document processing library as MCP tools, converting documents to structured formats for RAG ingestion pipelines that need clean structure from complex layouts.

FeatureDetails
CoversConvert PDFs and other documents to Docling JSON or Markdown, with OCR and table-structure options, build new documents, and optional RAG tool groups. No PDF binary editing.
Where files goLocal conversion or your own Docling Serve instance. Remote is the default; local processing requires the local extras install. Optional RAG and model service routing may send data to configured external endpoints.
Setupstdio, SSE, or streamable HTTP. The remote Docling Serve API key is separate from MCP endpoint authentication; configure both independently.
PricingFree and open source; you pay for compute.
MaintenanceMIT. v3.3.0 (6 Oct 2026). Version 3.x requires MCP SDK v2; verify your integration’s SDK version before upgrading.
Works withClaude Desktop, LM Studio, and Llama Stack.

The Docling MCP GitHub repository, showing the v3.3.0 release tagged as the latest version.
Docling MCP’s v3.3.0 release on GitHub.

Where Docling MCP stands out

Layout-aware conversion preserves table structure, column ordering, and document hierarchy, cutting the cleanup work an agent would otherwise do when indexing research papers, technical specs, or multi-column reports.

Optional RAG tool groups let agents build and query vector indexes from the same server, simplifying pipelines for teams that want ingestion and retrieval in one place.

What to consider

Docling MCP converts documents and does not write PDF binaries, so it cannot merge, compress, or encrypt a file; pair it with an editing server for pipelines that need both.

The v3.x requirement for MCP SDK v2 is a real constraint to check before upgrading from v2.x.

Best for

RAG and ingestion pipelines that need clean, layout-aware structure from complex document layouts.

Getting started

See Docling MCP on GitHub for installation options and Docling Serve configuration.

LlamaParse MCP

LlamaParse MCP is the hosted MCP server for LlamaIndex’s LlamaParse document parsing service, running entirely on LlamaIndex’s infrastructure with nothing to install, covering structured extraction, schema-based parsing, and index management through 26 tools on a unified OAuth endpoint.

FeatureDetails
CoversParse to Markdown or text with OCR, classify, split into sections, schema-based extraction and indexing. No PDF binary editing. LiteParse is available for jobs that do not require Parse credits.
Where files goLlamaIndex’s cloud, with North America and EU endpoints available.
SetupHosted Streamable HTTP. Interactive clients use OAuth; API-key callers pass files by URL (not direct upload).
Pricing10K free credits/month; Starter tier includes 40K credits/month. Additional usage billed per 1,000 credits. See LlamaIndex pricing for current rates.
MaintenanceHosted service. The older run-llama/mcp-server-llamacloud repo is archived; use the current hosted endpoint.
Works withCursor, VS Code, Claude Code, Claude connectors, and Codex.

LlamaIndex's LlamaParse pricing page, showing the Free plan at 10K credits/month and the Starter plan at 40K credits/month.
LlamaParse includes 10K credits per month on Free and 40K on Starter.

Where LlamaParse MCP stands out

The unified endpoint means no server to run, model to download, or Docling Serve to maintain, cutting operational overhead for teams that want managed parsing and schema extraction with North America/EU data routing.

Schema-based extraction suits varied document types, since you define the schema and let LlamaParse handle extraction, which tends to produce more consistent results than prompting an LLM to locate fields.

What to consider

LlamaParse MCP reads and parses documents without modifying PDFs; account and index writes consume credits separately from parsing.

LiteParse skips Parse credits for jobs that don’t need high-fidelity parsing, but API-key callers can’t upload files directly and must supply a URL to an accessible file, adding a step for locally stored documents.

Best for

Teams extracting structured fields from varied documents without running their own parser.

Getting started

See the LlamaParse MCP docs for endpoint details and OAuth setup.

pdf-mcp (jztan)

The pdf-mcp server by jztan is an open-source, locally-running MCP server focused on reading and searching PDFs.

Its 13 tools include hybrid keyword and semantic search, page-level reading, table extraction, and vector-chart data reading, and it flags hidden or injected text as untrusted rather than passing it silently along.

FeatureDetails
CoversHybrid and folder search, page reads, tables, vector-chart data, Tesseract OCR, and page rendering. Note that local embedding, model, and OCR dependencies must be installed separately. No PDF editing.
Where files goLocal by default. HTTP deployments use the configured server. Optional remote embeddings send text to the configured endpoint.
Setupstdio or bearer-token-protected HTTP. Claude Desktop extension available. VS Code, Cursor, Codex CLI, and Kiro setups are documented.
PricingFree.
MaintenanceMIT. v3.5.0 (3 Oct 2026).
Works withClaude Desktop and Claude Code; documented setups for VS Code, Cursor, Codex CLI, and Kiro.

The pdf-mcp GitHub releases page, showing v3.5.0 tagged as the latest release.
The v3.5.0 release of jztan’s pdf-mcp server.

A table from the pdf-mcp README listing hybrid BM25-plus-semantic search, OCR via Tesseract for scanned PDFs, and a row stating hidden or injected text is flagged as untrusted rather than silently ingested.
pdf-mcp combines keyword and semantic search. Its README says hidden or injected text is flagged as untrusted rather than silently passed to the agent.

Where pdf-mcp (jztan) stands out

The server reads only the pages an agent requests rather than dumping an entire PDF into context, cutting token use for long contracts, filings, and manuals at scale.

It also explicitly flags hidden or injected text as untrusted, a warning most reading tools never surface.

What to consider

This server reads and searches PDFs only; it cannot merge, split, rotate, compress, or otherwise modify a document.

PulseMCP’s directory lists editing capabilities the README doesn’t document, so rely on the README, and budget setup time for external dependencies (Tesseract for OCR, a local embedding model for semantic search).

Best for

Research and review agents working through long contracts, filings, or technical manuals where selective reading reduces cost.

Getting started

See pdf-mcp on GitHub for dependency setup and client configuration.

anymd

anymd (formerly pdf-reader-mcp) is a Rust binary distributed via npm. It converts PDFs and other document formats to Markdown, with 4 tools, no API key, and no network upload for local files.

FeatureDetails
CoversFour tools for mixed-format reading and Markdown output. OCR requires opt-in local models or an installed Tesseract binary. No PDF editing.
Where files goYour machine. No files are uploaded.
Setupstdio Rust binary installed via npm (npx -y @sylphx/anymd). No API key required.
PricingFree MIT core. An optional $29 one-time Pro add-on enables video timelines and citation checks.
MaintenanceMIT core. Release 8.5.3 (11 Oct 2026).
Works withClaude Code, Codex, Cursor, VS Code, Claude Desktop, Windsurf, and Gemini CLI.

The SylphxAI/anymd GitHub repository, showing the project description "A fast Rust MCP server and CLI that runs on your machine. No API key."
Use SylphxAI’s anymd project and the @sylphx/anymd npm package. The unscoped anymd package belongs to an unrelated macOS-only tool, 1qh/anymd.

The npm registry page for the scoped package @sylphx/anymd, showing version 8.5.3, 6,144 weekly downloads, and 2 dependents.
The @sylphx/anymd package at v8.5.3, showing 6,144 weekly downloads in mid-October 2026. Those downloads belong to this scoped package, not the unrelated anymd package.

Where anymd stands out

Its zero-dependency, zero-upload design supports mixed-format reading in a local agent, since pointing it at a folder of PDFs, Word docs, and Markdown files lets it read all of them through one server with no account setup and a small runtime footprint.

The @sylphx/anymd package shows 6,144 weekly downloads as of mid-October 2026, suggesting active use, though download counts don’t map directly to unique users and the figure moves week to week.

What to consider

anymd is read-only, converting documents to Markdown without producing modified PDFs, and OCR needs either a local Tesseract install or opting into local model support.

The author’s benchmark against Docling MCP and MarkItDown MCP is self-run and not independently validated, so treat it as a directional vendor claim.

Best for

Coding agents that need to read mixed-format document folders quickly, without network calls or API keys.

Getting started

See anymd on GitHub for installation and format support details.

Stirling PDF MCP Server

The Stirling PDF MCP Server is the MCP interface built into Stirling PDF, a self-hosted PDF toolbox, exposing PDF editing and conversion operations over a Streamable HTTP endpoint behind OAuth2 or per-user API keys, off by default.

FeatureDetails
CoversPage operations (merge, split, rotate, reorder), conversion to and from PDF, compression, flattening and repair, encryption and permissions, upload and download, and AI features.
Where files goYour server for standard PDF operations. AI features use configured model and embedding providers, which may be hosted externally depending on your configuration.
SetupStreamable HTTP at POST /mcp, disabled by default. OAuth2 or per-user API key. Read and write scopes apply only in OAuth mode. Enable the server in Stirling PDF’s config and configure auth before exposing it.
PricingStirling PDF has Free, Team, and Enterprise tiers; see the Stirling pricing page. MCP usage and credit consumption are not described on the MCP documentation page; do not treat platform pricing as per-tool call charges without confirming separately.
MaintenanceOpen-core; MCP implementation is proprietary. Stirling PDF v3.1.0. Verify the applicable User License for your deployment context before production use.
Works withMCP Inspector; Claude Desktop via mcp-remote.

Stirling PDF's pricing page, showing the Free, Team, and Enterprise tiers with the Free tier's 1,000 monthly credits.
Stirling PDF offers Free, Team, and Enterprise plans. These are platform tiers, not a confirmed per-tool MCP rate card.

Stirling PDF's MCP server settings documentation, showing MCP is off by default, clients connect to /mcp on the same host and port as the app, and authentication mode is either API key or OAuth 2.1.
Stirling PDF’s MCP endpoint is disabled by default. Enable /mcp and configure API key or OAuth 2.1 authentication before connecting a client.

The Stirling-Tools/Stirling-PDF GitHub releases page, showing v3.1.0 tagged as the latest release.
Stirling PDF v3.1.0 on GitHub.

Where Stirling PDF MCP Server stands out

The full editing toolbox runs behind your own firewall and stays accessible to agents with scoped permissions, letting teams in regulated industries or with data-residency requirements process PDFs on their own infrastructure.

The read/write scope separation in OAuth mode lets you start an agent with read-only access and expand permissions once you trust its behavior.

What to consider

You’re responsible for running, securing, and maintaining Stirling PDF. Default inline response payloads cap at 10 MB (less after base64 encoding), with large outputs using a fileId reference instead.

For AI features, confirm your model and embedding providers match your data-handling requirements, since the default example config uses hosted providers, and check the User License before production use.

Best for

Teams seeking self-hosted PDF editing exposed to agents, with control over data routing and scoped permissions.

Getting started

See the Stirling PDF MCP Server docs and the Stirling PDF GitHub repo for configuration and licensing details.

PDF Toolkit MCP

PDF Toolkit MCP, maintained by AryanBV, is an open-source, fully offline MCP server with 22 tools for reading, editing, and creating PDFs, requiring no account, no API key, and making no network calls.

FeatureDetails
CoversExtract text and metadata, search, compare, and convert to Markdown; merge, split, rotate, reorder, flatten, AES-256 encryption; page numbers and QR codes; create PDFs from text, Markdown, or templates; fill forms; watermark; render pages to images. No compression or built-in OCR.
Where files goYour machine. Fully offline.
Setupstdio via npx. No auth required.
PricingFree.
MaintenanceMIT. v0.3.1 (30 May 2026).
Works withClaude Desktop, Claude Code, Cursor, VS Code, and Windsurf.

The PDF Toolkit MCP GitHub repository, showing the project description "22 tools" and the v0.3.1 release tagged as the latest version.
PDF Toolkit MCP v0.3.1 includes 22 tools for local PDF work.

Where PDF Toolkit MCP stands out

The server combines reading, editing, and creating PDFs with no external dependencies. AES-256 encryption, page creation from Markdown, and form-filling without uploading to any service support workflows where the data cannot leave your machine.

The rendering tool sends page images to the client’s vision model for analysis, extending OCR-like capability without bundling an OCR engine.

What to consider

There is no compression tool and no built-in OCR, so extracting text from rendered page images needs a vision-capable client, with accuracy depending on that model.

Built-in fonts cover Latin characters only, so non-Latin create or fill operations need a supplied fontPath pointing to an appropriate font file.

Best for

Local agents that edit documents containing data you cannot upload to a cloud service.

Getting started

See PDF Toolkit MCP on GitHub for the full tool list and font configuration notes.

What PDF MCP servers can and cannot do for an agent

A tool list is only part of the decision. Compare what each server can produce, where it processes files, and how a complete workflow is billed.

Capability coverage across all 10 servers

The table below marks a cell only where the README or vendor docs explicitly list the capability as of 7 October 2026.

ServerRead and extractOCRConvert to or from PDFMerge or splitCompressProtect or redactRuns on
Foxit PDF API MCP ServerYesYesYes (both ways)YesYesPassword and redactionFoxit cloud
Nutrient DWS MCP ServerYesYesYes (both ways)MergeYesPassword and redactionNutrient cloud
CloudConvert MCP ServerVia conversionYesYes (both ways)YesYesEncryptCloudConvert cloud
PDF.co MCP ServerYesYesYes (both ways)YesNoPasswordPDF.co cloud
Docling MCPYesYesTo Markdown or JSONNoNoNoLocal or Docling Serve
LlamaParse MCPYesYesMarkdown/text parsing; JSON extractionLogical section splittingNoNoLlamaIndex cloud
pdf-mcp (jztan)YesYes (Tesseract)NoNoNoNoLocal
anymdYesOpt-in (Tesseract or local model)To MarkdownNoNoNoLocal
Stirling PDF MCP ServerYes (OCR via enabled ocr-pdf using OCRmyPDF/Tesseract); AI Q&A needs AI engineYesYes (both ways)YesYesEncrypt and permissionsYour server
PDF Toolkit MCPYesVia rendered page images to client visionTo Markdown; from text, Markdown, or templatesYesNoAES-256 encryptLocal

Reading is well covered by open source, with five servers offering local-only processing at no cost.

Editing (merge, convert, compress, protect) needs a cloud API server, Stirling PDF, or PDF Toolkit MCP, and no single server covers every capability, so the right choice depends on which operations your workflow needs.

Where your document goes when the agent calls a tool

A locally running server doesn’t necessarily keep document content on your machine. pdf-mcp, anymd, and PDF Toolkit MCP process PDFs locally, but content returned to the agent may still reach its model provider, and pdf-mcp can also use remote embeddings.

Docling MCP defaults to a remote Docling Serve instance unless you install the
local extras, and Stirling PDF processes PDFs on your own server but routes AI features through hosted model and embedding providers.

Foxit, Nutrient, CloudConvert, PDF.co, and LlamaParse all process files in the cloud, so check each vendor’s retention policy and the entries above for file-handoff and regional options.

What a tool call costs

Pricing captured from vendor pricing pages, 7 October 2026. Verify current rates before budgeting a workflow.

ServerPricing modelFree allowance
Foxit PDF API MCP Server1 credit per successful (2xx) billable PDF processing request; shared credit pool. See pricing.500 credits/year
Nutrient DWS MCP ServerCredits per operation (e.g., HTML to PDF: 0.5 credits; OCR: 2 credits); separate Processor and Data Extraction billing. See pricing.50 Processor credits/month; default watermark removed with paid PAYG
CloudConvert MCP ServerConversion credits per operation; packages or subscriptions. See pricing.10 credits/day
PDF.co MCP ServerCredits per page and per call. See pricing.Trial credits on signup
LlamaParse MCPPer-credit usage above free tier; Starter tier includes 40K credits/month. See pricing.10K credits/month
Stirling PDF MCP ServerPlatform-level tiers (Free, Team, Enterprise); 1 cent per credit on paid tiers. See pricing.1,000 credits/month on free tier
Docling MCPFree open-source core; you pay for compute and any remote services you configure.No per-call meter
pdf-mcp (jztan)Free.No per-call meter
anymdFree MIT core; optional $29 one-time Pro.No per-call meter
PDF Toolkit MCPFree.No per-call meter

Estimate costs for the whole workflow, not a single tool call. An editing workflow can take several calls (upload, operation, a get_task_result poll, download, sometimes a retry), but distinguish tool calls from billable requests, since with Foxit, uploads, polling, downloads, and failed requests don’t consume credits.

A read-only server that retrieves only the relevant pages can also cut model input cost versus loading an entire PDF into context, given Anthropic estimates 1,500 to 3,000 text tokens per page for Claude’s native PDF processing.

Security considerations for agents running PDF tools

Treat external PDFs as untrusted input, since their text can contain instructions designed to manipulate an agent (prompt injection, OWASP LLM01). pdf-mcp flags hidden or injected text, but application-level safeguards are still needed.

MCP servers pose a separate risk too, since Invariant Labs demonstrated tool poisoning in April 2025, where malicious tool descriptions manipulate client behavior, and the MCP specification on tools calls for human oversight with the ability to deny tool invocations.

Require host-side approval for write operations until you trust the agent’s behavior, restrict accessible directories, document IDs, and tool permissions (Stirling PDF separates read and write scopes in OAuth mode), and test with unusual text, embedded objects, and long unstructured content before production.

The unauthenticated HTTP default and the public-link behavior of get_task_result noted in the Foxit entry above are exactly this kind of gap, the sort worth checking for on any server before connecting it to a pipeline that handles confidential documents.

Choosing a PDF MCP server

Match the server to the job, not the other way around. Reading and extraction are covered well by free, local, open-source options, so an agent that only answers questions about a PDF rarely needs a cloud account.

Editing, converting, and assembling documents narrows the field to a cloud API server, Stirling PDF, or a local toolkit like PDF Toolkit MCP; the choice then comes down to where content is allowed to go and whether certificate-based signing or a specific format matters.

Weigh data routing against convenience, since a hosted cloud endpoint needs nothing to install but sends file content off your infrastructure on every call, while a local or self-hosted server keeps data in place but puts you on the hook for running and securing it.

Check pricing against expected call volume too, since several calls per document (upload, operation, poll, download) can burn through a free allowance faster than a single-call estimate suggests.

For an agent that converts, assembles, and secures documents as part of a product workflow, cloud API coverage in one install is the deciding factor, and that’s where the Foxit PDF API MCP Server fits, with eSign and Document Generation available as separate integrations wrapped as custom tools when needed.

Plan for request limits as well as credits, since the sandbox allows 15 requests/minute and production allows 100/minute, including status checks and file requests.

Create a free Foxit developer account and follow the pinned @foxitsoftware/foxit-pdf-api-mcp-server package setup, confirming its authentication path against the current API reference.

PDF MCP server FAQs

Yes. Claude’s API accepts PDFs directly, up to 32 MB per request and 600 pages (100 when the context window is under 1M tokens), so a single-document question-answer task needs no server. Consider a server for larger files, folder search, encrypted documents the model can’t open, or workflows that produce a modified PDF.

Compatibility depends on the server, supported transport, and client plan or workspace restrictions; hosted Streamable HTTP with OAuth alone doesn’t guarantee support. CloudConvert’s docs cover ChatGPT and Claude connectors, and LlamaParse documents Claude connectors, but check the client’s requirements and test your setup. Local stdio servers need a locally running process and aren’t directly compatible with hosted chat interfaces.

Yes. pdf-mcp, anymd, Docling MCP, and PDF Toolkit MCP are free and open source with no per-call charges. Several cloud services, including Foxit’s, also offer free allowances; see the pricing table for limits and conditions.

Direct REST calls are often simpler for fixed pipelines, since they’re predictable, easy to test, and straightforward to monitor. Use MCP when the agent chooses operations, documents, or the next step at runtime based on intermediate results.

How to Build Contract Lifecycle Workflows with an API

Contract lifecycle management API pipeline diagram linking DocGen, eSign, and PDF Services APIs with arrows

Most teams automate signatures and stop there, leaving drafting, approvals, and data entry manual. This guide shows you how to automate contract workflows with an API, chaining Foxit DocGen, eSign, and PDF Services through eSign webhooks. You get working Python code that takes every contract from template to structured data without a single manual hand-off.

Poor contract management costs the average organization an estimated 9.2% of annual revenue, according to World Commerce & Contracting research into common contracting pitfalls like slow negotiation cycles and missed post-award milestones. A lot of that leakage traces back to a specific integration gap.

Most engineering teams wire up an eSign API, get signature collection working, and call the contract lifecycle solved. Drafting still happens in a shared drive. Approval routing still happens over email. Nobody’s watching for the moment a contract actually gets executed, so the data inside it (dates, values, terms) sits locked in a PDF until someone opens it by hand.

This guide chains three Foxit APIs into one automated pipeline that closes that gap, using DocGen for template-based drafting, eSign for signature routing, and PDF Services for post-execution data extraction, connected end to end by eSign’s own webhook events rather than a separate orchestration product. By the end, you’ll have a contract that goes from template to structured, extracted data with no manual hand-off at any stage.

Prerequisites

Before running any of the code below, set up a local Python environment:

Scaffold the workspace and install the two libraries used throughout this guide, Requests for the HTTP calls and Flask for the webhook receiver near the end:

mkdir contract-lifecycle-demo && cd contract-lifecycle-demo
python3 -m venv .venv
source .venv/bin/activate
pip install requests flask

Each of the three Foxit APIs in this guide authenticates with its own credential pair. DocGen and PDF Services both live behind the same fusion gateway and use a client_id/client_secret header pair, while eSign issues a separate client_id/client_secret pair that it exchanges for a bearer token. Generate all three pairs from the Foxit developer dashboard after signing up, and store them as environment variables (FOXIT_CLIENT_ID/FOXIT_CLIENT_SECRET for DocGen, FOXIT_ESIGN_CLIENT_ID/FOXIT_ESIGN_CLIENT_SECRET for eSign, FOXIT_PDF_CLIENT_ID/FOXIT_PDF_CLIENT_SECRET for PDF Services) rather than hardcoding them.

The contract lifecycle as an API call graph

Before writing code, it helps to map each stage of a contract’s life to the specific API that owns it:

  • Drafting: the DocGen API merges structured data into a Word template and returns a populated document.
  • Approval routing and signing: the eSign API creates a signing envelope, defines who signs in what order, and renders the signing UI (embedded in your app or via a redirect).
  • Completion handoff: eSign fires a webhook event the moment every signature lands, which is the trigger for everything downstream.
  • Post-execution extraction: the PDF Services API pulls structured data (party names, dates, values) back out of the now-signed contract.

Four API calls own the whole lifecycle. No fifth orchestration layer is required. eSign’s own party sequencing handles approval routing, and its own webhook subscriptions handle the handoff to downstream systems, which is the pattern this guide builds.

Generating the contract from a template

The DocGen API works from a Word .docx template with merge fields written as {{ field_name }}. This guide uses a Master Services Agreement template with fields for both parties’ names, addresses, signatories, the effective date, term, contract value, payment schedule, and governing law.

Before merging data into a template, call the Analyze Document endpoint to get back the exact list of tags the template actually contains. This step is not optional. Getting the field names wrong in your merge payload silently drops that field rather than throwing an error, so confirming the real tag list first is what catches a typo before it ships into a signed contract. GenerateDocumentBase64 also rejects .docx payloads larger than 4 MB once they’re base64-encoded, so a template that grows past that (usually from embedded images or fonts) needs slimming down before it reaches the API, either by compressing images in Word’s Picture Format tools, dropping embedded fonts and OLE objects, or splitting an oversized template into smaller pieces.

import os
import base64
import requests

BASE_URL = "https://na1.fusion.foxit.com"
HEADERS = {
    "client_id": os.environ["FOXIT_CLIENT_ID"],
    "client_secret": os.environ["FOXIT_CLIENT_SECRET"],
}

with open("contract_standard_signable.docx", "rb") as f:
    template_b64 = base64.b64encode(f.read()).decode()

analyze_response = requests.post(
    f"{BASE_URL}/document-generation/api/AnalyzeDocumentBase64",
    headers={**HEADERS, "Content-Type": "application/json"},
    json={"base64FileString": template_b64, "fileName": "contract_standard_signable.docx"},
)
analyze_response.raise_for_status()
tags = analyze_response.json()["singleTagsString"].split(",")
print(tags)

Run against the sample template, this returns singleTagsString, a comma-separated list of every merge field the template contains. This is the exact key set your merge payload needs to match. Run this command from your terminal:

python3 analyze_tags.py

The expected output should look like the following:

['effective_date', 'party_a_name', 'party_a_address_line1', 'party_a_address_city', 'party_a_address_state', 'party_a_signatory_name', 'party_a_signatory_title', 'party_b_name', 'party_b_address_line1', 'party_b_address_city', 'party_b_address_state', 'party_b_signatory_name', 'party_b_signatory_title', 'term_months', 'contract_value', 'payment_schedule', 'governing_law']

The endpoint’s own reference confirms the same request and response shape:

Foxit API reference for the AnalyzeDocumentBase64 endpoint with request body fields, curl example, and response codes

With the confirmed tag list in hand, call the generation endpoint with a documentValues object keyed to those tags:

document_values = {
    "effective_date": "October 1, 2026",
    "party_a_name": "Northwind Robotics, Inc.",
    "party_a_address_line1": "200 Innovation Way",
    "party_a_address_city": "Austin",
    "party_a_address_state": "TX",
    "party_a_signatory_name": "Jordan Lee",
    "party_a_signatory_title": "VP of Operations",
    "party_b_name": "Blue Harbor Analytics LLC",
    "party_b_address_line1": "55 Market Street",
    "party_b_address_city": "San Francisco",
    "party_b_address_state": "CA",
    "party_b_signatory_name": "Morgan Diaz",
    "party_b_signatory_title": "Managing Director",
    "term_months": 12,
    "contract_value": 48000,
    "payment_schedule": "Net 30, monthly",
    "governing_law": "State of Delaware",
}

generate_response = requests.post(
    f"{BASE_URL}/document-generation/api/GenerateDocumentBase64",
    headers={**HEADERS, "Content-Type": "application/json"},
    json={
        "base64FileString": template_b64,
        "fileName": "contract_standard_signable.docx",
        "documentValues": document_values,
        "outputFormat": "pdf",
    },
)
generate_response.raise_for_status()
result = generate_response.json()

with open("generated_contract.pdf", "wb") as f:
    f.write(base64.b64decode(result["base64FileString"]))

This code sends the same base64-encoded template alongside the merge data and an outputFormat of pdf, and gets back a response containing the generated file as another base64 string, decoded and written to disk in the final step. The contract_value field, formatted in the template as {{ contract_value \# "$#,##0.00" }}, renders as $48,000.00 in the output without any currency formatting logic in the Python code; the formatting instruction lives entirely in the Word template.

Run against the sample data above, that call produces a fully merged contract, ready for the signature block eSign picks up next:

Generated Master Services Agreement PDF with merged party names, addresses, effective date, term, and contract value

Routing for approval and signature

The generated PDF above already contains eSign Text Tags in its signature block, ${signfield:1:y:__________} for the first signer and ${signfield:2:y:__________} for the second, embedded directly in the Word template alongside matching ${datefield:...} tags. Text Tags and DocGen merge fields don’t conflict; DocGen only touches {{ }}-style tags, so the eSign tags pass through untouched and get parsed by eSign once the document reaches it.

Creating the envelope and defining who signs, and in what order, is one call:

esign_response = requests.post(
    "https://na1.foxitesign.foxit.com/api/oauth2/access_token",
    data={
        "client_id": os.environ["FOXIT_ESIGN_CLIENT_ID"],
        "client_secret": os.environ["FOXIT_ESIGN_CLIENT_SECRET"],
        "grant_type": "client_credentials",
        "scope": "read-write",
    },
)
esign_response.raise_for_status()
esign_token = esign_response.json()["access_token"]

with open("generated_contract.pdf", "rb") as f:
    contract_b64 = base64.b64encode(f.read()).decode()

folder_response = requests.post(
    "https://na1.foxitesign.foxit.com/api/folders/createfolder",
    headers={"Authorization": f"Bearer {esign_token}"},
    json={
        "folderName": "MSA - Northwind Robotics / Blue Harbor Analytics",
        "sendNow": False,
        "processTextTags": True,
        "inputType": "base64",
        "base64FileString": [contract_b64],
        "fileNames": ["msa.pdf"],
        "createEmbeddedSigningSession": True,
        "embeddedSignersEmailIds": ["[email protected]", "[email protected]"],
        "parties": [
            {"firstName": "Jordan", "lastName": "Lee", "emailId": "[email protected]",
             "permission": "FILL_FIELDS_AND_SIGN", "sequence": 1},
            {"firstName": "Morgan", "lastName": "Diaz", "emailId": "[email protected]",
             "permission": "FILL_FIELDS_AND_SIGN", "sequence": 2},
        ],
    },
)
folder_response.raise_for_status()
folder = folder_response.json()
folder_id = folder["folder"]["folderId"]
sessions = folder["embeddedSigningSessions"]

eSign authenticates separately from DocGen and PDF Services, with its own credential pair and its own OAuth2 token exchange (form-encoded, not JSON). The parties array is where approval routing actually lives. Each party’s sequence number controls signing order, here Jordan signs first and Morgan second, and the exact rules for how sequence numbers interact (whether two parties can share a sequence for parallel signing, for instance) are documented on the Parties reference rather than repeated here, since that’s the definitive source and it’s worth reading directly before you rely on the exact semantics. processTextTags: true tells eSign to parse the ${signfield:...} tags already embedded in the PDF into real, positioned signature fields, which is what makes the fields the reader sees next actually show up.

createEmbeddedSigningSession: true returns a ready-to-render embeddedSessionURL for each signer in the response, meaning the signing UI loads inside your own app in an iframe rather than sending the signer an email that takes them to a hosted Foxit page. This is the embedded option; the alternative is redirect-based delivery, where sendNow: true and no embedded session flag sends signers a standard email invitation instead. Embedded signing keeps the whole flow inside your product; redirect delivery is simpler to wire up but hands the signer off to a separate page.

Once every party has signed, the folder moves through SHARED, then PARTIALLY SIGNED as each signer completes their fields, then COMPLETED, and finally EXECUTED. That transition to EXECUTED is the event this guide’s next section listens for.

Confirm Signature dialog with consent checkbox over a signed contract showing Morgan Diaz signature and date field

Confirming lands the signer on eSign’s own result page, shown below.

Once the folder reaches EXECUTED, retrieve the signed PDF with a single download call:

download_response = requests.get(
    "https://na1.foxitesign.foxit.com/api/folders/download",
    headers={"Authorization": f"Bearer {esign_token}"},
    params={"folderId": folder_id},
)
download_response.raise_for_status()

with open("signed_contract.pdf", "wb") as f:
    f.write(download_response.content)

The response comes back as application/octet-stream rather than application/pdf, so write the raw bytes to disk without trying to sniff or validate the content type. The downloaded file contains every filled field value plus each signer’s certificate, which is the file the extraction step below reads from.

Extracting structured data from the signed contract

Once eSign’s completion webhook fires (covered in the next section), the signed PDF is ready for extraction. This reuses the same asynchronous pattern the PDF Services API uses everywhere, uploading the file, starting a task, polling it, then downloading the result.

pdf_headers = {
    "client_id": os.environ["FOXIT_PDF_CLIENT_ID"],
    "client_secret": os.environ["FOXIT_PDF_CLIENT_SECRET"],
}

with open("signed_contract.pdf", "rb") as f:
    upload_response = requests.post(
        f"{BASE_URL}/pdf-services/api/documents/upload",
        headers=pdf_headers,
        files={"file": ("signed_contract.pdf", f, "application/pdf")},
    )
document_id = upload_response.json()["documentId"]

extract_response = requests.post(
    f"{BASE_URL}/pdf-services/api/documents/pdf-structural-extract",
    headers={**pdf_headers, "Content-Type": "application/json"},
    json={"documentId": document_id},
)
task_id = extract_response.json()["taskId"]

This code uploads the signed PDF to the PDF Services API and gets back a documentId, then calls the pdf-structural-extract endpoint with that id to kick off an asynchronous extraction task and get back a taskId to track its progress.

From here, poll the task status endpoint until its status field reads COMPLETED, then download the resulting ZIP and pull out StructureInfo.json:

import time
import io
import json
import zipfile

while True:
    status_response = requests.get(
        f"{BASE_URL}/pdf-services/api/tasks/{task_id}", headers=pdf_headers
    )
    status_response.raise_for_status()
    status = status_response.json()
    if status["status"] == "COMPLETED":
        result_document_id = status["resultDocumentId"]
        break
    if status["status"] == "FAILED":
        raise RuntimeError(f"Extraction task failed: {status}")
    time.sleep(3)

zip_response = requests.get(
    f"{BASE_URL}/pdf-services/api/documents/{result_document_id}/download",
    headers=pdf_headers,
)
zip_response.raise_for_status()

with zipfile.ZipFile(io.BytesIO(zip_response.content)) as archive:
    structure_info = json.loads(archive.read("StructureInfo.json"))

for element in structure_info["analyzeResult"]["elements"]:
    if element["type"] in ("title", "head", "paragraph"):
        text = " ".join(element["content"]["text"].split())
        print(element["type"], text)

The loop polls every three seconds until status reads COMPLETED, at which point resultDocumentId names the file to download as a ZIP archive. Inside that archive, StructureInfo.json holds the contract’s text broken into typed elements (titles, heads, paragraphs, and tables) under analyzeResult.elements, each carrying its content, position on the page, and a region.boundingBox polygon; the final loop walks the title, head, and paragraph elements and prints their normalized text, which is the starting point for mapping the output into a party_a/effective_date/contract_value schema. Table elements carry a different shape (a content.body grid keyed by row and column index rather than the region/content.text fields shown above), and mapping that full structure into a business schema is a big enough topic that it deserves its own treatment, which a companion article to this one covers. The full endpoint spec, including the task status values and the exact response shape, is documented in the Foxit API reference.

Run this command from your terminal:

python3 extract_structure.py

The expected output should look like the following, run against this guide’s own signed contract:

title MASTER SERVICES AGREEMENT
paragraph This Master Services Agreement (the Agreement) is entered into as of October 1, 2026 by and between the parties listed below.
head Parties
paragraph Party A: Northwind Robotics, Inc.
paragraph Address: 200 Innovation Way, Austin, TX
paragraph Signatory: Jordan Lee, VP of Operations
paragraph Party B: Blue Harbor Analytics LLC
paragraph Address: 55 Market Street, San Francisco, CA
paragraph Signatory: Morgan Diaz, Managing Director
head Term and Payment
paragraph Effective Date: October 1, 2026
paragraph Term: 12 months (fixed term, no automatic renewal)
paragraph Contract Value: $48,000.00
paragraph Payment Schedule: Net 30, monthly
paragraph Governing Law: State of Delaware
head Termination
paragraph This Agreement expires at the end of the term stated above. The parties may extend the term only by signing a new written agreement.
head Signatures
paragraph Party A: ${signfield:1:y:__________} Date: 09/24/2026 ${datefield:1:y::__________} Signer ID: RQFWP6D419...
paragraph Party B
paragraph Signer ID: H9T1D10019...
paragraph ______} Date: 09/24/2026 ${datefield:2:y::__________}

The signature block splits across several ragged elements rather than one clean paragraph, since the extractor treats the signed field’s rendered signature image and the surrounding text tags as separate content runs. That’s real extractor behavior worth planning for if you’re parsing this section specifically.

Connecting the chain to downstream systems with webhooks

None of this becomes an automated pipeline until something reacts the moment a contract gets executed. That’s the job of eSign’s own webhook subscriptions.

Registering a webhook is a portal step, not an API call. Log in to the eSign account as its owner and open API Settings, where a “Configure Webhooks” section takes a webhook URL, a webhook secret, and a set of event checkboxes to subscribe to (folder_completed is the one that matters here). This settings page is owner-only; a standard team-member login won’t see it.

Foxit eSign Configure Webhooks form with webhook URL, secret, access level, and event checkboxes like folder_signed
Foxit eSign API settings showing a saved webhook URL and secret with folder_sent, folder_signed, and folder_executed checked

Once registered, Foxit delivers each event as a POST to your URL with a signature query parameter, a base64-encoded HMAC-SHA-256 digest of the raw request body computed with your webhook secret. Verifying that signature before trusting the payload is the whole point of having a secret in the first place:

import hmac
import hashlib
import base64
from flask import Flask, request, abort

app = Flask(__name__)
WEBHOOK_SECRET = os.environ["FOXIT_ESIGN_WEBHOOK_SECRET"].encode()


def trigger_extraction_and_sync(folder_id):
    print(f"[webhook] verified signature, folder_completed for folder {folder_id}, kicking off extraction")
    # kick off the PDF Services extraction from the previous section and push the result to a CRM or ERP


@app.route("/webhook/foxit", methods=["POST"])
def foxit_webhook():
    received_sig = request.args.get("signature", "")
    raw_body = request.get_data()
    computed_sig = base64.b64encode(
        hmac.new(WEBHOOK_SECRET, raw_body, hashlib.sha256).digest()
    ).decode()

    if not hmac.compare_digest(received_sig, computed_sig):
        abort(403)

    payload = request.json
    event_name = payload.get("event_name")
    folder_id = payload.get("data", {}).get("folder", {}).get("folderId")

    if event_name == "folder_completed":
        trigger_extraction_and_sync(folder_id)

    return "", 200

This handler pulls the signature off the query string, recomputes the same HMAC digest server-side over the raw request body, and compares the two with hmac.compare_digest, a constant-time comparison that avoids leaking timing information an attacker could use to guess the correct signature one byte at a time. Only once that check passes does it parse the JSON payload and branch on event_name. A single folder_completed webhook fires once the envelope is fully executed, and by the time it arrives, its own data.folder.folderStatus field already reads EXECUTED, so there’s no separate event to wait for after this one. trigger_extraction_and_sync should still be written idempotently, since any webhook consumer needs to tolerate a duplicate delivery of the same event without double-processing it.

With the handler running locally, run this command from your terminal to send it a real folder_completed payload, correctly HMAC-signed with the same secret, for a folder that genuinely reached EXECUTED in this guide’s own signing run:

python3 -c "
import hmac, hashlib, base64, json, requests

WEBHOOK_SECRET = b'your_webhook_secret'
payload = {
    'event_name': 'folder_completed',
    'data': {'folder': {'folderId': 36099927, 'folderStatus': 'EXECUTED'}},
}
raw_body = json.dumps(payload).encode()
sig = base64.b64encode(hmac.new(WEBHOOK_SECRET, raw_body, hashlib.sha256).digest()).decode()
r = requests.post(f'http://127.0.0.1:5055/webhook/foxit?signature={sig}', data=raw_body, headers={'Content-Type': 'application/json'})
print(r.status_code, r.text)
"

The expected output should look like the following, in the terminal running the Flask app:

[webhook] verified signature, folder_completed for folder 36099927, kicking off extraction
127.0.0.1 - - [24/Sep/2026 17:45:04] "POST /webhook/foxit?signature=uK1HvZU6dmH9oH4cGhsm8sNeEBZA1hremgqaDYzMZyc= HTTP/1.1" 200 -

Before wiring trigger_extraction_and_sync to a production system, register a real webhook URL and send a real envelope through the whole chain to confirm the callback arrives and verifies. That first live run is also where the handful of mistakes below tend to surface.

Common mistakes

A few failure modes show up repeatedly when building this pipeline, and each one is easy to avoid once you know to look for it.

  • Tag names in the merge payload don’t match the template exactly. GenerateDocumentBase64 doesn’t error on an unrecognized key in documentValues; it silently drops that field from the output. Always confirm the real tag list with AnalyzeDocumentBase64 first rather than trusting a remembered field name, and diff the payload keys against the returned singleTagsString before sending a merge request.
  • Word’s autocorrect turns straight quotes into smart quotes inside a merge field. A field typed as {{ party_a_name }} can end up with a curly apostrophe or quote character if autocorrect touches it while editing the template, which breaks the tag silently the same way a misspelled name does. Paste field names in rather than retyping them, and re-run AnalyzeDocumentBase64 after any manual template edit to confirm the tag count hasn’t changed.
  • A Text Tag with a space instead of underscores never becomes a signature field. ${signfield:1: } is parsed by eSign as inert literal text rather than a fillable field, so the signer sees the placeholder text but nothing to sign. The working form always uses underscores for the fill width, as in ${signfield:1:y:__________}. If a signing session reports fewer required fields than the template has tags, this is the first thing to check.
  • The template’s .docx file exceeds the 4 MB DocGen cap after base64 encoding. Embedded images and fonts are the usual cause. GenerateDocumentBase64 rejects the payload outright rather than truncating it, so compress images, strip embedded fonts and OLE objects, or split the template before it reaches that size.

Frequently asked questions

A contract lifecycle management (CLM) API is a programmatic interface, or in this case a small set of them working together, for automating each stage of a contract’s life (drafting, review, signing, storage, and post-execution data extraction) without manual hand-offs between stages.

Chain the stages together by generating a document from a template, routing it for signing with role-based sequencing, capturing the completion event through a webhook rather than polling, and extracting structured data from the executed document asynchronously.

An eSign API handles the signature step, creating envelopes, defining signers, and collecting signatures. A CLM API (or, as this guide shows, a composed set of APIs) spans the full lifecycle, from drafting through post-execution data extraction, with the eSign step as one stage inside a larger pipeline.

Upload the signed PDF to get a documentId, call the structural extraction endpoint to start an asynchronous task and get back a taskId, then poll the task status endpoint until the result is ready and download the structured JSON.

Get started

The chain built in this guide, DocGen for drafting, eSign for signing and approval routing, PDF Services for extraction, and eSign’s own webhooks for the handoff between them, covers a contract’s full lifecycle with four API calls and no separate orchestration product. What it unlocks once it’s running unattended includes an audit trail that doesn’t depend on someone remembering to check a shared drive, renewal automation triggered off the actual execution date rather than a calendar reminder, and CRM or ERP sync that happens the moment a contract closes instead of whenever someone gets around to data entry.

Start building with a free Foxit developer account, no credit card required, using the same DocGen, eSign, and PDF Services endpoints shown above.

How to Extract Parties, Dates, and Key Terms from Contracts Using the Foxit API

Laptop with Python extraction code and a JSON record beside a contract with highlighted parties, a date, and a liability cap

Renewal dates slip past when contract terms live in PDFs and spreadsheets. This tutorial shows you how to pull parties, dates, notice periods, and liability caps from a signed contract with the Foxit PDF Services API, then add the signing audit trail from Foxit eSign. You end up with one JSON record per contract, ready for a CLM, CRM, or renewal-alert script.

Most teams still handle contract metadata the same way they did a decade ago. Someone opens the signed PDF, copies the effective date and renewal terms into a spreadsheet, and hopes nobody forgets to check back before the notice period closes. When the process breaks down, it usually breaks down quietly. A regex script built for one contract template chokes on the next one, and a renewal date slips past unnoticed.

This tutorial builds a two-stage pipeline that gets the same information out of a contract programmatically. The first stage uses Foxit’s PDF Services API to extract structured content metadata (party names, dates, notice periods, liability terms) from a signed PDF. The second stage calls the Foxit eSign API’s activity history endpoint to pull the signing audit trail, so the final record captures both what the contract says and how it got signed. By the end, you’ll have one JSON object per contract that’s ready to feed into a CLM tool, a CRM, or a renewal-alert script, built from a real API response rather than a screen-scrape.

What contract metadata looks like in practice

Before writing any code, it helps to know what you’re building toward. The two API calls this tutorial makes run independently against the same signed PDF and merge into one record, as shown below.

Diagram of a contract metadata extraction pipeline that merges PDF extraction and eSign activity history into one JSON record

The goal isn’t a wall of extracted text. It’s a small, typed record with the fields that actually drive downstream decisions:

{
  "party_a": "Northwind Robotics",
  "party_b": "Blue Harbor Analytics LLC",
  "effective_date": "March 3, 2026",
  "renewal_date": "March 3, 2028",
  "termination_notice_days": 30,
  "liability_cap": "$50,000"
}

That’s the schema this tutorial targets. Everything downstream, a renewal-alert cron job, a query against a CLM database, a BI dashboard, consumes a record shaped like this. The contract’s prose is the source of truth, but the schema is what actually gets used. A structural extraction API gets you from one to the other without hand-writing a parser for every contract template your organization uses.

Prerequisites

You’ll need the following before starting:

  • Python 3.8 or later, with pip for installing packages.
  • A virtual environment tool such as venv (included with Python) to isolate this project’s dependencies.
  • The requests library for making HTTP calls.
  • A code editor. VS Code with the Python extension works well for this walkthrough.
  • A free Foxit developer account. Sign up here. No credit card is required.

Set up your workspace:

mkdir contract-extraction && cd contract-extraction
python3 -m venv .venv
source .venv/bin/activate
pip install requests

Those four commands create the project folder, create and activate an isolated virtual environment inside it, and install the one library this tutorial’s code depends on.

Authenticating with the Foxit PDF Services API

Once you’ve signed up for a free developer account, the sign-up flow provisions API credentials immediately. There’s no separate approval step.

When you sign in, your dashboard has a client_id and client_secret. The PDF Services API and DocGen API authenticate with these two values sent as request headers, with no OAuth token exchange required.

Foxit developer dashboard showing client ID and masked client secret fields above a pre-filled cURL example
export FOXIT_CLIENT_ID="your_client_id"
export FOXIT_CLIENT_SECRET="your_client_secret"

Foxit eSign, which this tutorial’s second stage uses to pull signing metadata, runs on a separate host with its own token-based authentication, and needs a one-time activation step from your dashboard (look for “Get started with eSign”) before its endpoints will accept calls. Activate it now so it’s ready by the time you reach that section; the eSign section below covers the token exchange itself.

For the full authentication reference, see the Foxit API docs, or try a call directly against the interactive API reference before writing any code.

Uploading a contract and calling the extraction endpoint

The extraction flow uses two calls, uploading the PDF to get a document ID, then posting that document ID to the structural extraction endpoint.

This tutorial uses a short sample NDA between two fictional companies, with a purpose clause, a term-and-renewal clause, a termination clause, a liability cap, and a key-dates summary table. It’s built to mirror the clause structure of a real commercial NDA.

Step 1: Upload the document

import os
import requests

BASE_URL = "https://na1.fusion.foxit.com"
HEADERS = {
    "client_id": os.environ["FOXIT_CLIENT_ID"],
    "client_secret": os.environ["FOXIT_CLIENT_SECRET"],
}

with open("nda_sample.pdf", "rb") as f:
    upload_response = requests.post(
        f"{BASE_URL}/pdf-services/api/documents/upload",
        headers=HEADERS,
        files={"file": ("nda_sample.pdf", f, "application/pdf")},
    )
upload_response.raise_for_status()
document_id = upload_response.json()["documentId"]
print(document_id)

In this code, you open the local PDF, POST it as multipart form data to the upload endpoint, and read back a documentId. That ID is a handle to the file inside Foxit’s system; every subsequent call in this pipeline references the document by this ID rather than re-uploading the file.

Run this command from your terminal:

python3 step1_upload.py

The expected output should look like the following:

6ab519b2c7ca700694bf3174

Step 2: Call the structural extraction endpoint

The extraction call returns immediately with a taskId, and the client polls the task endpoint every two seconds until the status flips to COMPLETED, as shown below.

Diagram of the async extraction flow: upload the PDF, start extraction, poll task status, then download the result ZIP
import time

extract_response = requests.post(
    f"{BASE_URL}/pdf-services/api/documents/pdf-structural-extract",
    headers={**HEADERS, "Content-Type": "application/json"},
    json={"documentId": document_id},
)
extract_response.raise_for_status()
task_id = extract_response.json()["taskId"]

while True:
    task_response = requests.get(f"{BASE_URL}/pdf-services/api/tasks/{task_id}", headers=HEADERS)
    task = task_response.json()
    print(task)
    if task["status"] == "COMPLETED":
        result_document_id = task["resultDocumentId"]
        break
    if task["status"] == "FAILED":
        raise RuntimeError(task.get("error"))
    time.sleep(2)

download_response = requests.get(
    f"{BASE_URL}/pdf-services/api/documents/{result_document_id}/download",
    headers=HEADERS,
)
with open("extraction_result.zip", "wb") as f:
    f.write(download_response.content)

This code starts the extraction as an asynchronous task, since structural analysis takes longer than a typical request-response cycle. It posts the documentId, gets back a taskId, then polls the task status endpoint every two seconds until the status flips to COMPLETED or FAILED. Once complete, the task response includes a resultDocumentId pointing at a ZIP archive, downloaded in the final step. On the sample NDA, this whole flow (upload, extract, poll, download) completes in well under ten seconds.

Run this command from your terminal:

python3 step2_extract.py

The expected output should look like the following:

{'taskId': '6ab519d30a17a67b90dea85d', 'status': 'IN_PROGRESS', 'progress': 20}
{'taskId': '6ab519d30a17a67b90dea85d', 'status': 'COMPLETED', 'progress': 100, 'resultDocumentId': '6ab519d5316b427cfaec5212'}

Unzip extraction_result.zip and, on this run, you get exactly two files. Run this command from your terminal:

unzip extraction_result.zip && ls

The expected output should look like the following:

page_p0.pdf_0.png
StructureInfo.json

That JSON is the real output of this article. Here’s an abbreviated version of what it actually contains, taken from the same live run against the sample NDA (the full StructureInfo.json from this run is available if you want to see every element):

{
  "analyzeResult": {
    "elements": [
      {
        "type": "title",
        "content": { "text": "Mutual Non-Disclosure Agreement" },
        "region": { "page": 1, "boundingBox": [142, 70, 470, 70, 470, 99, 142, 99] },
        "id": "title1"
      },
      {
        "type": "paragraph",
        "content": {
          "text": "This Mutual Non-Disclosure Agreement (the \"Agreement\") is entered into as of March 3, 2026 (the \"Effective Date\"), by and between Northwind Robotics, Inc., ... (\"Party A\"), and Blue Harbor Analytics LLC, ... (\"Party B\")."
        },
        "id": "paragraph1"
      },
      {
        "type": "head",
        "content": { "text": "2. Term and Renewal" },
        "id": "head2",
        "level": 1
      },
      {
        "type": "table",
        "content": {
          "body": {
            "rowCount": 6,
            "columnCount": 2,
            "cells": [
              { "paragraph": { "content": { "text": "Effective Date" } }, "rowIndex": 1, "columnIndex": 0 },
              { "paragraph": { "content": { "text": "March 3, 2026" } }, "rowIndex": 1, "columnIndex": 1 }
            ]
          }
        }
      }
    ]
  }
}

The response is a flat list of elements, each carrying a type (title, head, paragraph, or table, among others) and the element’s content.text. For title, head, and paragraph elements, a region.boundingBox gives its position on the page. table elements don’t follow that shape, since their region is an empty object, and position instead lives in a plural regions array (alongside a plural scores array), so code that reads element["region"]["boundingBox"] generically across every element type raises a KeyError the moment it reaches a table. Paragraphs carry plain text; tables carry a content.body.cells array with rowIndex/columnIndex coordinates instead of a 2D array, since that’s the shape that survives merged cells and irregular tables cleanly. Every field name here comes directly from a real response; none of it is asserted from documentation alone.

Mapping the raw extraction response to a typed schema

StructureInfo.json describes the document’s structure. It doesn’t hand you party_a and effective_date directly, so the next step is a small amount of post-processing that turns the element list into the schema from the introduction.

import json
import re
import zipfile

with zipfile.ZipFile("extraction_result.zip") as z:
    with z.open("StructureInfo.json") as f:
        structure = json.load(f)

elements = structure["analyzeResult"]["elements"]

def normalize(text):
    return " ".join(text.split())

paragraphs = [normalize(el["content"]["text"]) for el in elements if el["type"] == "paragraph"]
full_text = " ".join(paragraphs)

record = {}

match = re.search(r'([A-Z][\w\s,.]+?)\s*\("Party A"\)', full_text)
if match:
    record["party_a"] = match.group(1).split(",")[0].strip()

match = re.search(r'([A-Z][\w\s,.]+?)\s*\("Party B"\)', full_text)
if match:
    record["party_b"] = match.group(1).split(",")[0].strip()

match = re.search(r'as of\s+([A-Z][a-z]+ \d{1,2}, \d{4})', full_text)
if match:
    record["effective_date"] = match.group(1)

match = re.search(r'expiring on\s+([A-Z][a-z]+ \d{1,2}, \d{4})', full_text)
if match:
    record["renewal_date"] = match.group(1)

match = re.search(r'upon \w+ \((\d+)\) days.{0,10}prior written notice', full_text)
if match:
    record["termination_notice_days"] = int(match.group(1))

match = re.search(r'\$([\d,]+)\)?\s*\(the "Liability Cap"\)', full_text)
if match:
    record["liability_cap"] = f"${match.group(1)}"

print(json.dumps(record, indent=2))

This code reads the ZIP directly without extracting it to disk, then joins every paragraph element’s text into one searchable string. Because the raw text carries mid-string line breaks where a sentence wraps across a line in the source PDF, the normalize helper collapses any run of whitespace down to a single space before the string gets used, which is what keeps the regular expressions below from silently failing on a hidden newline. From there, a handful of targeted patterns pull out the fields this NDA’s clause language reliably contains, including the parenthetical ("Party A")/("Party B") labels this template uses to tag each signer, the “as of” and “expiring on” date phrases, the notice-period clause, and the dollar figure tagged (the "Liability Cap") in the liability clause. The liability clause writes the figure as fifty thousand dollars ($50,000) (the "Liability Cap"), so the regex allows an optional closing parenthesis between the digits and the label rather than assuming the label follows the number directly. Run against the sample NDA, this produces exactly the record shown in the introduction.

Run this command from your terminal:

python3 map_schema.py

The expected output should look like the following:

{
  "party_a": "Northwind Robotics",
  "party_b": "Blue Harbor Analytics LLC",
  "effective_date": "March 3, 2026",
  "renewal_date": "March 3, 2028",
  "termination_notice_days": 30,
  "liability_cap": "$50,000"
}

A production version of this would likely walk the table element’s cells too, since the sample NDA’s key-dates table restates the same fields in a much more parseable, label-value shape, but the paragraph-text approach shown here works even for contracts that don’t include a summary table.

Enriching the record with eSign audit metadata

The extraction above tells you what the contract says. It doesn’t tell you whether it’s actually been signed, or by whom, or when. That’s what Foxit eSign’s activity history endpoint adds, closing the loop between “here’s what the contract promises” and “here’s proof it was executed.”

eSign authenticates separately from PDF Services, with its own client ID and secret and its own token exchange. Find this pair by signing in to the eSign portal as the account owner, opening the account’s API settings page, and clicking “View All Credentials” (this is owner-gated and triggers a one-time email confirmation, so a non-owner login won’t see the button). Export them the same way you exported the PDF Services pair:

export FOXIT_ESIGN_CLIENT_ID="your_esign_client_id"
export FOXIT_ESIGN_CLIENT_SECRET="your_esign_client_secret"

With those in place, exchange them for a bearer token:

esign_response = requests.post(
    "https://na1.foxitesign.foxit.com/api/oauth2/access_token",
    data={
        "client_id": os.environ["FOXIT_ESIGN_CLIENT_ID"],
        "client_secret": os.environ["FOXIT_ESIGN_CLIENT_SECRET"],
        "grant_type": "client_credentials",
        "scope": "read-write",
    },
)
esign_response.raise_for_status()
esign_token = esign_response.json()["access_token"]

This posts your eSign credentials as form-encoded data (not JSON) and gets back a bearer token, which every subsequent eSign call uses in an Authorization header. This is a separate credential pair and a separate token from the PDF Services calls above; see the eSign activation note in the “Authenticating with the Foxit PDF Services API” section above if you haven’t turned this on yet.

Sending the same credentials as a JSON body instead of data= is a real, reproducible mistake. Run this command from your terminal to reproduce it:

python3 -c "
import os, requests
r = requests.post(
    'https://na1.foxitesign.foxit.com/api/oauth2/access_token',
    json={
        'client_id': os.environ['FOXIT_ESIGN_CLIENT_ID'],
        'client_secret': os.environ['FOXIT_ESIGN_CLIENT_SECRET'],
        'grant_type': 'client_credentials',
        'scope': 'read-write',
    },
)
print(r.status_code, r.reason)
"

The expected output should look like the following:

415 Unsupported Media Type

Sending the NDA for signature

The activity history endpoint only has something to report once a contract has actually gone out for signature, so this tutorial sends the same sample NDA through eSign to get a real folder ID to query. POST /api/folders/createfolder accepts the file directly as base64, which sidesteps hosting it somewhere with a public URL first:

import base64

with open("nda_sample.pdf", "rb") as f:
    encoded_pdf = base64.b64encode(f.read()).decode("utf-8")

create_folder_response = requests.post(
    "https://na1.foxitesign.foxit.com/api/folders/createfolder",
    headers={"Authorization": f"Bearer {esign_token}"},
    json={
        "folderName": "nda_sample",
        "inputType": "base64",
        "base64FileString": [encoded_pdf],
        "fileNames": ["nda_sample.pdf"],
        "parties": [
            {"partyNumber": 1, "name": "Alex Rivera", "email": "[email protected]"}
        ],
        "sendNow": True,
    },
)
create_folder_response.raise_for_status()
folder_id = create_folder_response.json()["folder"]["folderId"]
print(folder_id)

This code base64-encodes the same nda_sample.pdf used in the extraction step and posts it to the folder-creation endpoint, along with inputType: "base64" (required whenever the file comes as base64 rather than a fileUrls array) and a single party to sign. sendNow: true dispatches the invitation immediately instead of leaving the folder in DRAFT, and the response nests the new folder’s ID at folder.folderId, which is the folder_id the next call reads.

Once a contract has actually been sent for signature, its activity history is available by folder ID:

history_response = requests.get(
    f"https://na1.foxitesign.foxit.com/api/folders/viewActivityHistory?folderId={folder_id}",
    headers={"Authorization": f"Bearer {esign_token}"},
)
history_response.raise_for_status()
activity = history_response.json()["details"]
print(json.dumps(activity, indent=2))

Called against a real folder right after sending it for signature, this is the actual response:

{
  "folderId": 36096051,
  "enclosedDocuments": "nda_sample",
  "envelopeRecipients": "Alex Rivera",
  "author": "annika annika",
  "status": "SHARED",
  "dateCreated": "24 Sep 2026, 02:48:35, PDT",
  "dateSent": "24 Sep 2026, 02:48:35, PDT",
  "activities": [
    {
      "activity": "annika annika created this folder",
      "folderStatus": "CREATED",
      "action": "Created",
      "time": "24 Sep 2026, 02:48:35, PDT",
      "source": "API"
    },
    {
      "activity": "Invitation sent to Alex Rivera ( [email protected])",
      "folderStatus": "SHARED",
      "action": "Invitation Sent",
      "time": "24 Sep 2026, 02:48:35, PDT",
      "source": "Web"
    }
  ]
}

The endpoint refers to the contract’s signing container as a “folder” in the API’s own field names (folderId, folderStatus), even though the eSign portal’s UI labels the same thing an “envelope.” Both terms describe the same object; this article uses “folder” since that’s what the API actually returns. details.status tracks the folder’s lifecycle (SHARED once sent, moving through PARTIALLY SIGNED or COMPLETED as signers act, ending at EXECUTED once every signature is applied and finalized), and activities is an ordered log of every event with a timestamp and a source (API or Web, depending on how the action was triggered). Before you build this into a pipeline, know that this endpoint only works once a folder has actually been shared or sent. Calling it against a folder still in DRAFT status returns an error rather than an empty activity list, so don’t rely on it as a general-purpose status check before the folder is sent. Run this command from your terminal, pointed at a folder still in DRAFT status:

python3 view_activity_history.py

The expected output should look like the following:

{"result": "error", "error_description": "logs of a non-shared folder can not be viewed."}
Foxit eSign document list showing the NDA sent to Alex Rivera on Sep 24, 2026 with a Shared status

The final step merges this into the schema dict built earlier:

record["folder_status"] = activity["status"]
record["signing_activity"] = [
    {"event": a["action"], "time": a["time"]} for a in activity["activities"]
]

print(json.dumps(record, indent=2))

That gives you one complete record per contract, its extracted terms and its signing history, in a single dict. Run this command from your terminal:

python3 merge_record.py

The expected output should look like the following, using the same folder queried above:

{
  "party_a": "Northwind Robotics",
  "party_b": "Blue Harbor Analytics LLC",
  "effective_date": "March 3, 2026",
  "renewal_date": "March 3, 2028",
  "termination_notice_days": 30,
  "liability_cap": "$50,000",
  "folder_status": "SHARED",
  "signing_activity": [
    { "event": "Created", "time": "24 Sep 2026, 02:48:35, PDT" },
    { "event": "Invitation Sent", "time": "24 Sep 2026, 02:48:35, PDT" }
  ]
}

With these three steps, you can turn any signed contract into a single record your downstream system can use: run the extraction, pull the audit trail, and merge the two.

Common mistakes

  • Sending JSON to the eSign token endpoint : it requires form-encoded data (data=, not json= in requests). A JSON body returns a 415 error.
  • Calling the activity history endpoint on a draft folder : it only works once the folder has been shared or sent; a draft returns an error instead of an empty result.
  • Assuming region.boundingBox is a four-number rectangle : it’s an eight-number polygon (four corner point pairs), not [x, y, width, height].
  • Reading element["region"]["boundingBox"] on every element type without checking type first : table elements carry an empty region object and expose position through regions and scores (both plural) instead, so a generic per-element loop raises a KeyError the moment it reaches a table.
  • Treating table cells as a 2D array : table content lives in content.body.cells, a flat list with rowIndex/columnIndex on each cell, not a nested rows array.
  • Skipping whitespace normalization before regex matching : paragraph text preserves the source PDF’s line wraps as literal characters mid-sentence, which breaks patterns that assume a single space between words.

Get started

The pipeline in this tutorial extracts what a contract says and proves how it was signed, in two API calls plus a lightweight mapping step, no regex-per-template maintenance burden and no manual copy-paste. Once you have a structured record per contract, the obvious next steps are automated renewal alerts before a notice period closes, obligation tracking against the liability and termination terms, and pushing the merged record straight into a BI dashboard or CLM system.

Create a free Foxit developer account, no credit card required, and run this extraction against one of your own contracts using the interactive API reference.

Contract metadata extraction FAQs

Contract metadata extraction is the process of pulling key details out of a contract, such as party names, effective dates, renewal dates, notice periods, and liability caps, and turning them into structured data. Instead of copying terms into a spreadsheet by hand, you get a typed record that feeds a CLM tool, a CRM, or a renewal-alert script.

You can extract any text the contract contains, including parties, effective and renewal dates, termination notice periods, and liability caps. The Foxit PDF Services API returns the document’s titles, headings, paragraphs, and tables as structured JSON. A short mapping step then turns that output into the exact fields your downstream system needs.

No. The structural extraction API returns the same JSON format for every PDF, so you don’t need to parse raw layouts for each template. You still map fields to your schema, usually with patterns tuned to your clause language. Contracts with a key-dates summary table are easier, since the table cells come back as label-value pairs.

Call the Foxit eSign activity history endpoint with the contract’s folder ID. It returns the folder’s status and a timestamped log of every event, such as when the contract was created and when invitations went out. The endpoint only works after the folder has been shared or sent. A draft folder returns an error.

Yes. A free Foxit developer account gives you live API credentials right away, with no credit card and no approval step. The free plan includes 500 credits per year, which is enough to build and test a full contract metadata extraction pipeline. You can also test calls in the interactive API reference before writing code.