.png)
Legal templates are everywhere, but most are hard to use. We've created a new standard for how we structured and stored legal templates.
Markdown
We store all our contracts in markdown. This might sound like a technical detail, but it's transformative for how legal documents can be collaborated on and managed.
This standardization allows GitLaw to be opinionated about version control in ways that aren't possible with mixed file formats. We can show you precisely which clause was modified, what terms were added or removed, and how the document evolved through negotiation—all with the same clarity that software developers get when reviewing code changes.
GitLaw automatically converts uploaded contracts from any format into our markdown standard, and you can export back to traditional formats if you want to.
Contract Markup
Beyond markdown, we've created a markup system that makes contracts programmable. When GitLaw files have this markdown applied - it adds:
Smart Input Fields: Every fillable field is clearly marked in a standard way. This allows us to generate simple forms to fill out fields within Gitlaw - as well as make these fields easy to read for other software (e.g. AI Agents).
Clause Options: Legal documents often include optional clauses or variations. Most lawyers use templates with extensive options and drafting advice written into contracts. Our goal was to simplify templates so that anyone can make sense of them. Our GitLaw Clause format allows us to generate simple toggles and variant selections. Need a non-compete clause? Toggle it on. Want California-specific privacy terms instead of New York? Select that variant from a list.
Alternative Structures: When clauses are mutually exclusive, we mark them as alternatives so users can choose Option A or Option B, never both accidentally. Our format is also able to create dependencies across templates using these alternative structures.
Any contract can be easy
Many template companies already provide user-friendly interfaces for contract customization—but only for documents their teams have manually structured. GitLaw makes this structured format available on any contract that anyone imports and applies the format to.
Upload a partnership template you have, a vendor contract from your last deal, or a template from your lawyer and GitLaw can automatically analyzes the document structure and create the smart input fields, clause options, and clear navigation that make templates easy.
Infrastructure for AI-Powered Legal Work
We’re excited to be building a foundation for our long-term vision of AI agents handling legal work. When contracts are structured data rather than unstructured text, software can reason about them, modify them intelligently, and automate complex legal workflows.
Structured contracts enable AI agents to understand not just what a document says, but how it's organized, what can be customized, and how changes might affect other clauses. This is the infrastructure that makes "vibe lawyering" actually viable for real business use.
–
We'd welcome collaborations with industry partners who want to work with us on evolving this standard. Legal work is about to get a lot more structured, and we're excited to build that future together.