CloudBrum
CloudBrum · Cloud decision-support platform
AWS AI and machine learning

Amazon TextractCreatedLast reviewedReading time~20 minLevelBeginner to advanced

Amazon Web Services · AI and machine learning · Document extraction

Amazon Textract turns document images into text and structured fields that an application can use. Its Core APIs read words, connect form labels to values, and recover table cells without you building an OCR model. A bill can become a set of candidate invoice fields; it doesn’t become an approved payment. You still need checks for missing values, arithmetic and uncertain readings before those fields reach another system.

On this page (17 sections)

    Mind map: Amazon Textract at a glance

    Amazon Textract mind map Amazon Textract at a glance: Read documents: Printed text, English handwriting, PDF, TIFF, PNG, JPEG; Choose an API: Text-only OCR, Forms and tables, Expense and ID APIs; Run the job: Synchronous request, Async from S3, Read every result page; Use the output: Block relationships, Confidence and geometry, Validate field values; Control quality: Representative samples, Review uncertain fields, Measure field errors; Protect data: Narrow IAM access, Encryption and retention, Check AI opt-out rules; Manage cost: Pages and features, Avoid duplicate jobs, Budget for review; Other options: Azure Document Intel., Google Document AI, Local OCR tools. Amazon Textract at a glance From a scanned page to checked fields: extraction is only one step CloudBrum Cloud decision-support platform CloudBrum Printed text English handwriting PDF, TIFF, PNG, JPEG Read documents Text-only OCR Forms and tables Expense and ID APIs Choose an API Synchronous request Async from S3 Read every result page Run the job Block relationships Confidence and geometry Validate field values Use the output Representative samples Review uncertain fields Measure field errors Control quality Narrow IAM access Encryption and retention Check AI opt-out rules Protect data Pages and features Avoid duplicate jobs Budget for review Manage cost Azure Document Intel. Google Document AI Local OCR tools Other options Textract17-point analysis CloudBrum· 17-point cloud service analysis cloudbrum.com
    CloudBrum Textract at a glance · 17-point analysis Read documents Printed text English handwriting PDF, TIFF, PNG, JPEG Choose an API Text-only OCR Forms and tables Expense and ID APIs Run the job Synchronous request Async from S3 Read every result page Use the output Block relationships Confidence and geometry Validate field values Control quality Representative samples Review uncertain fields Measure field errors Protect data Narrow IAM access Encryption and retention Check AI opt-out rules Manage cost Pages and features Avoid duplicate jobs Budget for review Other options Azure Document Intel. Google Document AI Local OCR tools CloudBrum · cloudbrum.com

    Free to share. The downloaded image includes the CloudBrum link.

    Key features (summary)

    • OCR with page locationsDetectDocumentText returns words and lines with confidence and geometry. Use it when you need the writing itself, rather than form fields or table structure.
    • Forms and table relationshipsAnalyzeDocument connects keys to values and cells to tables. Keep those relationships: a flat list of words loses which amount belongs to which label.
    • Queries, layout and signaturesRequest the feature types your workflow needs. Queries ask for a particular answer; Layout identifies document elements; Signatures locates likely signatures without authenticating the signer.
    • Document-specific extractionAnalyzeExpense normalizes invoice and receipt fields. AnalyzeID handles supported US identity documents. AnalyzeLending targets mortgage packages; these APIs aren’t interchangeable document classifiers.
    • Asynchronous document jobsFor a multipage PDF, start a job against an S3 object and collect its output when processing finishes. Results may span several API responses even when the original file has only a few pages.
    • Core and InsightsAWS now describes Textract Core and Textract Insights separately. Insights adds generative extraction, document splitting and summaries. This page’s code uses Core, whose response is a graph of extraction blocks.

    Basic concepts

    OCR
    Optical character recognition reads characters from an image. Finding the words 'Total' and '123.45' is a different task from deciding that 123.45 is the amount due.
    Block and relationship
    A Block can describe a page, line, word, table cell, query or other element. Its Id and Relationships connect it to other blocks, sometimes returned in another result page.
    Confidence and geometry
    Confidence expresses the model’s certainty about a detection; geometry locates it on the source page. Neither proves that a bank account, date or invoice amount is valid.
    Synchronous versus asynchronous
    A synchronous call returns extraction results directly. An asynchronous call first returns a JobId; a worker then waits for completion and follows NextToken until all blocks have arrived.
    Queries and adapters
    Queries request named answers in English, such as an invoice total. Custom Queries adapters tune that task for a document family using labeled examples; they don’t train a general OCR engine.
    Feature-specific language support
    The current AWS FAQ lists more than 40 printed-text languages for Core OCR. Forms supports six languages; handwriting, Queries and the expense and identity features are English-only. Check the exact feature, not just the product name.

    How to create & configure it

    Build a reviewed invoice-intake flow

    1. Start with a labeled sampleCollect examples from the suppliers and scanners you actually receive. Record the expected invoice number, date, currency and amount, including missing fields and poor scans. Keep a separate test set.
    2. Pick the task before the APITry AnalyzeExpense for ordinary invoices and receipts. Use AnalyzeDocument when you need custom form or table relationships, or English Queries. Text-only archiving can begin with DetectDocumentText.
    3. Prepare private document storagePut the source in an encrypted, non-public S3 bucket in the Textract Region. Give the processing role access only to the intake prefix. A sample document shouldn’t contain a real customer’s bank details.
    4. Run one document and save its job identifierUse a synchronous call for a supported single-page request, or StartDocumentAnalysis for an asynchronous PDF/TIFF workflow. Persist the job ID against the source object’s version or checksum so a retry doesn’t become a new business transaction.
    5. Collect the complete block graphWait for the terminal job status and retrieve every result page. Index blocks by Id before resolving relationships. A PARTIAL_SUCCESS response belongs in an exception path, not beside fully processed invoices.
    6. Validate, review and releaseCheck required fields, currency and invoice arithmetic. Send doubtful values to a reviewer with the source crop. Write approved records with a document-specific idempotency key, then apply retention to the source and the extracted copy.

    The AWS console is useful for a first look, but the rollout decision needs field-level measurements on unseen documents. A readable demonstration page doesn’t tell you how often the system misreads a total on your suppliers' invoices.

    Common issues after configuration

    SymptomLikely causeWhat to check / fix
    UnsupportedDocumentException or DocumentTooLargeExceptionThe file doesn’t meet the selected operation’s format, size or page rulesSynchronous Core requests have a 10 MB limit and PDF/TIFF input is single-page. For asynchronous PDF/TIFF, AWS documents up to 500 MB and 3,000 pages. Password-protected and XFA-based PDFs aren’t supported; create a supported static copy before retrying.
    InvalidS3ObjectExceptionThe object can’t be read at that bucket/key, or its Region or permissions don’t matchCheck the exact case-sensitive key, bucket Region and caller access. For an SSE-KMS object, verify the KMS key policy and decrypt permission too.
    A job finishes but expected rows are missingOnly the first GetDocumentAnalysis response was read, or partial completion was acceptedFollow every NextToken, inspect JobStatus and Warnings, and join cells through block IDs rather than the order blocks happen to arrive in.
    Throttling or too many concurrent jobsA producer submits faster than the Region’s request or in-flight-job quotaQueue work, cap worker concurrency and use SDK retries with backoff. Inspect Service Quotas for each operation; raising the submission rate alone can make the backlog worse.
    The right text appears under the wrong fieldFlattened OCR output, ambiguous form labels or an unsuitable queryKeep geometry and relationships, inspect the source crop, then test a narrower query or the document-specific API. Don’t repair this by moving strings around until the example happens to pass.
    An old JobId no longer worksThe retrieval window expiredAWS documents a seven-day validity window for Core analysis job IDs. Export needed results to your own controlled storage instead of treating the retrieval API as an archive.

    Use cases: when and where to use it

    Good fit

    • Invoice or receipt intake where extraction feeds a separate approval and accounting process.
    • Digitizing scanned forms whose field labels matter as much as the words on the page.
    • Recovering tables for a data-entry workflow with checks against totals and source pages.
    • Preparing document text for search or RAG, with page references kept for later inspection.

    Consider something else

    • A PDF already has clean, selectable text: test a PDF parser before paying to recognize the same characters again.
    • A photo contains signs or packaging rather than a document: compare scene-text tools such as Amazon Rekognition.
    • You need local or disconnected processing: Textract is a managed cloud API, so evaluate an OCR engine you can run yourself.
    • You need a legal identity check, fraud verdict or verified signature: extraction can feed that process but doesn’t replace it.

    Pros: why consider it?

    Why teams choose it

    • You can test document extraction without collecting a training corpus or deploying an OCR server.
    • Words retain positions, which lets a reviewer inspect the part of the page behind a disputed value.
    • Separate text, form, table and document-specific operations give you control over what to request.
    • S3-based jobs fit a queued intake pipeline where users don’t have to hold an HTTP connection open.

    Trade-offs to weigh

    • Extracted data still needs a schema, validation and an owner for exceptions.
    • Table merges, handwriting and unusual layouts can require more review than a tidy sample suggests.
    • Applications must handle throttling, job recovery and paginated relationships, not just one API response.
    • Cloud processing and the service’s data-use terms may rule it out for some documents.

    Common threats, vulnerabilities & risks

    RiskSeverityWhy it mattersMitigation
    Incorrect financial field acceptedHighA plausible amount can pass an OCR confidence threshold and still refer to a subtotal or another invoice.Reconcile line items and tax, verify currency, and require approval before money moves.
    Sensitive records copied into logsHighFull API responses contain the very personal and financial data the application is trying to extract.Log job IDs and failure categories; keep raw blocks in restricted storage with a deletion schedule.
    Partial or duplicated processingMediumA missed token drops data; a retried intake event can create a second accounting record.Read the complete job, isolate partial results and make the downstream write idempotent.
    Residency rules misunderstoodHighCore data-use settings and Insights cross-Region processing have different implications for regulated records.Read the current FAQ for the exact capability and Region, review opt-out settings, and obtain the required contractual approval.
    Signature mistaken for identity proofHighLocating a signature mark doesn’t establish who made it or whether they had authority.Keep identity verification and document approval as separate controls.
    Document text treated as trusted instructionsMediumAn extracted page passed to an LLM may contain instructions planted by its author.Treat document content as untrusted data, restrict tool access and validate any proposed action outside the model.

    Performance optimisation

    • Measure time from upload to a usable, checked record. API response time leaves out queuing, result collection and review.
    • Keep a queue between intake and Textract so a bulk upload doesn’t overwhelm your in-flight-job quota.
    • For production Core jobs, an SNS completion notification can wake the result worker; use bounded backoff if you poll instead.
    • Preserve the original supported file when it is already readable. Aggressive compression can erase a decimal point that matters more than the bytes saved.
    • Assemble all result blocks before joining table cells or form relationships; don’t fetch a document again merely to resolve a missing block.
    • Test concurrency with realistic page counts. A hundred one-page receipts and a hundred long statements are different workloads.

    Reduce monthly cost

    For Textract, start a cost review with the pages submitted and the fields actually needed. Then trace duplicate jobs and the time spent correcting results.

    • Route text-only documents to OCR instead of requesting Forms and Tables by default.
    • Use the smallest feature set that passes your evaluation. AnalyzeDocument features have distinct charges, and combinations can add up.
    • Remember which input version has already been processed, together with API settings and adapter version. Reuse results only when all of those still match.
    • Keep a separate count of submitted pages, retries and approved records. A low API bill can hide an expensive manual-review queue.
    • Check whether an existing text layer or upstream electronic invoice can replace image extraction for that input source.
    • Budget for S3 storage and requests, orchestration and retained output as well as Textract itself.

    A confidence threshold is a quality decision, not a discount setting. Sending fewer uncertain fields to review can lower today's review bill while increasing the cost of wrong records.

    Security optimisation

    • Use a workload role for the application. Keep access keys out of document-processing scripts and uploaded files.
    • Scope S3 read access to the required intake prefix. Core analysis start/get actions use Resource *; that doesn’t justify unrestricted access to every bucket.
    • Encrypt the source and exported results, and use a customer-managed KMS key where your policy requires one. Grant only the key operations the chosen input/output path needs.
    • For private network access, assess Textract interface VPC endpoints through AWS PrivateLink together with the S3 access path. A Textract endpoint doesn’t route S3 traffic by itself.
    • Check AWS Organizations AI services opt-out policies before submitting restricted records to Core. Deleting your S3 source is separate from the service’s data-handling terms.
    • Restrict review screens as carefully as the source bucket: a page crop can expose a bank number even if the application hides the full document.

    Governance & compliance

    Guardrails

    • A named owner for each document class, its approved processing Region and its retention period.
    • An agreed schema for extracted fields, including what happens when a required value is absent.
    • A release gate that measures field accuracy and review workload on a held-out sample.
    • A record of the selected API, feature types and adapter version for reproducible decisions.

    Checks to schedule

    • Track missing-field rates, arithmetic failures and reviewer corrections by supplier or document source.
    • Alert on jobs stuck in progress, failed jobs and results waiting too long for collection.
    • Inspect access to source and result stores; enable the relevant CloudTrail event categories for your audit needs.
    • Test deletion across the original, extracted fields, review exports and backups, with legal holds handled explicitly.

    AWS lists Textract as HIPAA eligible when the required BAA is in place; that doesn’t make a particular application compliant. Check service and Region scope in AWS Artifact, then document your own access, review and retention controls. Core and Insights deserve separate data-flow reviews: the current AWS FAQ describes cross-Region inference for Insights.

    Reduce carbon footprint

    • Avoid resubmitting an unchanged file after a worker restart; recover the saved job instead.
    • Skip OCR for sources that already provide reliable machine-readable fields.
    • Keep only the output needed by the business record rather than several indefinite copies of the same scan.
    • Choose image preparation based on legibility. Shrinking a file until it needs repeated processing is a false saving.
    • Don’t assign a per-page carbon figure to Textract without a defensible measurement boundary. Account-level AWS estimates don’t isolate this extraction job.

    Pricing

    Purchase options

    Text detection Per page

    DetectDocumentText charges for OCR pages. Use this route when words and lines are enough for the downstream task.

    Document analysis By page and feature

    Forms, Tables, Queries, Layout and Signatures have feature-specific pricing. Custom Queries has its own rates; check the combination you actually submit.

    Specialized Core APIs Operation-specific rates

    AnalyzeExpense, AnalyzeID and AnalyzeLending have separate pricing. Don’t estimate an expense workflow using the text-only OCR rate.

    Textract Insights Separate pricing

    Insights is priced separately from Core. Its extraction and generative capabilities need their own estimate; the code below doesn’t call Insights.

    What you actually pay for

    • The pages processed by the selected operation, feature combination and Region.
    • New analysis caused by changed inputs or settings, plus any duplicate requests that aren’t deduplicated.
    • Object storage, orchestration, notifications and saved extraction results around the API.
    • Human review and correction, which can dominate the cost of difficult document families.

    Use the official Textract pricing page for Region-specific rates, tiers and current free-tier eligibility. For a monthly estimate, multiply each API/feature combination's page volume by its applicable tiered rate, then add storage, orchestration and review. This guide doesn't freeze a dollar rate that may have changed by the time you read it.

    Important code references

    These four tabs describe a small Textract Core example, not a complete deployment. Terraform prepares a private, encrypted S3 bucket and an application policy to attach to an existing workload role. The CLI starts Forms, Tables and an English Query on a PDF; Python waits and gathers the entire block graph; C# reads a saved result and resolves query-answer relationships. The sample query requires English input. Use synthetic documents, configured AWS credentials and a Region supporting these operations. In production, keep job state durably, add a review queue and set retention before accepting real records.

    # Prerequisites: AWS CLI, an existing private bucket and a synthetic invoice.pdf.
    # Use the same Region for S3 and Textract. Replace the bucket name.
    REGION=us-east-1
    BUCKET=replace-with-your-document-bucket
    KEY=incoming/invoice.pdf
    
    aws s3 cp ./invoice.pdf "s3://$BUCKET/$KEY" --region "$REGION"
    
    # Reuse this token only for retries with identical input and settings.
    # Change it for a different document/version; persist the returned job ID.
    JOB_ID=$(aws textract start-document-analysis \
      --region "$REGION" \
      --document-location "S3Object={Bucket=$BUCKET,Name=$KEY}" \
      --feature-types FORMS TABLES QUERIES \
      --queries-config '{"Queries":[{"Text":"What is the total amount due?","Alias":"invoice_total","Pages":["*"]}]}' \
      --client-request-token invoice-001-v1 \
      --query JobId --output text) || exit 1
    printf '%s\n' "$JOB_ID" > job-id.txt
    
    # Inspect status. This response is NOT necessarily the entire result.
    aws textract get-document-analysis --region "$REGION" --job-id "$JOB_ID" \
      --max-results 1000 --no-paginate > first-response.json
    # Use the Python tab to wait for completion and follow every NextToken.
    # Treat extracted fields as unapproved; don't send this JSON to application logs.
    terraform {
      required_providers {
        aws = { source = "hashicorp/aws", version = "~> 6.0" }
      }
    }
    provider "aws" { region = "us-east-1" }
    variable "bucket_name" {
      type        = string
      description = "A globally unique bucket name for synthetic document intake"
    }
    resource "aws_s3_bucket" "intake" {
      bucket        = var.bucket_name
      force_destroy = false
      tags          = { purpose = "document-intake", owner = "platform" }
    }
    resource "aws_s3_bucket_public_access_block" "intake" {
      bucket                  = aws_s3_bucket.intake.id
      block_public_acls       = true
      ignore_public_acls      = true
      block_public_policy     = true
      restrict_public_buckets = true
    }
    resource "aws_s3_bucket_server_side_encryption_configuration" "intake" {
      bucket = aws_s3_bucket.intake.id
      rule {
        apply_server_side_encryption_by_default { sse_algorithm = "AES256" }
      }
    }
    data "aws_iam_policy_document" "tls_only" {
      statement {
        effect    = "Deny"
        actions   = ["s3:*"]
        resources = [aws_s3_bucket.intake.arn, "${aws_s3_bucket.intake.arn}/*"]
        principals {
          type        = "*"
          identifiers = ["*"]
        }
        condition {
          test     = "Bool"
          variable = "aws:SecureTransport"
          values   = ["false"]
        }
      }
    }
    resource "aws_s3_bucket_policy" "intake" {
      bucket = aws_s3_bucket.intake.id
      policy = data.aws_iam_policy_document.tls_only.json
    }
    data "aws_iam_policy_document" "processor" {
      statement {
        actions   = ["textract:StartDocumentAnalysis", "textract:GetDocumentAnalysis"]
        resources = ["*"]
      }
      statement {
        actions   = ["s3:GetObject"]
        resources = ["${aws_s3_bucket.intake.arn}/incoming/*"]
      }
    }
    resource "aws_iam_policy" "processor" {
      name_prefix = "textract-intake-"
      policy      = data.aws_iam_policy_document.processor.json
    }
    output "processor_policy_arn" { value = aws_iam_policy.processor.arn }
    # Attach this policy to your existing workload role. It doesn't permit uploads.
    # Give the separate uploader s3:PutObject only on incoming/*.
    # Retention is deliberately not prescribed: add an approved lifecycle policy.
    # This example uses SSE-S3; add KMS keys and permissions if your policy needs them.
    # pip install boto3
    import json
    import sys
    import time
    import boto3
    from botocore.config import Config
    
    
    def collect_analysis(client, job_id, timeout_seconds=180):
        """Wait for a Core job, rejecting failure or partial completion."""
        deadline = time.monotonic() + timeout_seconds
        while True:
            if time.monotonic() >= deadline:
                raise TimeoutError("Job still pending; resume with the saved job ID")
            first = client.get_document_analysis(JobId=job_id, MaxResults=1000)
            status = first["JobStatus"]
            if status != "IN_PROGRESS":
                break
            time.sleep(min(2, max(0, deadline - time.monotonic())))
    
        if status != "SUCCEEDED":
            # Warnings can identify omitted pages; don't accept them silently.
            raise RuntimeError(f"Extraction ended with {status}; inspect the job securely")
    
        blocks = list(first.get("Blocks", []))
        token = first.get("NextToken")
        while token:
            page = client.get_document_analysis(
                JobId=job_id, MaxResults=1000, NextToken=token
            )
            if page["JobStatus"] != "SUCCEEDED":
                raise RuntimeError("Incomplete result page; keep the document in review")
            blocks.extend(page.get("Blocks", []))
            token = page.get("NextToken")
    
        # Preserve IDs and relationships; a referenced block may arrive on a later page.
        return {
            "JobId": job_id,
            "DocumentMetadata": first.get("DocumentMetadata", {}),
            "AnalyzeDocumentModelVersion": first.get("AnalyzeDocumentModelVersion"),
            "Blocks": blocks,
        }
    
    
    if __name__ == "__main__":
        # python collect.py us-east-1 JOB_ID result.json
        region, job_id, output_file = sys.argv[1:]
        textract = boto3.client("textract", region_name=region, config=Config(
            retries={"mode": "standard", "total_max_attempts": 4},
            connect_timeout=5, read_timeout=20,
        ))
        result = collect_analysis(textract, job_id)
        # Save in a restricted location. This file contains extracted document data.
        with open(output_file, "x", encoding="utf-8") as stream:
            json.dump(result, stream)
        print(f"Saved {len(result['Blocks'])} blocks; fields still need validation")
    // .NET 8 console app: dotnet run -- result.json
    // Reads the Python tab's saved JSON; no AWS SDK or network access is needed.
    using System.Text.Json;
    
    using var document = JsonDocument.Parse(File.ReadAllText(args[0]));
    var blocks = document.RootElement.GetProperty("Blocks").EnumerateArray()
        .Where(b => b.TryGetProperty("Id", out _))
        .ToDictionary(b => b.GetProperty("Id").GetString()!, b => b);
    
    var candidates = 0;
    foreach (var block in blocks.Values)
    {
        if (block.GetProperty("BlockType").GetString() != "QUERY") continue;
        var query = block.GetProperty("Query");
        var alias = query.TryGetProperty("Alias", out var a) ? a.GetString() : "unnamed";
        if (!block.TryGetProperty("Relationships", out var relationships)) continue;
        foreach (var relationship in relationships.EnumerateArray())
        {
            if (relationship.GetProperty("Type").GetString() != "ANSWER") continue;
            foreach (var id in relationship.GetProperty("Ids").EnumerateArray())
            {
                if (!blocks.TryGetValue(id.GetString()!, out var answer))
                    throw new InvalidDataException("Missing answer block; check pagination");
                if (answer.GetProperty("BlockType").GetString() != "QUERY_RESULT") continue;
                if (!answer.TryGetProperty("Text", out var text) ||
                    string.IsNullOrWhiteSpace(text.GetString())) continue;
                var confidence = answer.TryGetProperty("Confidence", out var c)
                    ? c.GetDouble() : 0;
                candidates++;
                // Do not print the extracted value: it may contain sensitive data.
                Console.WriteLine($"{alias}: candidate found, confidence {confidence:F1}; validate before use");
            }
        }
    }
    if (candidates == 0)
        Console.WriteLine("No query answer found; keep this document in review.");

    Best videos to explore

    These videos come from AWS's Textract resources page, with official AWS talks first. They cover Core and earlier document-processing workflows; use the current documentation for API availability and limits. Video players load only when selected.

    What is Amazon Textract?Official · AWS · Beginner · Watch on YouTube
    Extract Text and Data from Any Document with No Prior ML Experience - AWS Online Tech TalksOfficial · AWS · Intermediate · Watch on YouTube
    AWS re:Invent 2020: Intelligent document processing: Extract data & insights from documentsOfficial · AWS · Intermediate · Watch on YouTube
    AWS re:Invent 2022 - Automate your mortgage document processing with AWS AI/ML (AIM202)Official · AWS · Advanced · Watch on YouTube

    Interview questions

    BasicWhat is Amazon Textract used for?

    Textract extracts writing and document structure from scans and images. Typical uses include invoice intake, form entry and table recovery. Core returns text and relationships that your application interprets; validation and business approval remain separate steps.

    BasicHow does Amazon Textract work?

    You send a supported document to a Core API directly or point an asynchronous job at an S3 object. The service returns blocks describing detected elements, with confidence and page locations. The application follows their relationships, validates the required fields and routes uncertain values for review.

    BasicWhat is the difference between DetectDocumentText and AnalyzeDocument?

    DetectDocumentText supplies OCR words and lines. AnalyzeDocument adds the requested structure, such as Forms or Tables, through feature types. Choose the API by the output you need; recognizing the word Total doesn’t by itself connect it to the correct amount.

    IntermediateCan Textract process a multipage PDF?

    Yes, Core supports asynchronous PDF and TIFF processing from S3. StartDocumentAnalysis returns a job ID, and GetDocumentAnalysis returns its status and paginated results. Wait for success, then follow every NextToken; the API’s result pages are not the same as the document’s physical pages.

    IntermediateWhich languages and handwriting does Textract support?

    Support depends on the capability. AWS currently lists more than 40 printed-text languages for Core OCR; Forms supports English, French, German, Italian, Portuguese and Spanish. Handwriting, Queries, invoice and receipt extraction, and supported identity-document extraction are English-only. Test the exact feature and document language before committing to it.

    IntermediateDoes a high confidence score mean an extracted value is correct?

    No. A confidently read number can still be the wrong field for the task. Measure extraction against labeled examples, check formats and arithmetic, and decide review rules according to the consequence of an error. There isn’t one safe confidence threshold for every document.

    IntermediateCan Textract verify a signature or a person’s identity?

    Signature detection locates likely signatures on a page; it doesn’t authenticate the signer. AnalyzeID extracts fields from supported US passports and driver’s licenses, but it isn’t a complete identity-verification decision. Use separate verification and approval controls where those decisions matter.

    IntermediateHow is Amazon Textract priced?

    Core prices depend on the operation, processed pages, feature combination, Region and volume tier. Specialized APIs and Custom Queries have their own rates, and Insights has separate pricing. Add storage, orchestration and human review to the estimate, and check AWS’s current pricing page for applicable allowances.

    AdvancedHow should a worker handle PARTIAL_SUCCESS?

    Treat it as an exception requiring inspection rather than a fully processed document. Warnings can identify pages that weren’t processed. Keep the job and source traceable, decide whether to retry eligible pages or request a replacement, and prevent incomplete records from reaching the approval step.

    AdvancedHow do Textract Core and Textract Insights differ?

    Core provides OCR and structured extraction through task-specific APIs, including Forms, Tables and Queries. Insights adds generative capabilities such as splitting document packets, custom field extraction and summaries. Its processing model, availability, charges and data-handling rules need a separate review; it isn’t just another Core feature flag.

    AdvancedWhat are the Azure and Google Cloud alternatives to Textract?

    Azure Document Intelligence in Foundry Tools, previously called Azure AI Document Intelligence, and Google Cloud Document AI are document-processing alternatives. Compare their OCR, layout and prebuilt or custom extraction capabilities on the same held-out documents. Language support, output schemas, Region availability and review effort can matter more than a headline page price.

    AdvancedWhat changes when extracted documents are used in a RAG system?

    Keep page references and layout information so answers can be traced to a source passage. Check reading order, tables and missing pages before indexing. Treat extracted instructions as untrusted document content, and enforce permissions at retrieval time rather than assuming OCR removed sensitive material.

    Similar or alternative services on other clouds

    CapabilityAWSAzureGoogle Cloud
    Document serviceAmazon TextractAzure Document IntelligenceGoogle Cloud Document AI
    Basic extractionCore OCR and LayoutRead and Layout modelsEnterprise Document OCR and Layout Parser
    Structured fieldsForms, Tables, Queries and specialized Core APIsPrebuilt document models and custom extractionPretrained processors and custom extraction
    CustomizationCustom Queries adapters for query extractionCustom extraction modelsCustom Extractor processors
    Integration workResolve Blocks and relationships; normalize fields for your appMap document-model results into your schemaMap processor output into your schema
    What to benchmarkField accuracy, page cost, throughput and review effortSame documents, fields and acceptance rulesSame documents, fields and acceptance rules

    These are alternatives for a document-processing job, not identical APIs. Within AWS, Amazon S3 holds the source, AWS Lambda can start a short processing step, and Amazon DynamoDB can record job state. Use Amazon Rekognition when the problem is scene-text or image analysis rather than document structure.

    Did you find this article helpful?

    Your answer helps us improve this page for the next reader.

    Sources and further reading

    CloudBrum wrote this page in its own words, using the provider’s public documentation listed below as the reference. Features, limits, names and prices change, so confirm anything that matters on the provider’s own pages before you decide.