Onfido logo home page
Get in touch
Try it now
Arrow back Back to guides

Autofill product

Start here

This guide presents a technical overview of Onfido's Autofill product.


Onfido's Autofill product provides a fully automated data extraction and classification solution for identity documents. Autofill extracts data from documents uploaded by an applicant and immediately returns the document information. Supporting more than 1800 documents, this optical character recognition (OCR) solution can be used to automatically prefill sign-up forms, verify extracted data against databases and automatically classify documents.

Note: As extraction is done on a best-effort basis and information varies across different documents, none of the data properties are guaranteed to be present in the response.

Use cases

Autofill has a number of use cases, including:

  • automatically prefilling sign-up forms
  • verifying extracted data against databases
  • light identity document verification (extraction-only)
  • automatically classifying identity documents

As an example, the following steps demonstrate a typical ID document-based registration flow using Autofill:

  1. A user uploads a document
  2. Onfido automatically classifies and extracts the data from the document
  3. The user sees pre-populated extracted data in their registration form
  4. The user can then check and edit the form if needed, before being onboarded

Autofill example use case

Note: The "Check your details" and "Set up your account" screens above are for illustrative purposes only, demonstrating how extracted data can be used. Autofill screens are not generated automatically by Onfido's SDKs.

Extraction results

Autofill extraction results contain both the document classification and extracted data:

Document classification

  • The issuing country of the document
  • The type of the document
  • The issuing state of the document

Extracted data (where available)

  • Document number
  • All names on the document
  • Gender
  • Date of birth
  • Date of expiry
  • Nationality
  • MRZ data
  • Address information
  • Issuing authority
  • Issue date
  • Personal number
  • Place of birth

If the document is issued by a country subject to comprehensive US sanctions, Autofill will only return classification data.

More details regarding Autofill's extracted data can be found in our API reference documentation.

Autofill task

To implement Autofill as part of your identify verification flows, an Autofill task should be added to a Studio workflow from the Workflow Builder

The Autofill task output depends on the data extracted from the input document. As such, an Autofill task must always be included along a workflow route that follows a Document Capture task.

It is important to note that because Autofill data extraction is done on a best-effort basis, where information varies across different documents, none of the data properties are guaranteed to be present in the response. As such, the data extracted from an Autofill task should not be used or relied upon as input for Logic task conditions in a Studio workflow.

Below you will find an illustrated example of a Studio workflow running an Autofill task:

Autofill workflow

More information about report tasks can be found in our Studio Product Guide.

Note: Autofill currently only extracts data from one side of an identity document. As such, when submitting two sides, any applicant information that is on the back of the document will not be extracted or output by the Autofill task.


Our solutions

Onfido uses 256-bit SSL encryption 100% of the time on every device.


Onfido has been certified by BSI to ISO 27001 under certificate number IS 660122.

© Onfido™, 2022. All rights reserved.
Company Registration Number: 07479524.