Secure Document
Scanning for Web Apps
Add scanner support to any web app in a few lines of JavaScript. ISO 27001–certified and compatible with most mainstream scanners - across all major browsers on Windows, macOS and Linux.
quickstart.js
Dynamsoft.DWT.RegisterEvent("OnWebTwainReady", function () {
DWTObject = Dynamsoft.DWT.GetWebTwain("dwtcontrolContainer");
});
function AcquireImage() {
if (DWTObject) {
DWTObject.SelectSourceAsync().then(function () {
return DWTObject.AcquireImageAsync({
IfCloseSourceAfterAcquire: true,
});
}).catch(function (exp) {
alert(exp.message);
});
}
}
30-day free trial
No credit card
Full SDK access
Cross-platform, Cross-browser Document Scanning SDK
One SDK, every major platform and browser combination.
Operating System
Scanner Protocols
eSCL · TWAIN · WIA
eSCL · TWAIN · ICA
eSCL · SANE
via Mobile Document Scanner
Core Capabilities
Scanner control, image editing, and export in one SDK — no additional libraries required.
Performance
High-volume scanning
Proprietary disk caching handles unlimited pages per session. 64-bit service mode for large data. Async APIs keep your UI responsive during time-intensive operations.
Security
Security by default
Data never leaves your network. Built-in HTTPS, digital signatures, encryption in-transit and at-rest. Cached data deleted on unexpected closure. Local file access requires authorisation.
Security whitepaperReview & Annotation
Built-in viewer and editor
Customisable image viewer with annotation, zoom, deskew, and rotation. Pair with Dynamsoft Document Viewer for full PDF annotation and custom review workflows.
Export
Flexible output
Save to PDF, TIFF, JPEG, PNG, or BMP. Chunked and multi-threaded upload handles large batches. Export to local disk, network drive, or your server.
Integration
Framework-agnostic
Works with React, Vue, Angular, and plain JS. Server-side support for Node.js, PHP, ASP.NET, Java, and more. X-copy deployment — no server installation required.
Getting Started
60+ sample projects
Ready-to-run samples covering common workflows. Most developers have a working POC within hours of download.
Browse code galleryData Handling & Security
All scanning is processed locally. No document data is transmitted to or stored on Dynamsoft servers.
- Built-in HTTPS with configurable SSL certificate
- Data encrypted in-transit and at rest
- Digital signature support
- Authorization required for local file access
- Cached data deleted on unexpected SDK closure
- Sandbox isolation between browser and scanner device
Extend for your workflow
From scanner control to export — no stitching multiple libraries together.
Need text extraction?
OCR Add-On
AI-powered, on-device OCR. Supports multiple languages, region-specific capture, and complex layouts. No data leaves the user's machine.
Learn moreNeed barcode data from scans?
Barcode Recognition
Read 1D and 2D barcodes directly from scanned documents. Useful for invoice processing, patient records, and inventory workflows.
Learn moreWorking with existing PDFs?
PDF Rasterizer
Convert PDFs to images in-browser using JavaScript. Ensures consistent archiving and compatibility with downstream systems.
Learn moreNeed annotations and review UI?
Document Viewer (DDV)
Full PDF annotation, multi-page management, and a customisable review interface. Pairs with DWT for a complete capture-to-review workflow.
Learn moreDesktop browser capture?
Webcam Add-On
Capture from webcams in Windows desktop browsers. Useful for walk-up kiosk setups or lightweight intake without a dedicated scanner.
Learn moreUsers on mobile cameras?
Mobile Document Scanner
A separate SDK for mobile browser capture. Detects, crops, and enhances documents from phone cameras. Shares a compatible API with DWT.
Learn more10K+
Customers wordwide
1M+
Active users
23yrs
Business since 2003
ISO27001
Certified
Trusted in production at scale
35 min
Saved per account opening
"Using Dynamsoft to automate ID capture we've cut account opening down from 45 minutes to 10 minutes and can spend more time understanding their financial goals."
Tom Grindup· VP Architecture Lead, First United Bank
1 hr
Saved per clinic, per day
"With Dynamic Web TWAIN embedded into our platform, clinics save roughly 5 minutes per patient. At an average of 20 patients a day, that's an hour saved per clinic — time they can reinvest into patient care."
Omar Kiyani· CEO & Co-Founder, Suno
“
"IBM's customers worldwide can now use new web-scanning capabilities on both Windows and macOS — extracting information from documents to streamline business processes."
Datacap Team · IBM
“
"After an exhaustive search, we were very pleased to find a scanning tool that met our needs."
David Haring · Lockheed Martin
“
"We found Dynamic Web TWAIN SDK to be practically a turnkey solution for implementing a scan and capture component for our widely used EHR solution."
Joseph Smith · American HealthTech
Common Questions
Dynamic Web TWAIN is a browser-based document scanning SDK that enables web applications to control TWAIN, WIA, ICA, SANE, and eSCL-compatible scanners directly from the browser. Built for enterprise document capture workflows in healthcare, government, financial services, and logistics.
Contact supportWhat is Dynamic Web TWAIN used for?
Use CasesDynamic Web TWAIN is used to add hardware scanner support to web applications — enabling browser-based document capture. Common use cases include patient document intake in healthcare, open records fulfilment in government, client onboarding in financial services, and high-volume document processing in logistics and legal workflows. It supports TWAIN, WIA, ICA, SANE, and eSCL scanners across Windows, macOS, and Linux.
How quickly can I build a working prototype?
Quick StartMost developers have a functional POC within one to two hours of downloading Dynamic Web TWAIN. The SDK ships with over 60 sample projects covering common workflows, and initialisation requires fewer than 20 lines of JavaScript. Pre-sales support is available at no obligation if you need help validating a specific scenario.
What JavaScript frameworks does Dynamic Web TWAIN support?
FrameworksDynamic Web TWAIN works with React, Vue, Angular, and plain JavaScript/TypeScript. Server-side compatibility includes Node.js, PHP, ASP.NET (C#/VB.NET), Java (JSP), and Python. Available via CDN and npm.
Does Dynamic Web TWAIN require a backend server?
DeploymentDynamic Web TWAIN does not require a server-side component for scanning. The SDK uses a small local service (Dynamsoft Web TWAIN Service) installed on the client machine to communicate with the scanner. Your web app talks to this service over a local port. Scanned data can then be uploaded directly to your server from the browser.
How is Dynamic Web TWAIN deployed?
DeploymentDynamic Web TWAIN uses X-copy deployment — no server-side installation is required. An MSI installer is available for enterprise batch deployments across networks. The SDK is available via npm and CDN. A 30-day free trial provides full SDK access with no feature restrictions.
What scanner protocols does Dynamic Web TWAIN support?
ProtocolsDynamic Web TWAIN supports TWAIN (Windows), WIA (Windows), ICA (macOS), SANE (Linux), and eSCL — which covers AirPrint-compatible and most modern network scanners across all platforms.
Does it work with network scanners and multi-function printers?
Device SupportYes. Dynamic Web TWAIN is compatible with any scanner that exposes a TWAIN, WIA, ICA, SANE, or eSCL interface — including most network MFPs. eSCL support expands coverage to AirPrint-compatible devices without additional driver installation.
Can Dynamic Web TWAIN scan directly to PDF?
PDF OutputYes. Dynamic Web TWAIN can export scanned pages to PDF, TIFF, JPEG, PNG, or BMP. PDF output supports multi-page documents and is configurable for compression and quality. For searchable PDFs, add the OCR Add-On.
Is scanned data sent to Dynamsoft servers?
SecurityNo. Dynamic Web TWAIN processes all scanning locally via Dynamsoft Service on the end user's machine. Document data stays entirely within your own network — Dynamsoft never receives, stores, or routes it.
Is Dynamic Web TWAIN suitable for HIPAA-regulated environments?
ComplianceYes. Dynamic Web TWAIN is designed with regulated industries in mind. Data never leaves your network, communication is encrypted in-transit and at rest, and the product is ISO 27001 and O-TTPS certified. Healthcare customers including Fujifilm and American HealthTech use it in production. A security whitepaper is available on request.
What is the difference between Dynamic Web TWAIN and Mobile Document Scanner?
ComparisonDynamic Web TWAIN connects web applications to hardware scanners — flatbed, ADF, and MFP devices. Dynamsoft Mobile Document Scanner is for capturing documents using a phone or tablet camera through the browser. Both products can be paired with Dynamsoft Document Viewer for a unified review and annotation experience, and they share compatible APIs so you can support both capture modes in the same application.
Start building in minutes
30-day free trial · No credit card · Full SDK access