Free plan

Scan to Word

Turn scanned pages or photos of paper into an editable document
POST
/v1/documents/from-scan

About this tool

This tool reads the letters in scanned pages and rebuilds them as a document you can edit, such as Word. Reading letters from a picture is called OCR. You can add several pictures in page order, or one scanned PDF. Choose the language of the text. It joins broken lines into paragraphs. Results depend on how clear the scan is, so check the text.
For example, you scanned a printed letter and want to edit it in Word.

How to use it

  1. Choose this tool.
  2. Add your scanned pages in order, or one scanned PDF.
  3. Choose the document type to make, such as Word, and the language of the text.
  4. Press Generate.
  5. Download the document and check the text.

What you get back

You get a new document with the text of your scans, ready to edit and download. Some letters may be misread, especially on blurry scans.
GOOD TO KNOW
The layout is rebuilt as paragraphs, not copied from the scan: tables, columns and pictures are not kept. Handwriting is read poorly. Counts as one document per page read.
TEST IT LIVE

Try Scan to Word in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Documents
Plan
Free
Method
POST
Endpoint
/v1/documents/from-scan
Tool ID
documents.from-scan
Authentication
API key
Accepts
Text and settings
Background jobs
Yes
Usage group
Documents
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/documents/from-scan" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'files=@document.pdf' \
  -F 'to=docx' \
  -F 'languages=eng+deu' \
  -F 'font=serif'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.documents.fromScan({
    "files": 'document.pdf',
    "to": "docx",
    "languages": "eng+deu",
    "font": "serif"
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->documents()->fromScan([
    'files' => 'document.pdf',
    'to' => 'docx',
    'languages' => 'eng+deu',
    'font' => 'serif',
]);
echo $result->requestId;
FAQ

Frequently asked questions

Turn scanned pages (photos or scans, or a scanned PDF) into a Word, OpenDocument, PDF, HTML, Markdown or text document with OCR. The paragraphs are rebuilt (wrapped lines joined, hyphenated words put back together, a page break between pages).

Scan to Word works from text and settings, so no file is needed. Every input is optional.

Scan to Word is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/documents/from-scan with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.