Open data · CC BY 4.0
Website law, traced to the word
legalgraph is an open knowledge graph of the laws that tell a website what to show and do: the imprint, the privacy policy, terms, cookie banners. Every statement in it links to the words of the law it comes from.
Why it exists
“Where did you get that from?”
Articles and tools about website compliance are full of claims: your imprint needs a VAT number, analytics needs consent, a subscription needs a cancel button. Most of them cannot be checked. The source is paraphrased, out of date, or not given at all.
We wanted every claim to come with its evidence: the paragraph, its exact words, an English translation, and who reviewed it. So we built the evidence first, as open data anyone can use, cite and correct.
How it works
From the official text to an answer, without losing the thread
- 1The law, as publishedWe download each law from its official portal and keep the file unchanged, with its fingerprint and date. A scheduled check downloads it again and fails if the portal's text has changed.
- 2Read into dataWe mark up the official text itself: which paragraph regulates what, which information it requires, which EU rule it implements. Stripping our marks gives back the original, byte for byte.
- 3Turned into rulesRules say what a provision means for a business, and when it applies. Each rule names the provisions it comes from, so its reading can be checked and disputed.
- 4Answered for youThe checklist turns your answers (where you are established, what your website does) into the rules that apply, each with the law behind it.
The details, with the commands to check any of it yourself, are in the method.
An example
One claim, followed to its source
“A German business website must show its VAT identification number, if it has one.” Here is the trail.
The rule
Impressum: VAT identification number
Applies when the business is established in Germany, runs a business website and has a VAT ID.
The words of the law
6. in Fällen, in denen sie eine Umsatzsteueridentifikationsnummer nach § 27a Absatz 1 Satz 1, 2 oder 3 des Umsatzsteuergesetzes oder eine Wirtschafts-Identifikationsnummer nach § 139c Absatz 1 der Abgabenordnung besitzen, die Angabe dieser Nummer,
6. where they hold a VAT identification number under § 27a(1), first, second or third sentence, of the Value Added Tax Act or an economic identification number under § 139c(1) of the Fiscal Code, that number, machine translation
The official source
Digitale-Dienste-Gesetz, as published on gesetze-im-internet.de
The downloaded file, its SHA-256, and the marked-up copy that proves the quote.
And beyond Germany
The same duty comes from Article 5 of the e-Commerce Directive, so a business in Austria or France gets it too, with its own country's law named.
What's inside
Europe first, and growing
See what each country's law asks a website to show, side by side.
Principles
Built to be checked, not trusted
Law text first
Every statement traces to the exact words that justify it, as the official portal publishes them.
Reproducible
Every source records where it came from, when, and its hash. Anyone can fetch it again and compare.
Interpretation is visible
Where we read the law, the reading is an annotation anyone can see and dispute, never hidden in prose.
Honest English
Official translations are marked as such. Machine translations are labelled, stay drafts until a person reviews them, and go stale when the law changes.
Researchers, not lawyers. legalgraph publishes structured research, not legal advice. Rules are drafts until a lawyer reviews them, and every page says so.
Who it's for
Use it, cite it, correct it
Open, and growing
A graph anyone can extend
The graph grows with its contributors. New data follows the graph's shared ontology, or adds the terms it needs, and arrives as a pull request on GitHub, where anyone can also raise an issue. Contributors who make substantial, careful contributions can join the maintainers who review and accept changes.
The goal: enough of the law in one open place that a business owner can see which rules matter most for their business. Not legal advice, but awareness, because the law is public and knowing what it asks should be too.
An AI agent that reads the graph can tell a business which rules apply, quote the law behind each and link to it, instead of answering from memory: a first round of research that a person can check.
Get the data →See what applies to your website
A few questions, then the rules with the law behind each. Nothing leaves your browser.