What Changed in This Law?
Compare two versions of a law or regulation section by section, with changed numbers and deadlines.
How it works
Paste (or link) the old and new versions of a law, regulation, terms of service or policy. The text is split at §, Art. and Section headings, sections are aligned by their number, and every added, removed or modified section is shown with a word-level diff and the numbers, durations and obligation words (must/may/muss/kann…) that changed.
- Sections start at lines beginning with §, Art./Artikel/Article, Section/Sec. or Paragraph followed by a number; text before the first heading is the preamble.
- Sections are aligned by their normalised number (LCS over section ids), so renumbered sections show as removed + added.
- Inside a changed section a word-level LCS diff is computed; numbers, money amounts, percentages, durations and obligation words (must/shall/may, muss/kann/soll/darf…) present in only one version are listed.
- Whitespace-only differences are ignored.
Not legal advice. This is an automated, rule-based text analysis that can miss or misread clauses; it never claims completeness. For decisions with legal or financial consequences, ask a qualified professional (e.g. a lawyer, tax adviser or consumer advice centre). Always check the official consolidated text and the amending act for transitional provisions.
Use this tool in an app
These free programs for your browser have this tool built in, next to everything else the task needs.
-
Paperwell Document studio: PDFs, OCR, redaction, forms & contract reading
Your paperwork in one dossier: PDF tools, OCR, redaction, forms and contract reading.
Related tools
- Before You Sign – Spot risky contract clauses (renewal, notice, liability, non-compete…) before you sign.
- Website Change Explainer – Compare two versions of a page and see which changes matter: prices, terms, dates, links.
- Deadline Decoder – Find every deadline, required action and consequence in a letter or notice.
How to use What Changed in This Law?
Compare an old and a new version of a law, regulation or terms of service section by section and spot changed deadlines, amounts and obligation words.
What it is for
When a law, regulation, company policy or set of terms of service is amended, you usually get the new consolidated text and maybe a dense amending act. Finding out what actually changed means reading both versions side by side and hoping you notice that "must" became "may" or that 14 days became 30. This tool does that comparison for you.
Paste both versions, or give URLs to official sources such as gesetze-im-internet.de, EUR-Lex or legislation.gov.uk. The text is split at headings beginning with §, Art./Artikel/Article, Section/Sec. or Paragraph, sections are matched by their number, and every added, removed or modified section is listed. For modified sections you get a word-level diff, plus a separate list of the numbers, durations and obligation words that appear in only one version.
It only compares the two texts you provide. It doesn't know about transitional provisions, other acts that were amended at the same time, or how courts read the change. It is not legal advice.
Worked example
The "Notice period shortened" example compares a three-section consumer act with a four-section new version (citation "Example amendment act", effective 2026-12-01).
The result: 2 section changes: 1 modified, 1 added, 0 removed; changed numbers/deadlines/obligations in § 2.
- § 2 Notice, modified, similarity 0.471. The word diff reads: The customer [-must-] {+may+} give notice of termination at [-least 3 months before the end-] {+any time with a notice period+} of [-the term.-] {+1 month.+}
- Numbers: 3 removed, 1 added
- Durations: "3 months" removed, "1 month" added
- Obligation words: "must" removed, "may" added
- § 4 Online cancellation, added: "Providers must offer a cancellation button on their website."
§ 1 and § 3 are unchanged, so they don't appear. Within a few seconds you can see the two practical consequences: customers can now cancel any time with one month's notice, and providers have a new duty.
The German example shows the same logic: in § 5 Frist, innerhalb von [-14-] {+30+} Tagen is reported as durations "14 days" → "30 days".
How to read the result
- counts summarises added, removed, modified and heading-only changes.
- Each change has a kind, the section number and heading, the full before and after text and the wordDiff. In the diff,
[-…-]means deleted and{+…+}means inserted. - similarity (0–1) tells you how much of the section survived. Low values mean a rewrite, high values a small edit.
- numbersChanged, durationsChanged and modalChanged are the fastest way to spot substantive changes. A switch from must to may (or muss to kann) often matters more than any number.
Tips and common mistakes
- Paste clean section text with each heading on its own line, starting with § or Article. Text above the first heading is treated as a preamble.
- If the new version renumbers sections, the tool shows the old ones as removed and the new ones as added, because sections are aligned by number. Compare those pairs by eye.
- Whitespace-only changes are ignored, but punctuation and typo fixes still show up as modifications. A very high similarity usually points to an editorial change.
- Use the official consolidated texts for both dates, not a news article quoting the law.
- Always read the amending act's transitional rules. A new deadline may only apply to contracts signed after a certain date.
FAQ
Does it work with terms of service or privacy policies?
Yes, as long as they use numbered headings like "Section 3" or "§ 3". Policies without numbered sections end up as one big preamble, so the comparison will be much coarser.
Which languages are supported?
The section headings and obligation words are recognised in English and German (must/shall/may, muss/kann/soll/darf). Numbers and the word diff work in any language.
Why is a section shown as removed and added instead of modified?
Its number changed between the versions. The tool assumes the same number means the same provision, so a renumbered paragraph looks like a new one.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://whatchangedinthislaw.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://whatchangedinthislaw.usefulweb.site/mcp· tool namewhat_changed_in_this_law
Example request
curl -s -X POST https://whatchangedinthislaw.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{"oldText":"§ 1 Scope\nThis act applies to consumer contracts.\n§ 2 Notice\nThe customer must give notice of termination at least 3 months before the end of the term.\n§ 3 Fees\nA processing fee of 25 EUR may be charged.","newText":"§ 1 Scope\nThis act applies to consumer contracts.\n§ 2 Notice\nThe customer may give notice of termination at any time with a notice period of 1 month.\n§ 3 Fees\nA processing fee of 25 EUR may be charged.\n§ 4 Online cancellation\nProviders must offer a cancellation button on their website.","citation":"Example amendment act","effectiveDate":"2026-12-01"}'