
Google Sheets Setup
Set up Google Sheets integration now to make exporting receipts faster and easier later.


Take a photo or upload receipt
Click here to select an image
โ Supports iPhone HEIC photos
Processing your receipt...
Receipt Details
System Architecture
Receipt Scanner uses a modern cloud-based architecture for scalable and reliable receipt processing.
Technology Stack
Frontend Components
- Tesseract.js 4.1.1: Client-side OCR processing for text extraction
- HEIC2Any 0.0.4: iPhone HEIC photo conversion to JPEG
- Vanilla JavaScript: No framework dependencies for fast loading
- CSS3 Animations: Smooth gradients and micro-interactions
Backend Services
- Vercel Serverless: Auto-scaling API endpoints
- Google Sheets API v4: Direct spreadsheet integration
- Google OAuth 2.0: Secure authentication flow
- AI Processing API: Advanced receipt parsing and categorization
API Endpoints
Core Processing
/api/parse-receipt
- AI-powered receipt text parsing and categorization/api/google-auth
- Initiate Google OAuth authentication flow/api/google-callback
- Handle OAuth callback and token exchange
Google Sheets Integration
/api/google-sheets-list
- Retrieve user's Google Sheets list/api/google-sheets-export
- Export receipt data to selected sheet
Data Processing Pipeline
Stage 1: Image Processing
Images are processed client-side for privacy. HEIC photos from iPhones are automatically converted to JPEG format for compatibility.
Stage 2: OCR Extraction
Tesseract.js performs optical character recognition in the browser, extracting raw text from receipt images.
Stage 3: AI Enhancement (Optional)
When AI mode is enabled, extracted text is sent to our processing API which uses machine learning models to:
- Identify store names and locations
- Parse dates and times accurately
- Extract individual items with prices
- Categorize purchases automatically
- Calculate totals and tax amounts
Security & Privacy
Data Protection
- Local Processing: OCR runs entirely in your browser
- HTTPS Encryption: All API communications are encrypted
- No Storage: Images are not permanently stored on servers
- OAuth 2.0: Secure Google account integration
Google Sheets Access
The application only requests the minimum necessary permissions to read your sheets list and write receipt data. Your Google account credentials are never stored.
Browser Compatibility
Supported Browsers
- Chrome 80+: Full feature support including camera access
- Firefox 75+: Complete functionality with OCR processing
- Safari 13+: iOS and macOS support with HEIC conversion
- Edge 80+: Full compatibility on Windows devices
Mobile Support
Optimized for mobile devices with responsive design and camera integration for receipt capture on-the-go.
Deployment Architecture
Hosting & CDN
- Vercel Edge Network: Global CDN for fast loading times
- Serverless Functions: Auto-scaling backend processing
- Environment Variables: Secure API key management
- Build Optimization: Minified assets and tree shaking