Zero-upload · Browser-only · Fully private

Contract risk audit,
without the exposure

Upload a contract. LexGuard parses every clause locally in your browser and flags risk — no cloud, no server, no data leaves your device.

✓ Offline capable PDF & DOCX Clause-level analysis Instant report
Document Input No file selected
📄

Drop your contract here

PDF or plain text · stays entirely on your device

Ready · Rule-based engine active
Risk Assessment — clauses
Safe
Warning
Danger

Upload a contract to see
clause-by-clause risk analysis

PRO Advanced capabilities
📋

Custom NG-clause checklist

Apply your organization's proprietary clause blacklist & policy rules

🔒 Pro
🧠

Legal-specialized AI model

Load a fine-tuned legal LLM for higher precision clause interpretation

🔒 Pro

All analysis runs locally. Your contract never leaves this browser tab.


Security / Legal Ops

Why legal tech must be local-first

Every time you upload a contract to a cloud-based AI tool, you transmit commercially sensitive information — compensation terms, IP ownership clauses, non-compete obligations — across the public internet to a third-party server you do not control.

In 2023, Samsung engineers accidentally leaked proprietary source code by pasting it into a cloud AI assistant. Legal documents carry the same risk — or worse.

Offline contract analyzers eliminate this attack surface entirely. There is no API call, no transmission, no log entry. The document exists only inside your browser's sandboxed memory and is discarded the moment you close the tab.

For organizations bound by GDPR, HIPAA, or strict NDA obligations, a private legal AI is not a luxury — it is a compliance requirement.

Offline contract analyzer Private legal AI ローカル完結 契約書監査

Architecture / How it works

How to audit contracts securely offline

LexGuard uses a local-first architecture: the entire analysis pipeline runs inside WebAssembly and the browser's JavaScript runtime, with no outbound network requests.

Architecture: File API → text extraction → regex clause segmentation → rule-based risk engine → JSON report. Zero bytes transmitted externally.

When you upload a file, the browser's File API reads it into memory. A parser then segments the text into discrete clauses using structural cues — section numbers, capitalized headings, and paragraph breaks. Each clause is evaluated against a risk rulebook compiled from common contract law patterns.

The optional WebLLM engine (Qwen-2.5-3B, quantized to 4-bit) loads entirely into your GPU via WebGPU — the weights download once, are cached locally, and never phone home. This is a secure contract scanner in the strictest technical sense.

Secure contract scanner WebLLM offline AI Local contract analysis