Texitfy is a sleek and simple web app for extracting text from images using Optical Character Recognition (OCR). Powered by Python, Flask, and Tesseract OCR, it features a drag-and-drop UI, image preview, dark/light theme toggle, and download functionality.
Check out the live version of Textify here:
👉 https://textify-nx1d.onrender.com/
- 🌓 Light/Dark mode toggle
- 🖼️ Image preview before upload
- 🧠 Fast OCR using Tesseract
- 🖱️ Drag & drop or file input
- 📥 Download extracted text
- 📱 Mobile-friendly and keyboard accessible
- Frontend: HTML, CSS, JavaScript
- Backend: Flask (Python)
- OCR Engine: Tesseract OCR
git clone https://github.com/yeschirag/texitfy.git
cd texitfypython -m venv venv
source venv/bin/activate # For Windows: venv\Scripts\activate
pip install -r requirements.txtbrew install tesseractsudo apt update
sudo apt install tesseract-ocr- Download the installer: https://github.com/tesseract-ocr/tesseract
- Add the Tesseract installation path (e.g.
C:\Program Files\Tesseract-OCR) to your system's PATH environment variable.
python app.pyThen open your browser and visit:
http://localhost:5000
- Upload or drag-and-drop an image file
- Click Extract Text
- View, copy, or download the extracted text
Supported file types: .png, .jpg, .jpeg, .webp, etc.
texitfy/
├── app.py
├── requirements.txt
├── README.md
│
├── templates/
│ └── index.html
│
├── static/
│ ├── css/
│ │ └── styles.css
│ ├── js/
│ │ └── script.js
│ └── uploads/
- Change styling in
static/css/styles.css - Modify JS interactions in
static/js/script.js - Edit Flask logic in
app.py - Add more OCR languages or pre-processing techniques via Tesseract options
This project is licensed under the MIT License.
See the LICENSE file for more information.
Pull requests are welcome!
To contribute:
- Fork the repository
- Create a new branch:
git checkout -b feature/your-feature-name - Commit your changes:
git commit -m 'Add your feature' - Push to the branch:
git push origin feature/your-feature-name - Open a pull request
Made with ❤️ for simplicity.