Legalese Decoder is a powerful web application that translates complex legal text into plain, easy-to-understand English, running entirely in your browser. No server required! Simply paste your legal document, contract, or terms of service, and watch as it's transformed into clear, accessible language.
- 📝 Legal Text to Plain English - Translate complex legal jargon into everyday language
- 💻 100% Client-side - All processing happens in your browser
- 🔒 Privacy-focused - No data leaves your device
- 🌐 Works offline - Once loaded, no internet connection needed
- ⚡ Markdown rendering - Results are formatted for better readability
- 🎛️ Customizable models - Choose from different LLM models based on your needs
Legalese Decoder uses WebLLM to run large language models directly in your browser:
- Paste your legal text - Input the legal document you want to decode
- Local processing - Your text is processed entirely on your device
- Plain English output - Receive a clear, easy-to-understand translation
- Visit the Legalese Decoder app
- Wait for the model to load (this may take a moment depending on your connection)
- Paste your legal text into the input box
- Click "Decode Legalese" and receive your plain English translation
- Use the "Start Over" button to translate another document
- Decoding terms of service agreements
- Understanding legal contracts before signing
- Making legal information more accessible to non-lawyers
- Multi-language support - Translate legal text from and to multiple languages
- Image OCR integration - Extract text directly from images or PDFs of legal documents
- OpenAI API integration - Option to use OpenAI's models via API key for enhanced performance
- Export and sharing options - Save and share your decoded text in various formats
# Clone the repository
git clone https://github.com/Thomas-McKanna/legalese-to-plain-english.git
# Navigate to the project directory
cd legalese-to-plain-english
# Install dependencies
npm install
# Start the development server
npm run dev
Contributions are welcome! Please feel free to submit a Pull Request.
This project wouldn't be possible without these amazing open-source projects:
- WebLLM - For running LLMs directly in the browser
- React - For building the user interface
- TailwindCSS - For styling the application
- React Markdown - For rendering markdown content
This project is licensed under the MIT License - see the LICENSE file for details.