lagen.nu

About lagen.nu

Lagen.nu is a non-profit, volunteer-run site that publishes Swedish legal information — and, increasingly, the European and international law that Swedish law refers to. Everything on it is free to read and free to reuse. This page is a summary in English; the rest of the site is in Swedish.

The point of the site is not the texts themselves, which are public documents available elsewhere. It is the links between them: 250 000 documents and 13.5 million resolved references, so that a provision can show you the case law that applies it, the preparatory works that explain it and the EU article it implements.

What is here

How the linking works

References in running text are read by a grammar rather than by pattern matching, which means a reference resolves to the exact provision rather than to the document — down to the subsection or the numbered point. The same grammar runs over every source, which is why a court decision, a preparatory work and an agency regulation can all point at precisely the same section.

The result is that beside any provision you are reading, a context panel shows the case law and preparatory works that cite that provision, an extract from the relevant passage of the bill that introduced it, the EU directive article it transposes, and its amendment history.

Two of those connections are not written down anywhere in structured form and had to be read out of the preparatory works themselves, in part with the help of a language model:

Both are shown together with the source they were read from, and both can be wrong.

Reuse

Swedish statutory text and the decisions of public authorities are not protected by copyright. Case law summaries may be freely reproduced with attribution to the National Courts Administration (Domstolsverket). We actively encourage reuse, and there are four ways in:

A document's canonical URL is its identity everywhere: link target, API key, line id in the bulk files and id in the search index.

The code

Running a site like this on a volunteer budget means automating nearly everything — downloading, parsing, structuring and cross-linking the material. The code is Python, released as open source under a BSD-style licence, and is at GitHub. Anyone wanting to build something similar, for Swedish law or for another body of documents, is welcome to it.

Caveats

The material is processed automatically from what public bodies publish, and both the sources and our processing can introduce errors. For anything that matters, check against the official publication. See ansvarsfriskrivning (in Swedish) for the detail.

Contact

Staffan Malmgren, staffan.malmgren@gmail.com. Please note that we cannot answer substantive legal questions.