---
title: "How to OCR PDFs with Nutrient OCR API: JavaScript, Python, PHP, and Java"
canonical_url: "https://www.nutrient.io/blog/how-to-ocr-pdf-api/"
md_url: "https://www.nutrient.io/blog/how-to-ocr-pdf-api.md"
last_updated: "2026-11-17T13:00:15.504Z"
description: "PDF OCR with Nutrient’s API: Convert scanned PDFs to searchable, editable text in JavaScript, Python, PHP, and Java. Step-by-step code examples for each language."
---

**TL;DR**

Nutrient’s OCR API converts scanned PDFs and images (JPG, PNG) to searchable text in JavaScript, Python, PHP, and Java. OCR costs $0.0015 per page.

Create a [free account](https://dashboard.nutrient.io/sign_up/?product=processor) for $5 of free usage every month and your API key.

## What is OCR PDF?

Optical character recognition ([OCR](https://en.wikipedia.org/wiki/Optical_character_recognition)) converts scanned documents and images into searchable, editable PDFs. An OCR engine extracts text from images or scanned files for search, copy-paste, and accessibility.

Without OCR, scanned PDFs are just images — dead ends where you can’t search, copy, or extract anything useful. OCR transforms these image-only PDFs into fully functional documents with selectable, searchable text layers.

Legal, healthcare, finance, and education sectors use OCR to convert scanned documents into searchable archives. Implement OCR with JavaScript in browsers or Node.js. Deploy anywhere, integrate everywhere.

## Nutrient OCR API overview

Nutrient’s OCR API is one of 30+ [PDF API tools](https://www.nutrient.io/api/). The OCR engine converts scanned documents using text recognition. Combine it with merging, splitting, or redacting for complete document workflows.

**API features**

- **RESTful architecture** — Simple HTTP POST requests with multipart form data

- **Multilanguage support** — 80+ languages, including English, Spanish, French, German, Chinese, and Japanese

- **Format flexibility** — Accepts PDFs and images (JPG, PNG), and returns searchable PDF output

- **Scalable processing** — Cloud-based with no server infrastructure required

- **Security** — HTTPS encryption, with files deleted after processing

- **Layout preservation** — Maintains original document formatting and embedded fonts

**Technical specifications**

- **Endpoint** — `https://api.nutrient.io/processor/ocr`

- **Method** — POST with multipart/form-data

- **Authentication** — Bearer token in authorization header

- **Input formats** — PDF, JPG, PNG

- **Output format** — Searchable PDF with embedded text layer

- **Pricing** — $0.0015 per OCR page

### Obtaining your API key

After [creating your account](https://dashboard.nutrient.io/sign_up/?product=processor), get your API key from the dashboard. Select **API keys** from the left menu and copy the live API key.

## How to OCR a PDF with JavaScript

JavaScript OCR works both client-side in browsers and server-side with Node.js. This section covers Node.js implementation.

Install the required packages:

- [axios](https://www.npmjs.com/package/axios) — For REST API calls

- [Form-Data](https://www.npmjs.com/package/form-data) — For creating form data

Install both packages:

```txt
npm install axios
npm install form-data
```

### Setting up files and folders

Create a folder called `ocr_pdf` and open it in VS Code. Inside `ocr_pdf`, create two folders: `input_documents` and `processed_documents`. Copy your PDF to `input_documents` and rename it `document.pdf`.

In the root folder, create `processor.js` for your code.

### Writing the code

Add the following code to `processor.js`:

```js
// This code requires Node.js. Do not run this code directly in a web browser.

const axios = require("axios");
const FormData = require("form-data");
const fs = require("fs");

const formData = new FormData();
formData.append(
  "data",
  JSON.stringify({
    language: "english",
  }),
);
formData.append(
  "file",
  fs.createReadStream("input_documents/document.pdf"),
);

(async () => {
  try {
    const response = await axios.post(
      "https://api.nutrient.io/processor/ocr",
      formData,
      {
        headers: formData.getHeaders({
          Authorization: "Bearer your_api_key_here",
        }),
        responseType: "stream",
      },
    );

    response.data.pipe(fs.createWriteStream("processed_documents/result.pdf"));
  } catch (e) {
    const errorString = await streamToString(e.response.data);
    console.log(errorString);
  }
})();

function streamToString(stream) {
  const chunks = [];
  return new Promise((resolve, reject) => {
    stream.on("data", (chunk) => chunks.push(Buffer.from(chunk)));
    stream.on("error", (err) => reject(err));
    stream.on("end", () => resolve(Buffer.concat(chunks).toString("utf8")));
  });
}
```

### Code explanation

This code creates a FormData request with language configuration and the PDF file. It reads the input PDF using `createReadStream`, posts to the `/processor/ocr` endpoint via axios, and saves the searchable PDF to `processed_documents`.

Replace `your_api_key_here` with your API key.

### Output

Run the code:

```js
node processor.js
```

The OCR engine saves `result.pdf` to the `processed_documents` folder.

## How to OCR a PDF in Python

Requirements:

- A free account with your API key

- Python installed ([download Python here](https://www.python.org/downloads/))

### Setting up files and folders

Install the dependencies:

```
python -m pip install requests
```

Create a folder called `ocr_pdf` and open it in VS Code. Create two folders inside: `input_documents` and `processed_documents`.

In the root folder, create `processor.py` for your code.

### Writing the code

Add the following code to `processor.py`:

```py
import requests
import json

response = requests.request(
  'POST',
  'https://api.nutrient.io/processor/ocr',
  headers = {
    'Authorization': 'Bearer your_api_key_here'
  },
  files = {
    'file': open('input_documents/document.pdf', 'rb')
  },
  data = {
    'data': json.dumps({
      'language': 'english'
    })
  },
  stream = True
)

if response.ok:
  with open('processed_documents/result.pdf', 'wb') as fd:
    for chunk in response.iter_content(chunk_size=8096):
      fd.write(chunk)
else:
  print(response.text)
  exit()

```

### Code explanation

The code imports `requests` and `json`, and then makes a POST request to `/processor/ocr` with the PDF and language configuration. Using `stream=True` enables response streaming. On success, it saves the OCR-processed PDF to `processed_documents`.

Replace `your_api_key_here` with your API key.

### Output

Execute the code:

```py
python3 processor.py
```

This creates `result.pdf` in the `processed_documents` folder.

## How to OCR a PDF in PHP

Requirements:

- A free account with your API key

- PHP installed ([download PHP here](https://www.php.net/))

### Setting up files and folders

Create a folder called `ocr_pdf` and open it in VS Code. Create two folders inside: `input_documents` and `processed_documents`. Copy your PDF to `input_documents` and rename it `document.pdf`.

In the root folder, create `processor.php` for your code.

### Writing the code

Add the following code to `processor.php`:

```php
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.nutrient.io/processor/ocr',
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_POSTFIELDS => array(
    'data' => '{
      "language": "english"
    }',
    'file' => new CURLFILE('input_documents/document.pdf')
  ),
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer your_api_key_here'
  ),
));

$response = curl_exec($curl);

curl_close($curl);

if ($response !== false) {
  file_put_contents('processed_documents/result.pdf', $response);
}

```

### Code explanation

The code configures cURL with the `/processor/ocr` endpoint, language configuration, and input PDF. With `CURLOPT_RETURNTRANSFER` set to `true`, `curl_exec()` returns the response as a string. The response is then saved to a file using `file_put_contents()`.

Replace `your_api_key_here` with your API key.

### Output

Execute the code:

```php
php processor.php
```

This creates `result.pdf` in the `processed_documents` folder.

## How to OCR PDFs in Java

Java implementation requires dependency installation after file setup.

### Setting up files and folders

Use IntelliJ IDEA to create a new project called `ocr_pdf` with the settings shown below.

![IntelliJ IDEA new project dialog showing Java language and Gradle build system configuration](@/assets/images/blog/2024/how-to-ocr-pdf-api/intellij-project.png)

Set `Java` as the language and `Gradle` as the build system.

Right-click your project and select **New** > **Directory**. Choose `src/main/java`. Create `NutrientExample.java` inside `src/main/java`, plus two folders: `input_documents` and `processed_documents`.

Add your PDF to the `input_documents` folder.

### Installing the dependencies

Install these libraries:

- OkHttp — For API requests

- JSON — For parsing JSON payloads

Add these dependencies to `build.gradle`:

```bash
dependencies {
    implementation 'com.squareup.okhttp3:okhttp:4.9.2'
    implementation 'org.json:json:20210307'
}
```

### Writing the code

Add the following code to `processor.java`:

```java
package com.example.pspdfkit;

import java.io.File;
import java.io.IOException;
import java.nio.file.FileSystems;
import java.nio.file.Files;
import java.nio.file.StandardCopyOption;

import org.json.JSONObject;

import okhttp3.MediaType;
import okhttp3.MultipartBody;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.RequestBody;
import okhttp3.Response;

public final class NutrientExample {
  public static void main(final String[] args) throws IOException {
    final RequestBody body = new MultipartBody.Builder()
      .setType(MultipartBody.FORM)
      .addFormDataPart(
        "file",
        "document.pdf",
        RequestBody.create(
          MediaType.parse("application/pdf"),
          new File("input_documents/document.pdf")
        )
      )
      .addFormDataPart(
        "data",
        new JSONObject()
          .put("language", "english").toString()
      )
      .build();

    final Request request = new Request.Builder()
      .url("https://api.nutrient.io/processor/ocr")
      .method("POST", body)
      .addHeader("Authorization", "Bearer your_api_key_here")
      .build();

    final OkHttpClient client = new OkHttpClient()
      .newBuilder()
      .build();

    final Response response = client.newCall(request).execute();

    if (response.isSuccessful()) {
      Files.copy(
        response.body().byteStream(),
        FileSystems.getDefault().getPath("processed_documents/result.pdf"),
        StandardCopyOption.REPLACE_EXISTING
      );
    } else {
      // Handle the error.
      throw new IOException(response.body().string());
    }
  }
}
```

### Code explanation

The `NutrientExample` class creates a multipart request with the PDF file and language configuration, posts to `/processor/ocr`, and streams the processed PDF to `processed_documents` on success.

Replace `your_api_key_here` with your API key.

### Output

Click the run button to execute the code.

This creates the OCR-processed PDF in the `processed_documents` folder.

## How to OCR a PDF with open source (OCRmyPDF)

If you'd rather self-host, [OCRmyPDF](https://ocrmypdf.readthedocs.io/) is an open source (MPL-2.0) tool that adds a searchable text layer to a PDF using the [Tesseract](https://github.com/tesseract-ocr/tesseract) OCR engine. It runs entirely on your own machine — no API key, no per-operation cost — in exchange for installing and maintaining the OCR stack yourself.

For a Linux command-line workflow with OCRmyPDF, see [PDF OCR on the Linux command line](https://www.nutrient.io/blog/how-to-ocr-pdfs-in-linux.md).

### Installing the dependencies

OCRmyPDF is a Python package, but it relies on two external programs: Tesseract (the OCR engine) and Ghostscript (PDF processing). On most platforms, a single command pulls in all three.

macOS (Homebrew):

```bash
brew install ocrmypdf
```

Debian/Ubuntu:

```bash
sudo apt install ocrmypdf
```

Alternatively, install the system dependencies and the Python package separately:

```bash
brew install tesseract ghostscript
pip install ocrmypdf
```

English ships with Tesseract by default. For other languages, install the matching language pack — for example, `tesseract-ocr-spa` (Debian/Ubuntu) for Spanish — and pass its three-letter code with `-l`.

### Writing the code

The quickest path is the command line. Point it at your input PDF and an output path:

```bash
ocrmypdf -l eng input_documents/document.pdf processed_documents/result.pdf
```

To run OCR programmatically, use the Python API. Create `processor_oss.py`:

```py
import ocrmypdf
from ocrmypdf import OcrOptions

if __name__ == "__main__":
    options = OcrOptions(
        input_file="input_documents/document.pdf",
        output_file="processed_documents/result.pdf",
        languages=["eng"],
    )
    ocrmypdf.ocr(options)
```

### Code explanation

`ocrmypdf.ocr()` rasterizes each page, runs Tesseract to recognize the text, and writes a new PDF with an invisible, searchable text layer over the original image. The `languages` list maps to installed Tesseract language packs. The `if __name__ == "__main__"` guard ensures correct behavior on Windows and macOS.

By default, OCRmyPDF skips pages that already contain text. To re-OCR every page, pass `--force-ocr` on the command line or `force_ocr=True` in `OcrOptions`.

### Output

Run the script:

```py
python3 processor_oss.py
```

This writes `result.pdf` with a searchable text layer to the `processed_documents` folder.

Open source fits one-off jobs and self-hosted pipelines where you control the infrastructure. The hosted [OCR API](https://www.nutrient.io/api/pdf-ocr-api/) is the better choice when you need consistent results at scale without provisioning Tesseract and Ghostscript, want to chain OCR with other operations (merging, redaction, conversion) in a single request, or need predictable performance under load.

## OCR accuracy and quality factors

OCR accuracy depends on several document characteristics, outlined below.

**Image quality requirements**

- **Minimum DPI** — 300 DPI for standard text, 400+ DPI for small fonts

- **Color depth** — Grayscale or color documents work better than pure black and white

- **Contrast** — High contrast between text and background improves recognition

- **Noise** — Clean scans without artifacts, dust, or watermarks produce better results

**Document factors**

- **Font size** — Text smaller than 8pt may reduce accuracy

- **Font type** — Standard fonts (Times, Arial, Helvetica) work best; decorative fonts may fail

- **Text orientation** — Straight, horizontal text works best; skewed text reduces accuracy

- **Language** — Specify the correct language parameter to improve recognition

**Best practices for optimal results**

- Scan documents at 300 DPI or higher

- Use color or grayscale, not binary black/white

- Ensure pages are straight and properly aligned

- Remove noise, dust, or background artifacts before OCR

- Use clean originals instead of photocopies when possible

## Common use cases

**Legal and compliance**

- Convert case files and contracts to searchable archives

- Extract text from discovery documents

- Make legal briefs and filings searchable

- Digitize historical legal records

**Healthcare and medical**

- Digitize patient records and medical histories

- Extract data from insurance forms

- Convert prescription records to searchable text

- Archive medical imaging reports

**Financial services**

- Process scanned invoices and receipts

- Extract data from bank statements

- Digitize loan applications and forms

- Archive financial reports

**Education**

- Convert textbooks and course materials

- Digitize library archives

- Make research papers searchable

- Archive student records

## Troubleshooting common issues

**Authentication errors**

```
Error: 401 Unauthorized
```

Check that your API key is valid and properly formatted. The authorization header should be `Bearer your_api_key_here`.

**Large file processing**

For very large PDF files or documents with many pages:

1. Split the PDF into smaller chunks

2. Process each chunk separately

3. Merge the results using the Nutrient merge API

**Poor OCR results**

If text recognition is inaccurate:

- Verify the scan quality meets minimum 300 DPI

- Check that the correct language is specified

- Ensure text is horizontal and not skewed

- Remove background noise or watermarks

**Timeout errors**

Large documents may take longer to process. If you encounter timeout errors:

1. Increase timeout values in your HTTP client configuration

2. Consider splitting large documents into smaller batches

3. Implement retry logic for failed requests

4. Process documents asynchronously to avoid blocking operations

## Language support

The Nutrient OCR API supports 80+ languages with 100+ language code variants. Specify the language parameter for better accuracy.

**Common languages**

- `english` — English

- `spanish` — Spanish

- `french` — French

- `german` — German

- `italian` — Italian

- `portuguese` — Portuguese

- `dutch` — Dutch

- `russian` — Russian

- `chi_sim` — Simplified Chinese

- `japanese` — Japanese

- `arabic` — Arabic

**Language code formats**

You can use full language names (lowercase):

```json
{
  "language": "spanish"
}
```

Alternatively, use ISO 639-2 codes:

```json
{
  "language": "spa"
}
```

For documents with multiple languages, specify the primary language. The OCR engine handles mixed-language documents but works best when the primary language is identified.

## Next steps

After implementing basic OCR, consider the following advanced workflows.

**Combine with other PDF operations**

- OCR + [redaction](https://www.nutrient.io/sdk/redaction/) — Extract text, and then redact sensitive information

- OCR + merging — Combine multiple scanned documents into one searchable PDF

**Build automated pipelines**

- Monitor folders for new scanned documents

- Automatically OCR incoming files

- Extract and index text for search systems

- Archive processed documents

**Integrate with existing systems**

- Connect to document management systems

- Feed OCR results to search engines

- Extract data for business intelligence

- Automate data entry from scanned forms

Refer to the [Nutrient API documentation](https://www.nutrient.io/api/) for additional operations you can combine with OCR.

## Conclusion

You now know how to implement Nutrient’s [OCR API](https://www.nutrient.io/api/pdf-ocr-api/) in JavaScript, Python, PHP, and Java. Choose the language that fits your stack and [create your free account](https://dashboard.nutrient.io/sign_up/?product=processor) to start with $5 of free usage every month.

## FAQ

#### How do I get started with the Nutrient OCR API?

Create a [free account] for your API key. Follow the code examples in this guide to integrate the OCR API with JavaScript, Python, PHP, or Java.

#### What are the benefits of using OCR on PDF files?

OCR makes PDFs searchable, editable, and accessible. It’s essential for legal, healthcare, and finance sectors that require document management and text retrieval.

#### How many documents can I OCR with the free plan?

The free plan includes $5 of usage every month. OCR costs $0.0015 per page, so you can OCR about 3,300 pages a month.

#### Is it possible to combine the OCR API with other Nutrient API tools?

Yes. Combine the OCR API with other Nutrient tools like merging, splitting, redacting, or the [Data Extraction API](https://www.nutrient.io/api/data-extraction-api/) to build complete document processing workflows.

#### What languages does the Nutrient OCR engine support?

The OCR engine supports 80+ languages with 100+ language code variants, including English, Spanish, French, German, Chinese, Japanese, Arabic, and Russian. Specify the language parameter in your API request for better accuracy.

#### How accurate is the OCR engine for scanned documents?

The OCR engine accuracy depends on scan quality, resolution, and document clarity. For best results, use 300+ DPI scans with high contrast and minimal noise.

#### Does the OCR API work with both client-side and server-side JavaScript?

Yes. It works with JavaScript in Node.js for server-side processing or from browsers for client-side workflows. The OCR API supports both environments.
---

## Related pages

- [The business case for accessibility: Five ways it drives enterprise value](/blog/5-ways-accessibility-drives-enterprise-value.md)
- [Accessibility Untangled Why It Matters Guide](/blog/accessibility-untangled-why-it-matters-guide.md)
- [Adobe Pdf Embed Api Alternatives](/blog/adobe-pdf-embed-api-alternatives.md)
- [Adobe Pdf Services Api Alternatives](/blog/adobe-pdf-services-api-alternatives.md)
- [Advanced Techniques For React Native Ui Components](/blog/advanced-techniques-for-react-native-ui-components.md)
- [`vector_store` holds your indexed documents (see the multimodal RAG post](/blog/agentic-rag.md)
- [Ai Assistant Agent Governance](/blog/ai-assistant-agent-governance.md)
- [How to build an AI agent for contract redlining against a compliance playbook](/blog/ai-contract-redlining-compliance-playbook.md)
- [Ai Document Automation Extraction To Action](/blog/ai-document-automation-extraction-to-action.md)
- [Ai Document Workflows Ocr Compliance Heavy Teams](/blog/ai-document-workflows-ocr-compliance-heavy-teams.md)
- [Ai Legal Assistant Document Authoring](/blog/ai-legal-assistant-document-authoring.md)
- [Ai Native Platforms Buy Document Layer](/blog/ai-native-platforms-buy-document-layer.md)
- [Ai Schema Generator Document Extraction](/blog/ai-schema-generator-document-extraction.md)
- [Amazon Textract Alternatives](/blog/amazon-textract-alternatives.md)
- [Start (clears any prior buffer), navigate the document, then stop into a file.](/blog/android-faster-pdf-rendering.md)
- [Android Pdf Out Of Memory Handling](/blog/android-pdf-out-of-memory-handling.md)
- [Angular File Viewer Pdf Image Office Files](/blog/angular-file-viewer-pdf-image-office-files.md)
- [Approval Workflow Software](/blog/approval-workflow-software.md)
- [Approvals Matrix](/blog/approvals-matrix.md)
- [Apryse To Nutrient Migration](/blog/apryse-to-nutrient-migration.md)
- [Auto Tagging And Document Accessibility In Dotnet Sdk](/blog/auto-tagging-and-document-accessibility-in-dotnet-sdk.md)
- [Simple PII redaction.](/blog/automated-pii-removal.md)
- [Automation Platform](/blog/automation-platform.md)
- [Azure Document Intelligence Alternatives](/blog/azure-document-intelligence-alternatives.md)
- [schema.py.](/blog/bank-statement-to-excel.md)
- [Barcode Ocr](/blog/barcode-ocr.md)
- [Best Ai Document Workflow Platforms](/blog/best-ai-document-workflow-platforms.md)
- [Best Csharp Pdf Library](/blog/best-csharp-pdf-library.md)
- [Best Document Ai Platforms](/blog/best-document-ai-platforms.md)
- [Best Document Classification Platforms](/blog/best-document-classification-platforms.md)
- [Best document parser for RAG: LlamaParse vs. Unstructured vs. Reducto vs. Nutrient](/blog/best-document-parser-llamaparse-unstructured-reducto.md)
- [Best Document Parsing Apis](/blog/best-document-parsing-apis.md)
- [Best Document Viewers](/blog/best-document-viewers.md)
- [Best Healthcare Workflow Software Compared](/blog/best-healthcare-workflow-software-compared.md)
- [Best Invoice Data Extraction Apis](/blog/best-invoice-data-extraction-apis.md)
- [Best Llm Document Understanding Platforms](/blog/best-llm-document-understanding-platforms.md)
- [Best Multilingual Ocr Software](/blog/best-multilingual-ocr-software.md)
- [Best Pdf Accessibility Apis](/blog/best-pdf-accessibility-apis.md)
- [Best Pdf Parsers For Rag](/blog/best-pdf-parsers-for-rag.md)
- [Best Pdf Processing Apis](/blog/best-pdf-processing-apis.md)
- [Best Pdf Viewer Apis](/blog/best-pdf-viewer-apis.md)
- [Merge two PDFs.](/blog/best-python-pdf-libraries.md)
- [Best Salesforce Document Generation Apps](/blog/best-salesforce-document-generation-apps.md)
- [Best Secure Document Collaboration Platforms](/blog/best-secure-document-collaboration-platforms.md)
- [or](/blog/best-vue-pdf-viewers.md)
- [Bpm Guide](/blog/bpm-guide.md)
- [Bpm Tools](/blog/bpm-tools.md)
- [Build Vs Buy Document Extraction](/blog/build-vs-buy-document-extraction.md)
- [Business Automation](/blog/business-automation.md)
- [Business Process Reengineering Bpr Definition](/blog/business-process-reengineering-bpr-definition.md)
- [Capex Vs Opex](/blog/capex-vs-opex.md)
- [Capital Expenditure Request Form](/blog/capital-expenditure-request-form.md)
- [The CEO’s AI playbook: Why decision architecture beats model selection](/blog/ceo-ai-playbook-decision-architecture.md)
- [1. Extract and chunk the PDF.](/blog/chat-with-pdf.md)
- [Complete Guide To Pdfjs](/blog/complete-guide-to-pdfjs.md)
- [Construction Document Data Extraction](/blog/construction-document-data-extraction.md)
- [Convert One Drive Files To Pdf In Sharepoint](/blog/convert-one-drive-files-to-pdf-in-sharepoint.md)
- [1. Convert the Word document to PDF.](/blog/convert-word-to-accessible-pdf.md)
- [Create And Edit Pdfs In Flutter](/blog/create-and-edit-pdfs-in-flutter.md)
- [Create Pdfs With React](/blog/create-pdfs-with-react.md)
- [Creating A Document Scanner With Ocr In Python](/blog/creating-a-document-scanner-with-ocr-in-python.md)
- [Creating And Filling Pdf Forms Programmatically In Javascript](/blog/creating-and-filling-pdf-forms-programmatically-in-javascript.md)
- [The CTO’s AI playbook: Why accountability architecture beats orchestration](/blog/cto-ai-playbook-accountability-architecture.md)
- [Nutrient document decision: Why we built a decision model for documents](/blog/decision-model-for-documents.md)
- [Digital Signatures](/blog/digital-signatures.md)
- [Digital Workflow Automation](/blog/digital-workflow-automation.md)
- [Docling Alternatives](/blog/docling-alternatives.md)
- [Document Ai Vs Ocr](/blog/document-ai-vs-ocr.md)
- [Document Authoring Audit Trail](/blog/document-authoring-audit-trail.md)
- [Document Authoring Spreadsheet Editor](/blog/document-authoring-spreadsheet-editor.md)
- [What is document classification? From keyword rules to zero-shot models](/blog/document-classification.md)
- [Document Extraction Confidence Scores](/blog/document-extraction-confidence-scores.md)
- [Document Extraction For Underwriting](/blog/document-extraction-for-underwriting.md)
- [Document Viewer](/blog/document-viewer.md)
- [Document Watermarking](/blog/document-watermarking.md)
- [Debian/Ubuntu.](/blog/easyocr-vs-tesseract-python.md)
- [Electronic signature API: How to sign PDFs programmatically](/blog/electronic-signature-api.md)
- [Emerging threats: Your logging system may be an agentic threat vector](/blog/emerging-threats-your-logging-system.md)
- [Q3 sales](/blog/excel-to-markdown-for-llms.md)
- [Extend Alternatives](/blog/extend-alternatives.md)
- [Extract Patient Data On Premises](/blog/extract-patient-data-on-premises.md)
- [Extract Tables From Complex Pdfs](/blog/extract-tables-from-complex-pdfs.md)
- [Create and activate a virtual environment (recommended).](/blog/extract-text-from-pdf-pymupdf.md)
- [app.py](/blog/extract-text-from-pdf-using-python.md)
- [Stricter thresholds for fields that move money. Calibrate on your own sample.](/blog/extraction-hallucination-detection.md)
- [Fillable Pdf](/blog/fillable-pdf.md)
- [Google Document Ai Alternatives](/blog/google-document-ai-alternatives.md)
- [Handwriting Recognition Ocr Vlm](/blog/handwriting-recognition-ocr-vlm.md)
- [How To Add Digital Signature To Pdf Using React](/blog/how-to-add-digital-signature-to-pdf-using-react.md)
- [How To Build A Dotnet Maui Pdf Viewer](/blog/how-to-build-a-dotnet-maui-pdf-viewer.md)
- [How To Build A Flutter Pdf Viewer](/blog/how-to-build-a-flutter-pdf-viewer.md)
- [or](/blog/how-to-build-a-javascript-pdf-viewer-with-pdfjs.md)
- [or](/blog/how-to-build-a-javascript-pdf-viewer.md)
- [How To Build A Nextjs Pdf Viewer](/blog/how-to-build-a-nextjs-pdf-viewer.md)
- [How To Build A Powerpoint Viewer Using Javascript](/blog/how-to-build-a-powerpoint-viewer-using-javascript.md)
- [Using Yarn](/blog/how-to-build-a-react-excel-viewer.md)
- [How To Build A React Native Pdf Viewer](/blog/how-to-build-a-react-native-pdf-viewer.md)
- [How To Build A React Powerpoint Viewer](/blog/how-to-build-a-react-powerpoint-viewer.md)
- [Using Yarn](/blog/how-to-build-a-react-word-viewer.md)
- [How To Build A Reactjs File Viewer](/blog/how-to-build-a-reactjs-file-viewer.md)
- [How To Build A Reactjs Pdf Viewer With React Pdf](/blog/how-to-build-a-reactjs-pdf-viewer-with-react-pdf.md)
- [or](/blog/how-to-build-a-reactjs-pdf-viewer.md)
- [How To Build A Reactjs Viewer With Pdfjs](/blog/how-to-build-a-reactjs-viewer-with-pdfjs.md)
- [How To Build A Vuejs Pdf Viewer With Pdfjs](/blog/how-to-build-a-vuejs-pdf-viewer-with-pdfjs.md)
- [How To Build A Vuejs Pdf Viewer](/blog/how-to-build-a-vuejs-pdf-viewer.md)
- [How To Build An Android Pdf Viewer](/blog/how-to-build-an-android-pdf-viewer.md)
- [How To Build An Angular Pdf Viewer With Ng2 Pdf Viewer](/blog/how-to-build-an-angular-pdf-viewer-with-ng2-pdf-viewer.md)
- [How To Build An Angular Pdf Viewer With Pdfjs](/blog/how-to-build-an-angular-pdf-viewer-with-pdfjs.md)
- [How To Convert Docx To Pdf Using Javascript](/blog/how-to-convert-docx-to-pdf-using-javascript.md)
- [How To Convert Docx To Pdf Using Python](/blog/how-to-convert-docx-to-pdf-using-python.md)
- [How To Convert Html To Pdf Using Html2pdf](/blog/how-to-convert-html-to-pdf-using-html2pdf.md)
- [How To Convert Html To Pdf Using React](/blog/how-to-convert-html-to-pdf-using-react.md)
- [How To Convert Html To Pdf Using Wkhtmltopdf And Csharp](/blog/how-to-convert-html-to-pdf-using-wkhtmltopdf-and-csharp.md)
- [or](/blog/how-to-convert-html-to-pdf-using-wkhtmltopdf-and-python.md)
- [How To Convert Html To Pptx](/blog/how-to-convert-html-to-pptx.md)
- [How to convert PDF pages to images in C# with Nutrient .NET SDK](/blog/how-to-convert-pdf-to-image-in-csharp.md)
- [How To Convert Pdf To Json](/blog/how-to-convert-pdf-to-json.md)
- [Quarterly report](/blog/how-to-convert-pdf-to-markdown-using-python.md)
- [How To Convert Word To Pdf In Nodejs](/blog/how-to-convert-word-to-pdf-in-nodejs.md)
- [How To Convert Word To Pdf Using Javascript](/blog/how-to-convert-word-to-pdf-using-javascript.md)
- [or](/blog/how-to-create-a-react-js-signature-pad.md)
- [How To Create Pdfs With React To Pdf](/blog/how-to-create-pdfs-with-react-to-pdf.md)
- [How to digitally sign PDFs in C# with Nutrient .NET SDK](/blog/how-to-digitally-sign-pdf-in-csharp.md)
- [How To Edit Pdfs Using Ios Pdf Library](/blog/how-to-edit-pdfs-using-ios-pdf-library.md)
- [How To Embed A Pdf Viewer In Your Website](/blog/how-to-embed-a-pdf-viewer-in-your-website.md)
- [How To Extract Tables From Pdf And Images](/blog/how-to-extract-tables-from-pdf-and-images.md)
- [How To Generate A Pdf With Vuejs](/blog/how-to-generate-a-pdf-with-vuejs.md)
- [How To Generate Pdf From Html With Nodejs](/blog/how-to-generate-pdf-from-html-with-nodejs.md)
- [How to generate PDFs in C# with Nutrient .NET SDK](/blog/how-to-generate-pdf-in-csharp.md)
- [base_url tells WeasyPrint where to resolve relative asset paths](/blog/how-to-generate-pdf-reports-from-html-in-python.md)
- [How To Merge Pdfs Using Javascript](/blog/how-to-merge-pdfs-using-javascript.md)
- [How To Ocr Pdfs In Linux](/blog/how-to-ocr-pdfs-in-linux.md)
- [How To Print Pdf In Csharp](/blog/how-to-print-pdf-in-csharp.md)
- [How To Programmatically Create And Fill Pdf Form In Angular](/blog/how-to-programmatically-create-and-fill-pdf-form-in-angular.md)
- [C# barcode scanner: How to scan and read 1D barcodes and QR codes](/blog/how-to-scan-barcodes-in-csharp.md)
- [Open an image.](/blog/how-to-use-tesseract-ocr-in-python.md)
- [From an HTML string.](/blog/html-in-pdf-format.md)
- [Html To Pdf In Javascript](/blog/html-to-pdf-in-javascript.md)
- [Ide Text Editors Cpp Large Scale](/blog/ide-text-editors-cpp-large-scale.md)
- [Numeric and identifier fields: exact single-block matches only.](/blog/insurance-document-extraction.md)
- [Intelligent Data Extraction](/blog/intelligent-data-extraction.md)
- [Optional: Convert a Word, Excel, or PowerPoint file to PDF first.](/blog/introducing-accessibility-studio.md)
- [Introducing Nutrient Data Extraction API: Turn complex documents into structured, reliable data for AI](/blog/introducing-nutrient-data-extraction-api.md)
- [Invoice Approval Software](/blog/invoice-approval-software.md)
- [Invoice Data Extraction Python](/blog/invoice-data-extraction-python.md)
- [Javascript Document Editor](/blog/javascript-document-editor.md)
- [Javascript Pdf Editors](/blog/javascript-pdf-editors.md)
- [Javascript Pdf Libraries](/blog/javascript-pdf-libraries.md)
- [Keep Document Ai Private](/blog/keep-document-ai-private.md)
- [Fields required on every document type. Type-specific requirements](/blog/kyc-document-extraction.md)
- [Kyc Onboarding Salesforce](/blog/kyc-onboarding-salesforce.md)
- [Landing Ai Alternatives](/blog/landing-ai-alternatives.md)
- [Langextract Vs Llamaindex Extraction Comparison](/blog/langextract-vs-llamaindex-extraction-comparison.md)
- [Linearized Pdf](/blog/linearized-pdf.md)
- [Uses OpenAI by default — set OPENAI_API_KEY.](/blog/llamaindex-vs-langchain-rag.md)
- [Llamaindex Vs Langchain Vs Haystack](/blog/llamaindex-vs-langchain-vs-haystack.md)
- [Llamaindex Workflows Vs Langgraph](/blog/llamaindex-workflows-vs-langgraph.md)
- [Llamaparse Alternatives](/blog/llamaparse-alternatives.md)
- [Llm Vs Document Parsing Api](/blog/llm-vs-document-parsing-api.md)
- [Low Code No Code Document Integrations](/blog/low-code-no-code-document-integrations.md)
- [One segment per document found, in page order:](/blog/mailroom-automation-api.md)
- [Material Requisition](/blog/material-requisition.md)
- [ICD-10-CM: letter, digit, then digit OR letter (C4A, D3A, M1A are all valid),](/blog/medical-record-extraction.md)
- [or](/blog/merge-pdfs.md)
- [Migrating Observability Hyperdx To Dash0](/blog/migrating-observability-hyperdx-to-dash0.md)
- [Swift Package Manager](/blog/mobile-pdf-sdk.md)
- [Numeric and identifier fields: exact single-block matches only.](/blog/mortgage-document-processing.md)
- [`elements` come from your document parser — each has a type and content.](/blog/multimodal-rag.md)
- [Multipage Extraction Page Boundaries](/blog/multipage-extraction-page-boundaries.md)
- [Nutrient Flutter 6 Bindings Api](/blog/nutrient-flutter-6-bindings-api.md)
- [Nutrient Flutter Bindings Architecture](/blog/nutrient-flutter-bindings-architecture.md)
- [Nutrient Vs Conga Composer](/blog/nutrient-vs-conga-composer.md)
- [Ocr Api Comparison](/blog/ocr-api-comparison.md)
- [Online Document Viewer](/blog/online-document-viewer.md)
- [Open Pdf In Your Web App](/blog/open-pdf-in-your-web-app.md)
- [Operations Management Software](/blog/operations-management-software.md)
- [Optical Character Recognition In Scanned Pdfs](/blog/optical-character-recognition-in-scanned-pdfs.md)
- [CPU](/blog/paddleocr-python-guide.md)
- [Pdf Accessibility Checker](/blog/pdf-accessibility-checker.md)
- [PDF accessibility for developers: Meeting WCAG 2.2, Section 508, and PDF/UA with an SDK](/blog/pdf-accessibility.md)
- [Extract data from PDF files: A developer guide to structured data from PDFs and scans](/blog/pdf-data-extraction-developer-guide.md)
- [Pdf Extraction Benchmark Opendataloader Bench](/blog/pdf-extraction-benchmark-opendataloader-bench.md)
- [Pdf Extraction Document Case Studies](/blog/pdf-extraction-document-case-studies.md)
- [Pdf Page Labels](/blog/pdf-page-labels.md)
- [Pdf Remediation](/blog/pdf-remediation.md)
- [Pdf Sdk Compliance Security Checklist](/blog/pdf-sdk-compliance-security-checklist.md)
- [Pdf Sdk Performance Benchmark](/blog/pdf-sdk-performance-benchmark.md)
- [Pdf Text Extraction](/blog/pdf-text-extraction.md)
- [Pdf Ua Compliance Guide](/blog/pdf-ua-compliance-guide.md)
- [Pdf Ua Validation](/blog/pdf-ua-validation.md)
- [Pdfjs Accessibility Structtree Printing](/blog/pdfjs-accessibility-structtree-printing.md)
- [Pdfjs Advanced Loading Streaming Workers](/blog/pdfjs-advanced-loading-streaming-workers.md)
- [Pdfjs Annotation Editor Layer](/blog/pdfjs-annotation-editor-layer.md)
- [Pdfjs Area Annotations Canvas Capture](/blog/pdfjs-area-annotations-canvas-capture.md)
- [Pdfjs Coordinate Systems Pdf To Screen](/blog/pdfjs-coordinate-systems-pdf-to-screen.md)
- [Pdfjs Document Outline Bookmarks Metadata](/blog/pdfjs-document-outline-bookmarks-metadata.md)
- [Pdfjs Eventbus Guide](/blog/pdfjs-eventbus-guide.md)
- [macOS](/blog/pdfjs-file-format-conversion-to-pdf.md)
- [macOS](/blog/pdfjs-generating-pdf-thumbnails-pdf2pic.md)
- [Pdfjs Limitations Commercial Upgrade](/blog/pdfjs-limitations-commercial-upgrade.md)
- [Pdfjs Native Annotation Layer Forms](/blog/pdfjs-native-annotation-layer-forms.md)
- [Pdfjs Navigation Zoom Rotation](/blog/pdfjs-navigation-zoom-rotation.md)
- [Pdfjs Pdf Page Manipulation Pdf Lib](/blog/pdfjs-pdf-page-manipulation-pdf-lib.md)
- [Pdfjs React Viewer Setup](/blog/pdfjs-react-viewer-setup.md)
- [Pdfjs Rendering Overlays React Portals](/blog/pdfjs-rendering-overlays-react-portals.md)
- [Pdfjs Server Side Text Extraction](/blog/pdfjs-server-side-text-extraction.md)
- [Pdfjs Sticky Note Annotations](/blog/pdfjs-sticky-note-annotations.md)
- [Pdfjs Text Highlight Annotations](/blog/pdfjs-text-highlight-annotations.md)
- [Pdfjs Text Search Pdffindcontroller](/blog/pdfjs-text-search-pdffindcontroller.md)
- [Pdfjs Thumbnail Sidebar](/blog/pdfjs-thumbnail-sidebar.md)
- [Pdfplumber Python Guide](/blog/pdfplumber-python-guide.md)
- [People Process Tools](/blog/people-process-tools.md)
- [Process Flows](/blog/process-flows.md)
- [React Docx Editor](/blog/react-docx-editor.md)
- [React Native Pdf Annotation](/blog/react-native-pdf-annotation.md)
- [React Pdf Annotation Layer Forms](/blog/react-pdf-annotation-layer-forms.md)
- [React Pdf Custom Rendering Hooks](/blog/react-pdf-custom-rendering-hooks.md)
- [Using Yarn.](/blog/react-pdf-editor.md)
- [React Pdf Loading States Errors Passwords](/blog/react-pdf-loading-states-errors-passwords.md)
- [React Pdf Non Latin Fonts Special Pdfs](/blog/react-pdf-non-latin-fonts-special-pdfs.md)
- [React Pdf Outline Table Of Contents](/blog/react-pdf-outline-table-of-contents.md)
- [React Pdf Performance Optimization](/blog/react-pdf-performance-optimization.md)
- [React Pdf Setup Basic Rendering](/blog/react-pdf-setup-basic-rendering.md)
- [React Pdf Text Layer Custom Renderer](/blog/react-pdf-text-layer-custom-renderer.md)
- [React Pdf Thumbnails Page Navigation](/blog/react-pdf-thumbnails-page-navigation.md)
- [Reducto Alternatives](/blog/reducto-alternatives.md)
- [Requisition System](/blog/requisition-system.md)
- [How to validate extracted data with AI: An invoice walkthrough](/blog/review-extracted-data.md)
- [labels.py](/blog/route-documents-automatically-classify-api.md)
- [or](/blog/sample-blog-updated.md)
- [Sdk Product Updates Q2 2026](/blog/sdk-product-updates-q2-2026.md)
- [System Of Record Vs Source Of Truth](/blog/system-of-record-vs-source-of-truth.md)
- [Add DWS MCP Server to your Claude Code project.](/blog/teaching-llms-to-read-pdfs.md)
- [Open an image file.](/blog/tesseract-python-guide.md)
- [The Six Best Pdf Generator Apis](/blog/the-six-best-pdf-generator-apis.md)
- [Define the HTML part of the document.](/blog/top-10-ways-to-generate-pdfs-in-python.md)
- [Top 5 Javascript Pdf Viewers](/blog/top-5-javascript-pdf-viewers.md)
- [Top Js Pdf Libraries](/blog/top-js-pdf-libraries.md)
- [Top Ten Ways To Convert Html To Pdf](/blog/top-ten-ways-to-convert-html-to-pdf.md)
- [Unstructured Alternatives](/blog/unstructured-alternatives.md)
- [Using Javascript In Pdf Form Fields](/blog/using-javascript-in-pdf-form-fields.md)
- [Vector Pdf](/blog/vector-pdf.md)
- [Wcag2 Accessibility Requirements Documents](/blog/wcag2-accessibility-requirements-documents.md)
- [Web Pdf Sdk Legal Review](/blog/web-pdf-sdk-legal-review.md)
- [Web Sdk Is Now Headless](/blog/web-sdk-is-now-headless.md)
- [What Are Annotations](/blog/what-are-annotations.md)
- [What Is A Tagged Pdf](/blog/what-is-a-tagged-pdf.md)
- [What Is A Vpat](/blog/what-is-a-vpat.md)
- [What Is Bpms](/blog/what-is-bpms.md)
- [What Is Business Logic](/blog/what-is-business-logic.md)
- [What Is Document Processing](/blog/what-is-document-processing.md)
- [What Is Intelligent Document Processing](/blog/what-is-intelligent-document-processing.md)
- [What Is Ocr Invoice Processing](/blog/what-is-ocr-invoice-processing.md)
- [What Is Pdf Ua](/blog/what-is-pdf-ua.md)
- [Introducing WholeDoc Bench: A benchmark for parsing whole documents](/blog/wholedoc-bench-parsing-benchmark.md)
- [Why Pdfium Is A Trusted Platform For Pdf Rendering](/blog/why-pdfium-is-a-trusted-platform-for-pdf-rendering.md)
- [Why Your Ai Agent Hallucinates Pdf Table Data](/blog/why-your-ai-agent-hallucinates-pdf-table-data.md)
- [Workflow Analysis](/blog/workflow-analysis.md)

