LegalOSS82.1ktracked
Legal AI & NLP · Benchmarks & Datasets · Curated Lists

awesome-legal-data

openlegaldata/awesome-legal-data

Legal text processing datasets

Awesome Legal Data

Awesome

A curated list of resources dedicated to legal data. The collection contains data sets, corpora, benchmarks, tools and other links related to the legal domain — grouped by region/country. Most resources are openly available.

Legend: (Open) = publicly accessible (may require free key); (Commercial) = paid/subscription; (API) = offers programmatic access/bulk data.

Global & Multi‑Jurisdictional

  • WorldLII — Federated gateway to free legal information worldwide (legislation, case law, treaties) across national LIIs. (Open)
  • vLex — Global legal research platform covering 100+ jurisdictions; case law, legislation, journals, and analytics. (Commercial)
  • Westlaw — Thomson Reuters’ flagship global legal research service (cases, statutes, citators, secondary sources). (Commercial)
  • LexisNexis / Lexis+ — Global legal content (case law, statutes, Practical Guidance, news). (Commercial)
  • HeinOnline — Extensive law journal & historical legislative archives; treaties; session laws. (Commercial)
  • WIPO Lex — Global database of IP laws/treaties and WIPO Lex-Judgments for selected IP case law. (Open)
  • SSRN (Legal Scholarship Network) — Open repository of legal scholarship/preprints. (Open)
  • OpenAlex — Scholarly metadata/abstracts (including law journals) with an API; useful for legal literature mining. (Open, API)
  • Pile-of-Law — 256GB open corpus of English legal/administrative text (opinions, regulations, contracts) for legal NLP. (Open)
  • MultiLegalPile — Multilingual/multijurisdiction legal text corpus for LLM training (24 languages). (Open)
  • LexGLUE — Benchmark suite for legal language understanding (multi-task classification across legal domains). (Open)
  • LEDGAR — Contract clause classification dataset (common clause types from EDGAR filings). (Open)
  • ContractNLI — Natural-language inference dataset for contracts (entailment/contradiction/neutral). (Open)
  • CUAD — Contract Understanding Atticus Dataset with expert-annotated clauses across 13 categories. (Open)
  • Massive Legal Embedding Benchmark (MLEB) - A multidomain open-source benchmark for legal information retrieval. (Open)
  • The Chancery Lane Project (TCLP) — Open library of climate-aligned contract clauses across multiple jurisdictions (Open)

Europe & European Union

(Tip: The EU N‑Lex portal links to the official law databases of all EU/EEA countries.)

United Kingdom

  • legislation.gov.uk — Official consolidated UK legislation (Acts, SIs, devolved). API & bulk XML. (Open, API)
  • Find Case Law (The National Archives) — Free database of court & tribunal judgments (England & Wales). (Open)
  • BAILII — British & Irish Legal Information Institute (UK/IE case law & legislation). (Open)
  • ICLR — Official Law Reports and case analysis. (Commercial)
  • Westlaw UK — UK cases, legislation, journals, and analytics. (Commercial)
  • Lexis+ UK — UK case law, legislation, commentary (Halsbury’s). (Commercial)

Germany

France

  • Légifrance — Official French legislation (codes, laws) and selected jurisprudence. (Open)
  • Judilibre (Cour de cassation), Judilibre API — Open data/API for Court of Cassation decisions. (Open, API)
  • Doctrine.fr — Aggregated French case law with analytics. (Commercial)
  • Dalloz — Codes, jurisprudence, and commentary (Encyclopédie Dalloz). (Commercial)

Italy

Spain

Netherlands

Finland

  • Finlex — Finnish legislation, case law, government bills; machine-readable access. (Open)

Poland

Switzerland

Austria

  • RIS — Federal Legal Information System (legislation, case law). (Open)

Czech

Norway


Turkey

North America

United States

  • GovInfo — U.S. Government Publishing Office—authenticated federal documents (USC, CFR, Federal Register) + bulk data/APIs. (Open, API)
  • U.S. Code (XML) — Bulk downloads of the United States Code in XML. (Open)
  • eCFR — Up-to-date Code of Federal Regulations; API via Federal Register. (Open, API)
  • Federal Register — Daily federal rules/notices; full API. (Open, API)
  • case.law (Caselaw Access Project) — ~6.7M U.S. opinions (1658–2018); bulk & API. (Open, API)
  • CourtListener — Millions of opinions + dockets via RECAP; robust API/bulk. (Open, API)
  • SettleSignal — Verified U.S. class-action & refund settlement catalog (claim deadlines, proof rules, status, official claim links) as open JSON; public fields free with attribution. (Open, API)
  • Free Law Project.
  • PACER — Federal court dockets & filings (fees apply). (Commercial/Gov)
  • Oyez — SCOTUS audio, transcripts, and case summaries (education-oriented). (Open)
  • Supreme Court Database (SCDB) — Coded metadata for every SCOTUS decision (1791–). (Open)
  • CaseHOLD (AI2) — Multiple-choice QA over U.S. holdings (legal reasoning benchmark). (Open)
  • EDGAR — SEC corporate filings (contracts, 10-Ks), bulk + API. (Open, API)
  • Bloomberg Law — Dockets, analytics, secondary sources. (Commercial)
  • Fastcase — Case law & statutes with citator; often via bar membership. (Commercial)
  • Westlaw / Lexis+Lexis+ — Comprehensive U.S. primary/secondary law & citators (KeyCite/Shepard’s). (Commercial)
  • H2O Open Case Book
  • AI Laws by State — 50-state tracker for U.S. artificial intelligence legislation, sourced from primary state legislature feeds. Covers bill status, effective dates, penalty structures, and topic categorization (deepfakes, hiring, healthcare AI, disclosure, bias audits). (Open)
  • Advottic Legal Data — US statute of limitations across 51 jurisdictions (50 states + DC) and 9 claim categories (personal injury, contract, fraud, defamation, medical malpractice, wrongful death, debt collection); plus 5 lawyer-reviewed legal templates with tokenized body text. JSON datasets, CC BY 4.0. Live JSON endpoints with permissive CORS. (Open, API)
  • Lien Deadlines — US mechanics/construction lien deadlines for CA, TX & FL by claimant role (direct contractor / subcontractor), with verbatim statute citations (CA Civil Code §8000 et seq., TX Property Code ch. 53, FL Statutes ch. 713) and conditional rules (e.g. Notice-of-Completion reductions). JSON + CSV, CC BY 4.0. Live reference + calculator. (Open)
  • US State Name-Change Requirements — US driver's-license / state-ID name-change requirements after marriage across 46 jurisdictions: issuing agency, fee, whether an in-person visit is required, the legal deadline (or a note where none is published), the official state source URL, and last-verified date. Each row links to its official government source. CSV + JSON, CC BY 4.0. Live reference. (Open)

Canada

Mexico


Asia

India

  • India Code — Central repository of Central/State Acts and subordinate legislation. (Open)
  • Supreme Court of India — Judgments — Official search/portal for SC judgments. (Open)
  • eCourts Services / NJDGNJDG — Case status & national judicial data grid (stats/open data). (Open)
  • Indian Kanoon — Aggregated judgments (SC/HC/tribunals) + statutes; full-text search. (Open)
  • SCC Online — Leading commercial database (EBC): SC/HC/tribunals + commentary. (Commercial)
  • Manupatra — Comprehensive commercial Indian legal research. (Commercial)
  • OpenNyAI Datasets — Indian legal NLP datasets (judgment summarization, QA, translation). (Open)
  • ILDC (Indian Legal Documents Corpus) — Public datasets for Indian judgment analysis/summarization (various releases). (Open)
  • eCourtsIndia.com — Complete Case details, Orders & judgments (SC/HC/District Courts/tribunals), Research on Lawyers & litigants; full-text search. (Open)

China

Japan

South Korea

Russia


Brazil

Australia


Other datasets

Tools

Other links

Contribute

Have a dataset or platform to add (or found a broken link)? Open a PR or file an issue in your repo.

License

CC0