PDF OCR is a free web application that helps convert image-based or scanned PDF documents into searchable and copyable PDF format. The application uses OCR (Optical Character Recognition) technology to recognize text in images and create a digital text layer on top of the original images.
- ✅ Convert image-based PDFs to searchable PDFs
- ✅ Support for multiple languages, including Vietnamese (with accents)
- ✅ Completely client-side processing - no need to upload files to a server
- ✅ Privacy and security - your data never leaves your browser
- ✅ Create text-only PDFs for easy copying and editing
- ✅ User-friendly interface
- ✅ Completely free, no page or file limits
- ✅ Progressive Web App (PWA) - can be installed and used offline
- Frontend: React, TypeScript, Tailwind CSS
- OCR Engine: Tesseract.js
- PDF Processing: PDF.js, PDF-lib
- Build Tool: Vite
- Deployment: Cloudflare Pages
- Node.js >= 20
- npm or yarn
- Clone the repository:
git clone https://github.com/tang-vu/OCR-PDF.git
cd OCR-PDF- Install dependencies:
npm install- Run the application in development mode:
npm run dev- Build the application for production:
npm run build- Preview the build version:
npm run preview- Open the website at https://ocr-pdf.pages.dev or run the application on your personal computer
- Upload your image-based PDF file
- Select the text recognition language (default is Vietnamese)
- Click the "Start Conversion" button
- Wait for the recognition process to complete
- Download the searchable PDF or text-only PDF file
The application is deployed at: https://ocr-pdf.pages.dev
All contributions are welcome! If you'd like to contribute to the project, please follow the guidelines in the CONTRIBUTING.md file.
This project is distributed under the MIT License. See the LICENSE file for more information.
- Tesseract.js - OCR engine for JavaScript
- PDF.js - Mozilla's PDF reader library
- PDF-lib - PDF creation and editing library
- React - JavaScript UI library
- Tailwind CSS - CSS framework
- Vite - Modern frontend build tool
