Amazon Textract
Cloud service · AWS · Updated

Amazon Textract

In short

Amazon Textract is a fully managed machine learning service that automatically extracts text, handwriting, and data from scanned documents.

Cloud Services Hub →

9 key features of Amazon Textract

Amazon Textract offers features such as accurate text extraction from documents and images, form and table recognition, handwriting recognition, easy integration with APIs, locating text with bounding box information, and supports multiple languages, facilitating comprehensive document processing and analysis.

01
Text Extraction

Amazon Textract can accurately extract text, forms, and tables from images and documents with varying layouts without manual effort, using machine learning to read and process any type of document.

02
Form and Table Recognition

It offers advanced features to identify the structure of forms and tables within documents, enabling users to understand and utilize the extracted information contextually.

03
Handwriting Recognition

Textract has the capability to recognize English handwritten text from notes, forms, or any other documents, making it easier to digitize and process handwritten documents.

04
Integrations and APIs

It provides seamless integration with other AWS services and accessible APIs, allowing for easy incorporation into workflows and enabling automation of document processing tasks.

05
Bounding Box Information

Amazon Textract provides bounding box coordinates for each detected text element, which helps in locating text within a document and can be used for document analysis and editing.

06
Language Support

Supporting multiple languages, Textract aids in global operations by processing documents in various languages, thus broadening its usability internationally.

07
Queries

The Queries feature in the Analyze Document API lets you specify and extract particular information from documents.

08
Identity Document Processing

The AnalyzeID API processes identity documents such as driver's licenses and passports issued by the U.S. government.

09
Lending Document Routing

The Analyze Lending workflow automatically routes mortgage loan package pages to the appropriate Textract analysis operations and provides either per-page analysis results or summarized results for a set of pages.

Where Amazon Textract is used

Amazon Textract facilitates automation and digital transformation across various sectors by extracting text and data from documents, enabling streamlined workflows, enhanced decision-making, and improved data accuracy in industries such as finance, healthcare, legal, and education.

  1. 01
    Automated Document Processing

    Amazon Textract can be used to automate the processing of various document types, such as forms, invoices, and receipts. This function facilitates the extraction of text, forms, and tables, enabling businesses to streamline their document workflows, increase efficiency, and reduce manual errors.

  2. 02
    Mortgage Application Analysis

    In the financial services industry, Textract can dramatically improve the mortgage application process by extracting key data points from application forms and supporting documents. This can accelerate decision-making processes, improve customer satisfaction, and ensure higher accuracy in data handling.

  3. 03
    Medical Records Digitization

    Healthcare organizations can use Amazon Textract to digitize patient records, extract clinical information, and integrate it with electronic health record (EHR) systems. This enhances patient care through better data availability and accuracy while ensuring compliance with data privacy regulations.

  4. 04
    Legal Document Analysis

    Law firms and legal departments can leverage Textract to analyze large volumes of legal documents, extracting specific clauses, dates, and other pertinent information. This enables faster case analysis, eases compliance checks, and optimizes knowledge management practices within the legal industry.

  5. 05
    Educational Content Digitization

    Educational institutions and e-learning platforms can use Amazon Textract to digitize textbooks, research papers, and other educational materials. By extracting text and data from these documents, they can create searchable, accessible content that enhances the learning experience for students.

How Amazon Textract is priced

Amazon Textract provides a pay-as-you-go model for both the Analyze Document and Detect Document Text APIs, with costs varying by usage and a volume discount model for committed monthly usage.

Pay-As-You-Go for Analyze Document API

Amazon Textract charges for the Analyze Document API on a per-page basis. Charges depend on the features used, such as form and table data extraction.

Pay-As-You-Go for Detect Document Text API

This pricing model also operates on a per-page basis but is tailored for customers only needing to extract plain text from documents. It is generally cheaper than the Analyze Document API.

Monthly Volume Discounts

Per-page pricing has volume tiers based on the number of pages processed per month.

Pay-As-You-Go for Analyze Expense API

Analyze Expense is charged per page; in US West (Oregon), the rate is $0.01 per page for the first million pages per month and $0.008 per page thereafter.

Pay-As-You-Go for Analyze ID API

Analyze ID is charged per page; in US West (Oregon), the rate is $0.025 per page for the first 100,000 pages per month and $0.01 per page thereafter.

Pay-As-You-Go for Analyze Lending API

Analyze Lending charges for pages receiving supported classification and data extraction; in US West (Oregon), the rate is $0.07 per page for the first million such pages per month and $0.055 per page thereafter.

Pay-As-You-Go for Custom Queries

Custom Queries has separate per-page pricing; in US West (Oregon), the rate is $0.025 per page for the first million pages per month and $0.015 per page thereafter.

Free Tier

New AWS customers receive a three-month free tier, including up to 1,000 pages per month with the Detect Document Text API.

Custom Pricing for High Volume

High-volume customers can contact AWS sales to request a custom pricing proposal.

Services Amazon Textract works with

Amazon S3Amazon S3

Amazon Textract can process documents stored in Amazon S3. You simply provide the S3 bucket and object key where the document is located.

AWS LambdaAWS Lambda

AWS Lambda can be used to trigger Amazon Textract processing when a new document is uploaded to an S3 bucket. It can also be employed for post-processing tasks after Textract has completed.

Amazon ComprehendAmazon Comprehend

Amazon Textract integrates with Amazon Comprehend for further analysis of the text extracted from documents, such as entity recognition, sentiment analysis, and topic modeling.

Amazon Augmented AI (Amazon A2I)Amazon Augmented AI (Amazon A2I)

Amazon Textract can send document-analysis results to A2I for human review when configured conditions are met, such as low confidence in extracted form fields. Reviewers can verify or correct the extracted values before downstream processing.

Amazon CloudWatchAmazon CloudWatch

Amazon Textract publishes operational metrics to CloudWatch, including successful requests, throttled requests, errors, and response times. CloudWatch alarms can notify operators when document processing experiences elevated failures or throttling.

Amazon EventBridgeAmazon EventBridge

Amazon Textract API activity recorded by CloudTrail can be matched by EventBridge rules. These rules can route selected API events to targets for auditing or workflow automation.

Amazon KendraAmazon Kendra

Amazon Kendra uses Amazon Textract to extract text from scanned PDF documents during indexing. This makes the contents of scanned documents searchable without requiring a separate OCR pipeline.

Amazon Q Business

Amazon Q Business uses Amazon Textract for optical character recognition when processing scanned PDF documents. This allows text in scanned documents to become searchable content for an assistant.

Amazon Simple Notification Service (Amazon SNS)Amazon Simple Notification Service (Amazon SNS)

Amazon Textract asynchronous operations can publish job-completion notifications to an SNS topic specified in the request. The notification includes the job identifier and processing status so a subscriber can retrieve the results.

Amazon Simple Queue Service (Amazon SQS)Amazon Simple Queue Service (Amazon SQS)

Amazon Textract job-completion notifications can be delivered to an SQS queue through a subscription to the configured SNS topic. Workers can consume these messages and retrieve the completed document-analysis results.

What is Amazon Textract

3 min read

Amazon Textract is an innovative service powered by machine learning, designed to automatically extract text and data from scanned documents. This advanced technology not only recognizes the content of documents with high precision but also understands its structure, such as tables and forms. 

One of Textract's key features is its ability to process a vast array of document formats, including scans of physical documents, PDF files, or images, enabling users to automate document handling processes that were previously manual and time-consuming. Amazon Textract's ability to accurately extract data from documents can significantly improve the efficiency of various business operations. For instance, it can automate data entry tasks, speed up document processing, and enhance the management of records by extracting valuable information from invoices, receipts, financial statements, medical records, and legal contracts, among others. This makes it an invaluable tool across multiple sectors, including finance, healthcare, legal, and more, where large volumes of document processing are a common challenge. 

Amazon Textract provides synchronous operations for single-page documents with near-real-time responses and asynchronous operations for larger, multipage documents whose results are not returned in real time.

Synchronous operations have a 10 MB in-memory file limit, and PDF and TIFF inputs are limited to one page. For asynchronous operations, JPEG and PNG inputs have a 10 MB in-memory limit, while PDF and TIFF inputs can be up to 500 MB in memory and 3,000 pages.

Queries are limited to 15 per page for synchronous operations and 30 per page for asynchronous operations.

AWS regularly improves Amazon Textract's underlying machine learning models based on customer feedback to improve accuracy.

Custom Queries lets you customize the pretrained Queries feature for business-specific documents. Train an adapter using the AWS Console and include its identifier in an Analyze Document API request to use Custom Queries.

Moreover, Amazon Textract is designed to recognize not only printed text but also English handwritten notes in documents, a feature that significantly expands its applicability and utility in real-world scenarios where hand-filled forms and notes are prevalent. Amazon 

Textract seamlessly integrates with other AWS services, providing a comprehensive solution for managing document workflows. Once text and data have been extracted, they can be stored, queried, and analyzed using Amazon's vast data management and analytics tools, enabling organizations to gain deeper insights into their operations and make informed decisions based on the extracted data. 

Furthermore, Amazon Textract emphasizes security and compliance, ensuring that data is handled and processed with the highest standards of privacy and safety. This is crucial for businesses dealing with sensitive information, as it allows them to leverage the power of cloud-based machine learning while maintaining compliance with regulatory requirements. 

In essence, Amazon Textract represents a significant leap forward in document processing technology. By automating the extraction of text and data with remarkable accuracy and efficiency, it offers businesses of all sizes the opportunity to transform their operations, reduce manual workloads, and unlock valuable insights hidden in their documents, all backed by the robust infrastructure and security of Amazon Web Services.

Concepts related to Amazon Textract

Amazon Textract exam questions

Real practice exam questions on Amazon Textract, with the correct answer and its explanation. Answer them with every option in the exam simulator.

AIB-C01

A manufacturer wants to train a machine learning model to predict equipment failures using inspection measurements. Historical inspections are scanned paper forms containing handwritten readings and printed tables. The planned model requires one record per inspection with consistently defined numeric fields. Which approach best prepares these documents for the model?

Show answerCORRECT ANSWER

Use Amazon Textract to extract form fields and tables, then validate the readings and map them into a consistent numeric schema.

Amazon Textract can extract handwriting, text, form fields, and tables from scanned documents. Validating and mapping the extracted readings converts the unstructured document content into consistent structured records suitable for the planned model.

MLA-C02

A company is automating employee expense reimbursement. Employees upload photographs of receipts from many merchants. The application must extract the merchant name, purchase date, total amount, and purchased items with their quantities and prices. Because receipt labels and layouts vary, the extraction service must return standardized field types rather than require the company to build merchant-specific templates or custom field-label mappings. The company has no labeled training data.

Which solution meets these requirements with the LEAST custom development?

Show answerCORRECT ANSWER

Use Amazon Textract AnalyzeExpense and consume its summary fields and line-item groups.

AnalyzeExpense is designed for invoices and receipts. It returns standardized field types for summary information, such as vendor name, receipt date, and total, along with structured line-item information. It does not require labeled training data or merchant-specific templates.

AIP-C01

An engineering company is preparing scanned maintenance manuals for a retrieval-augmented generation application. Each manual contains 80–200 pages with two-column prose, section headings, and repeating page headers and footers. All documents meet the managed document-extraction service's asynchronous processing limits.

Retrieval tests show that sorting recognized lines by vertical position interleaves unrelated columns. Repeated footer text also appears inside retrieved passages. Before generating embeddings, the pipeline must produce section-aware passages in reading order, exclude page headers and footers, and retain page numbers and bounding boxes for source citations. Structural decisions must use managed, nongenerative document-layout extraction rather than custom layout-recognition models or FM-generated classifications. Passages with unresolved source references must be withheld.

Which implementation best meets these requirements?

Show answerCORRECT ANSWER

Run Amazon Textract StartDocumentAnalysis with LAYOUT enabled and retrieve all result pages. Process layout elements in the service-provided reading order, omit LAYOUT_HEADER and LAYOUT_FOOTER elements, and use section-header elements to guide passage boundaries. Resolve linked text blocks, preserve their page and geometry references, and validate those references before publishing passages.

Textract Layout provides semantic elements such as section headings, headers, footers, and text regions in implied reading order, including multi-column layouts. Following these elements and their linked text supports section-aware passage construction without custom layout recognition. Preserving and validating page and geometry references maintains traceable citations and prevents unresolved passages from reaching embedding generation.

Practice Amazon Textract in a full exam

Questions on Amazon Textract in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

Learn Amazon Textract in lessons

8 short lessons on Amazon Textract in 5 certification courses.

and 2 more lessons

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.