Scan Documents Online and Upload as Images

Scan Documents Online and Upload as Images

Last Updated on 2021-10-11

Looking for a web-based document scanning toolkit for your users to do online document scanning and uploading easily to your website?

Scan Documents Online and Upload With a Scanner

  1. On a desktop, open the online demo page of Dynamic Web TWAIN in a browser.
  2. You will be prompted to download the Dynamic Web TWAIN package. Install the package after downloading.
  3. Select your scanner from the “Select Source” dropdown.
  4. Click the “Scan” button to interact with scanners.

Scan Documents Online From a Camera On a Smartphone

  1. On your mobile phone, open the online web capture page from a browser.
  2. Click the “Start Demo” button.
  3. Click the camera icon in the top left corner to bring up the video stream.
  4. Tap the capture icon to take the snapshot.

About Dynamic Web TWAIN

Dynamic Web TWAIN is a client-side scan control that allows you to interact with scanners and other TWAIN devices via web browsers. It also enables image capture from mobile browsers.

The browser-based document scanning SDK is a very mature, stable product compared with other similar products in the market. The SDK was first released more than 16 years ago in 2003 and has been continually updated since then. Each year Dynamsoft releases, on average, one major version and two minor versions. 

Download 30-day Free Trial >

It is trusted by thousands of customers worldwide in countries, such as Canada and the United States. Industry segments include healthcare, government, finance, and manufacturing, with many Fortune Global 500 corporations, such as Lockheed Martin, IBM, Samsung Electronics, McKesson, and HP.

About Dynamic Web TWAIN on Desktop

On desktop, Dynamic Web TWAIN interacts with TWAIN, WIA, and SANE scanners cross-platform. Dynamsoft’s scanner SDK is trusted by top scanner manufacturers, including HP, EPSON, FUJIFILM, AVISION, and Xerox. Dynamsoft joined the TWAIN Working Group in 2011 and has been an Associate Member since.

Video: How Dynamic Web TWAIN SDK can help with your document imaging web application

About Dynamic Web TWAIN on Mobile

Mobile web capture continues to grow due to its convenience and ease of use. Most users needing to capture documents from various channels already have mobile devices and are familiar with its functions. With the iOS and Android capture SDK, you can quickly implement a mobile capture web app and allow your users to capture and optimize document images with iPhones and Android devices. 

Consider the following features and specifications that show that Dynamic Web TWAIN is the right choice for your needs.

Performance on Large-volume Scanning

Dynamic Web TWAIN SDK enables fast and large-volume scanning. 

All three transfer modes are supported:

  • Native Transfer Mode is used by default. In this mode, images are managed by the service.
  • File Transfer Mode enables images to be transferred directly to the hard disk. If the scanner compresses the scanned images fast enough and the hard disk has a high write speed, then the pages can be scanned at the top speed of the scanner.
  • Memory Transfer Mode is also supported and may help in cases where the client machines have limited physical memory.

With disk caching, theoretically, there is no limit on how many pages can be scanned.

All extra information about the images can be obtained so long as the information is transmitted via TWAIN APIs.


  • APIs which take time can be called asynchronously.
  • An image processing SDK can use a lot of memory. However, our SDK has an API to cap memory usage. When the limit is reached, disk caching is enabled.
  • 64-bit service is available to handle large data with high performance.
  • The enhanced mode supports multiple concurrent users in environments like Citrix.

Upload as Images and PDF

  • Speed: The upload module can utilize multiple threads.
  • Compression: Multiple compression algorithms are available. Specifically, JPEG encoding for TIFF, and JPEG2000 and JBIG2 for PDF are in place to reduce the size of the compressed files.


Software security is always a great concern. Dynamsoft has built-in many basic and advanced security features to give you peace of mind.

Here are basic security features:

  • Built-in HTTPS support with a configurable SSL certificate.
  • Digital signatures are applied to all binary files of the SDK.
  • Various authentication support for data downloading/uploading, e.g., Basic/Windows/Forms authentications, etc.
  • MSIs provided for massive end-user distribution via Group Policy.
  • The non-admin installer provided for installing without admin rights.
  • Completely independent deployment. No external connections are needed when using the SDK.
  • Configurable authorizations for accessing local resources (files, scanners, webcams).
  • By default, only requests sent from localhost are processed. This can prevent illegal usage of the SDK.

Other Security Features

  • Configurable service IP/Ports.
  • All image data is stored in memory before the memory limit is reached. Then data gets encrypted before it’s cached on the local disk. 
  • Optional license domain binding to prevent the illegal use of the SDK.
  • Configurable cross-domain control to limit the SDK to answer requests from a specific domain only.
  • Multi-user mode provides complete data separation between users in environments like Citrix. 
  • Supports changing the default SSL certificates.
  • The upload module can be configured to upload only files/images that are whitelisted.

The following two sections, Rich Features and Compatibility, highlight the technical aspects that are included in the SDK:

Rich Features

  • Data Input 
    • Multiple formats supported, including BMP, JPEG, PNG, TIF, PDF.
    • Multiple inputting ways, including opening from a local disk, downloading from a remote server, decoding from a base64 string, or simply loading a stream of binary data.
    • An extra PDF rasterizer that supports opening most PDF files.
  • Data Output
    • Multiple formats supported, including BMP, JPEG, PNG, TIF, PDF.
    • Multiple compression types provided for TIF/PDF, including JPEG2000 and JBIG2 compression types for PDF.
    • Multiple output ways, including saving to a local disk, uploading to a remote server, encoding data into a base64 string, or simply outputting a stream of binary data.
    • An extra upload module that supports behind-the-scenes uploading.
  • Complete TWAIN support
    • Built-in APIs for basic pre-scanning settings, including but not limited to ADF/Flatbed, DPI, Color mode, duplex, etc.
    • Advanced TWAIN features supported by Capability Negotiation.
  • Built-in image viewer and image editor.
  • Built-in basic image editing features, including but not limited to rotate, mirror, flip, etc.
  • Built-in blank page detection, skew angle detection, etc.
  • Built-in events that can be used to streamline the business workflow including events that are triggered during scanning, image opening, mouse-clicking, etc.
  • Developers can specify all sorts of parameters in JSON jobs, including:
    • Scan parameters, making it simpler and even faster to initiate a scan job. 
    • Output parameters, specifying how the scanned data should be processed.
    • Parameters needed for creating PDF files.
  • Supports drag-and-drop images to resort them in the viewer.
  • The HTML5 edition supports the capability to add tags to images. The tags can then be used to filter the images. 


  • Device support
    • The SDK was first built on TWAIN, the widely accepted specification for scanners. Later it was expanded to support ICA on macOS and SANE on Linux. WIA is also supported via a “WIA on TWAIN” layer. All these efforts allowed the SDK to support almost all the scanners on the market across major platforms.
    • The SDK also supports DirectShow which makes it capable of utilizing built-in or plugged-in webcams on Windows.
    • With the new Mobile Edition, the SDK is able to utilize the cameras on mobile devices as well.
  • Platform and browser support
    • Windows XP/7/8/2008/2012/2016 and 10; 32-bit and 64-bit
      • IE 6-9: ActiveX
      • IE 10-11: HTML5/ActiveX
      • Edge: HTML5
      • Chrome/Firefox 27+: HTML5
    • Mac OS X 10.6.8 and later; 32-bit and 64-bit
      • Chrome/Firefox 27+, Safari 7+: HTML5
    • Ubuntu 12.0.4+, Debian 8+, Fedora 24+, mint 18.3; 64-bit
      • Chrome/Firefox 27+: HTML5
    • IOS
      • Safari v11+: Mobile edition
    • Android
      • Chrome v58+: Mobile edition
  • Built with pure C++ and strict JavaScript with official types definitions, no extra dependencies
    • Works with any web programming language (C#, ASP.NET, JSP, PHP, etc.) on the server side
    • Compatible with any JavaScript framework (AngularJS, ReactJS, Node.js, Vue.js)
  • Pure client-side component running on the end-user desktop, thus there is no limitation on what web hosting software is used nor what operating system the server runs.
    • NOTE: The Mobile Edition depends on the server for TIF/PDF encoding
  • X-Copy deployment, no installation needed on the server
    • NOTE: Extra features like server-side OCR may require installations on certain server OS
  • Developer’s package provided for developers using Windows and macOS, which includes all the useful materials to get a developer started with the SDK.


  • Image capture can be easily extended from files and scanners to webcams, mobile cameras, etc.
  • Seamless integration with post-capture features, including image editing, barcode reader, OCR, etc.
  • Feature customization service provided for specific usage. 

Fast Integration

Based on 16 years of support work, the SDK comes with detailed documentation that aims to help a developer who may be new to the SDK to build a web scanning prototype within 30 minutes. The documentation includes, but is not limited to, the Developers’ Guide, API documentation, Knowledge Base, online demos, and samples with instructions. 

Our industry-leading technical consultant service provides proactive and responsive technical support, 16 hours a day, 5 days a week.

online document scanning
Dynamic Web TWAIN supports interaction with scanners from cross-platform browsers.

Note: Dynamic Web TWAIN v16 extends the existing functionalities of its desktop version to the mobile platforms.

What’s TWAIN

TWAIN is a standard software protocol defined by TWAIN Working Group. It is an application programming interface (API) that regulates communication between software applications and imaging devices, such as scanner, digital camera, and capture card.

With several popular scanner manufacturers being initiators of the TWAIN Working Group, most if not all scanners come with a TWAIN driver and are TWAIN compatible.

Other Document Scanning SDKs

With Dynamsoft’s SDKs, developers can build various kinds of document capture solutions in no time.

Scan Documents in WinForms and WPF – Dynamic .NET TWAIN

Building a desktop document scanning solution instead? With our .NET component in C# and VB .NET, you can easily and rapidly embed a robust document scanning and webcam image capturing module in your WinForms and WPF desktop applications. Dynamic .NET TWAIN is a .NET document imaging SDK based on the TWAIN and DirectShow standards. View details >


The following is a quick comparison table of document scanning SDKs to help you choose the right solution.

 Dynamic Web TWAINDynamic .NET TWAIN
SourceFlatbed and auto feeder scanner, MFP, iPhone cameras and Android camerasFlatbed and auto feeder scanner, MFP
Application TypeBrowser-based application.NET desktop application
 Download SDK >Download SDK >

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe Newsletter

Subscribe to our mailing list to get the monthly update.