General-Legal/legal-templates

Public collection of high-quality templates created by General Legal attorneys with CC0 license

Python

2,830

60 commits

updated Sep 22, 2026

See the code

README

Legal Templates

Attorney-drafted legal templates for startups and technology companies. Created by the attorneys at General Legal and released under CC0 1.0. Free for anyone to use, modify, and distribute for any purpose, without attribution.

These templates are provided in LLM-optimized markdown and original .docx formats. Highlighted text (marked with <mark> tags in the markdown files) indicates fields that should be customized for your use.

Attribution

These templates include a General Legal credit footnote. The templates are released under CC0 1.0 Universal, so retaining that footnote isn't a legal requirement, but we ask that you keep it in place when reproducing or adapting these documents.

Templates

TemplateDescription
Advisor AgreementAdvisor agreement covering advisory services, equity compensation, IP assignment, and confidentiality
Business Associate Agreement (BAA)HIPAA-required contract between covered entities and business associates that handle protected health information
Cookie NoticeDisclosure of cookie and tracking technology practices for websites and apps
Data Processing Addendum (U.S.)Processor-friendly DPA for U.S. personal data with security measures and state-privacy-law compliance
Data Processing Addendum (Global)Processor-friendly DPA for U.S., EU/EEA, UK, and Switzerland with GDPR-aligned obligations
Employee Offer Letter (California Exempt)Offer letter for California exempt hires covering compensation, exempt-employee policies, and arbitration
Master Services Agreement (MSA)Tech-oriented MSA for companies deploying software and providing platform or integration services
Mutual Non-Disclosure AgreementTwo-way confidentiality agreement for parties sharing sensitive information while exploring a business relationship
One-Way Non-Disclosure AgreementOne-way confidentiality agreement protecting a single disclosing party's information
Privacy Policy (U.S. Only)Privacy policy covering U.S. federal and state privacy laws including CCPA/CPRA
Privacy Policy (GDPR Enhanced)Multi-jurisdictional privacy policy covering both U.S. state laws and GDPR/UK GDPR
Terms of UseWebsite terms of use covering access rights, IP protections, liability limits, and dispute resolution

Repository Structure

legal-templates/
  templates/                  # One directory per template
    advisor-agreement/
    business-associate-agreement/
      README.md               # Template overview, use cases, and key provisions
      template.md             # Full template text in LLM-optimized markdown
    cookie-notice/
    dpa-global/
    dpa-us/
    employee-offer-letter/
    master-services-agreement/
    mutual-nda/
    one-way-nda/
    privacy-policy-gdpr/
    privacy-policy-us/
    terms-of-use/
  docx-originals/             # Original .docx source files
  scripts/
    fetch_templates.py        # Downloads .docx files from general.legal/resources/library
    convert_docx.py           # Converts .docx originals to markdown
  LICENSE                     # CC0 1.0 Universal

General-Legal/legal-templates

Public collection of high-quality templates created by General Legal attorneys with CC0 license

Python

2,830

60 commits

updated Sep 22, 2026

See the code

README

Legal Templates

Attorney-drafted legal templates for startups and technology companies. Created by the attorneys at General Legal and released under CC0 1.0. Free for anyone to use, modify, and distribute for any purpose, without attribution.

These templates are provided in LLM-optimized markdown and original .docx formats. Highlighted text (marked with <mark> tags in the markdown files) indicates fields that should be customized for your use.

Attribution

These templates include a General Legal credit footnote. The templates are released under CC0 1.0 Universal, so retaining that footnote isn't a legal requirement, but we ask that you keep it in place when reproducing or adapting these documents.

Templates

TemplateDescription
Advisor AgreementAdvisor agreement covering advisory services, equity compensation, IP assignment, and confidentiality
Business Associate Agreement (BAA)HIPAA-required contract between covered entities and business associates that handle protected health information
Cookie NoticeDisclosure of cookie and tracking technology practices for websites and apps
Data Processing Addendum (U.S.)Processor-friendly DPA for U.S. personal data with security measures and state-privacy-law compliance
Data Processing Addendum (Global)Processor-friendly DPA for U.S., EU/EEA, UK, and Switzerland with GDPR-aligned obligations
Employee Offer Letter (California Exempt)Offer letter for California exempt hires covering compensation, exempt-employee policies, and arbitration
Master Services Agreement (MSA)Tech-oriented MSA for companies deploying software and providing platform or integration services
Mutual Non-Disclosure AgreementTwo-way confidentiality agreement for parties sharing sensitive information while exploring a business relationship
One-Way Non-Disclosure AgreementOne-way confidentiality agreement protecting a single disclosing party's information
Privacy Policy (U.S. Only)Privacy policy covering U.S. federal and state privacy laws including CCPA/CPRA
Privacy Policy (GDPR Enhanced)Multi-jurisdictional privacy policy covering both U.S. state laws and GDPR/UK GDPR
Terms of UseWebsite terms of use covering access rights, IP protections, liability limits, and dispute resolution

Repository Structure

legal-templates/
  templates/                  # One directory per template
    advisor-agreement/
    business-associate-agreement/
      README.md               # Template overview, use cases, and key provisions
      template.md             # Full template text in LLM-optimized markdown
    cookie-notice/
    dpa-global/
    dpa-us/
    employee-offer-letter/
    master-services-agreement/
    mutual-nda/
    one-way-nda/
    privacy-policy-gdpr/
    privacy-policy-us/
    terms-of-use/
  docx-originals/             # Original .docx source files
  scripts/
    fetch_templates.py        # Downloads .docx files from general.legal/resources/library
    convert_docx.py           # Converts .docx originals to markdown
  LICENSE                     # CC0 1.0 Universal

Significant stargazers

(top 24 of 38)

Richard Palethorpe

150 followers · starred Aug 2026

Fernando Rojo

3,240 followers · starred Aug 2026

Hyeseong Kim

884 followers · starred Aug 2026

Yu Ishikawa

298 followers · starred Aug 2026