On-Premise OCR or Cloud OCR: which should organizations with confidential documents and personal data choose?
Inspektion engineering team · Published 4 December 2026 · Last updated 4 December 2026
On-Premise OCR vs Cloud OCR: data flow, PDPA, control, accuracy and cost, with selection criteria for government agencies, banks, hospitals, factories and schools.
IllustrationSummary
- Cloud OCR sends files to the provider's servers for processing. On-Premise OCR processes them on servers that the organization or its contractor controls.
- PDPA Section 28 states that when personal data is sent abroad, the destination country must have adequate data protection standards, unless a legal exception applies.
- Documents that contain personal data or business secrets, such as student records, loan contracts, medical records and engineering reports, are better suited to On-Premise.
- Cloud OCR suits documents that are already published or contain no sensitive data, and small jobs that need fast results.
- Whichever you choose, put in place an NDA, a document handover log, restricted access, a file deletion schedule and a verifiable method for handling the originals.
Short answer
If your documents contain personal data or organizational secrets, choose On-Premise OCR that runs on servers you can control, with a contract that specifies file deletion and the return of originals. Cloud OCR is fine for documents that are already published or contain no sensitive data.
How do On-Premise OCR and Cloud OCR differ?
OCR (Optical Character Recognition) converts document images into text that computers can read. The difference between the two types is where the files are processed. With Cloud OCR, users upload files over the internet to the provider's servers, which may be located abroad depending on the contract and the data region selected. On-Premise OCR runs on servers that the organization or its contractor controls. Files do not pass through a public API.
Cloud OCR
- Files are uploaded to the provider's servers
- Data location depends on the contract and the selected region
- Quick to start, pay per use
- Usually raw text, with no human review
On-Premise OCR
- Processing on servers you control
- Files do not pass through a public API
- You control access rights and file deletion
- Human review can be added to match the service level
Summary: For documents with personal data or confidential information, start with On-Premise
Comparison of On-Premise OCR and Cloud OCR
| Criterion | Cloud OCR | On-Premise OCR |
|---|---|---|
| Where the files go | The provider's servers, which may be abroad | Internal servers of the organization or the contractor, or machines set up at your site |
| Contracts and data transfer under PDPA | Check the conditions for sending data abroad and the agreement with the data processor | No data is sent abroad at the OCR stage. An agreement with the contractor is still required |
| Control | Settings limited to what the provider offers | You set user rights, retention periods and file deletion yourself |
| Thai-language documents and tables | Raw text only. You must fix misplaced vowel marks and shifted table cells yourself | Models can be tuned and human review added to match the difficulty |
| Cost model | Pay per page or per API call | Invest in your own servers, or hire a service charged per page |
| Further use | You must build the integrations yourself | Feeds into a data warehouse, a Q&A system or business systems on the same network |
What does the PDPA say about this?
The Personal Data Protection Act of 2019 does not ban Cloud services, but it sets 3 duties that apply directly. Section 28 states that when a data controller sends or transfers personal data abroad, the destination country must have adequate data protection standards, unless an exception set out in the law applies [1].
Section 37 requires the data controller to put appropriate security measures in place, prevent others from using or disclosing data without authority, and have a system to check that data is deleted or destroyed when the retention period ends. Section 40 requires the data processor to follow the data controller's instructions and have security measures, and requires the data controller to make an agreement with the data processor [1]. For the latest notifications and guidelines, see the website of the Office of the Personal Data Protection Committee [2].
In practice
When you hire a document digitization provider, your organization is the data controller and the provider is the data processor. Before signing a contract, ask where the files are processed, whether they are passed to anyone else, and when they are deleted.
Which organizations should choose On-Premise?
Examples of documents that should be processed On-Premise
| Organization | Example documents | Reason |
|---|---|---|
| Government agencies and local authorities | Procurement documents, registers, official letters | Contain citizens' data and data that must remain auditable |
| Banks and financial institutions | Loan applications, contracts, identity documents | Contain personal and financial data |
| Hospitals and clinics | Old medical records, consent forms | Health data is sensitive data with stricter legal protection |
| Refineries, petrochemical plants and factories | Maintenance reports, inspection reports, machine manuals | Technical secrets and plant safety information |
| Schools and educational institutions | Student records, academic results | Contain personal data of minors |
AI systems that answer from documents carry the same risk. OWASP lists Sensitive Information Disclosure as one of the main risks for LLM applications [4]. If your organization plans to use digitized documents with AI, keep both the OCR stage and the Q&A stage in systems where access can be controlled. Read more about data preparation in Why an AI Chatbot gives wrong answers from PDFs.
When is Cloud OCR acceptable?
- Documents already made public, such as announcements, regulations already in force, or published annual reports
- Documents with no personal data or business secrets
- Small jobs that need fast results, where the organization has already reviewed the provider's contract
- Organizations whose policy allows Cloud services with a selectable data region, backed by a data processing agreement
Many organizations use both, split by the confidentiality level of the documents. Public documents go to the Cloud, while documents with personal data or confidential information stay On-Premise. The key is to classify documents before the work starts.
Security checklist before hiring a digitization provider
- Sign an NDA before sending any documents or samples
- Keep a document handover log (Chain of Custody): count the documents and photograph the condition of the boxes at every handover
- Specify where the files are processed and confirm they are not sent through a public API
- Limit file access to the team doing the work
- Set the retention period and the deletion date for working files in the contract
- Choose how originals are handled: returned in full according to the log, or destroyed with a certificate of destruction
- For highly confidential documents, process on site by having the machines set up on the organization's premises
For file deletion and the destruction of storage media, NIST SP 800-88 can serve as a reference. It sets data sanitization levels by media type and data sensitivity [3].
How does Inspektion's Paper-to-Knowledge work?
Our Paper-to-Knowledge (P2K) service runs OCR and LLM models on our own servers and does not send documents through a public API. Every project is covered by an NDA. We log the handover of every box, limit file access to the project team, delete files on the schedule in the contract, and let you choose to have originals returned or destroyed with a certificate. For highly confidential documents, you can have us bring the machines and process them at your site.
Raw OCR accuracy on printed Thai documents is about 95–98 percent. Work that needs exact figures goes through LLM cleansing and review by our team (L2), for which we guarantee accuracy of 99 percent or higher. For prices, see the document digitization pricing guide or get a price estimate.
We have worked with about 2,000 refinery maintenance reports, technical documents that had to stay within the organization's systems, and turned them into an AI-powered history search system. Read more in the AI maintenance history search case.
Frequently Asked Questions
Does using Cloud OCR for documents with personal data violate the PDPA?
The PDPA does not ban Cloud services. However, if data is sent abroad for processing, it must comply with Section 28, and the organization must have security measures and an agreement with the data processor under Sections 37 and 40. Ask your organization's Data Protection Officer to review it.
Do I need to buy my own server for On-Premise OCR?
No. You can hire a service that processes on the contractor's servers without sending files through a public API, or have the contractor set up machines at your site. Consider buying an AI server only if you need a permanent system inside your organization.
Is On-Premise OCR as accurate as Cloud OCR for Thai?
It depends on the model and the quality of the documents. For the P2K service, raw OCR on printed Thai documents is about 95–98 percent accurate, and for work that goes through L2 review, we guarantee accuracy of 99 percent or higher. Test with 20–30 pages of real documents before you decide.
What happens to the original documents and files after the work is done?
You choose in the contract: originals are returned in full according to the handover log, or destroyed with a certificate of destruction. Working files are deleted on the schedule set in the contract.
Our documents are so confidential they cannot leave our premises. Can you still do the work?
Yes. Choose on-site processing: we set up scanners and processing machines on your premises, so documents never leave the building. Prices are assessed case by case.
References
- [1]
Personal Data Protection Act, B.E. 2562 (2019) — unofficial English translation — Ministry of Digital Economy and Society, Thailand
- [2]
Office of the Personal Data Protection Committee (PDPC) — Personal Data Protection Committee, Thailand
- [3]
NIST SP 800-88 Rev. 1: Guidelines for Media Sanitization — National Institute of Standards and Technology
- [4]
OWASP Top 10 for LLM Applications 2025 — OWASP GenAI Security Project







