← Back to Experiments

Court Petition Translator AI Powered Experiment

Translate Hindi Supreme Court and High Court petitions into formal legal English. Upload PDFs, scanned images, Word documents, or paste text directly.

Hindi Petition Input
📄
Drop file here or click to browse
PDF, DOCX, or image (JPG, PNG, TIFF) — up to 50 pages
Preparing...
0 characters Hindi → English
English Translation

How it works

Document extraction: Text is extracted entirely in your browser. Digital PDFs use PDF.js. Scanned PDFs and images use Tesseract.js with Hindi (Devanagari) OCR. Word documents (.docx) use mammoth.js. No files are uploaded to any server for extraction.

Translation: Extracted Hindi text is sent to Sarvam AI (sarvam-translate:v1, formal mode) for translation, then refined by Llama 3.3 70B (via Groq) with a legal-terminology-aware prompt — “Petitioner” not “applicant”, “Hon'ble” not “honourable”, “disposed of” not “resolved”, etc.

Disclaimer

AI-assisted translation. Output should be reviewed by a qualified legal professional before use in any official filing. OCR accuracy depends on scan quality.