Skip to content
L Legalize.pe

Search

Find a law, jump to a section, or run a command.

Pre-1.0 · Community-maintained

Peruvian law,
as a git repo.

1,627 legal norms as Markdown files. Every reform is a commit with the real publication date. Clone it, grep it, diff it, build on it.

National norms

1,622

Laws, DLeg, DS

Const. reforms

31

1995 → 2024

Regional norms

5

Cusco pioneer

Jurisdictions

1/27

Cusco covered

What you get

Legal infrastructure that's actually accessible.

Every reform is a commit

The 1993 Constitution has 32 commits over the same file: one for the original text and one per amendment, dated correctly.

Plain markdown, plain YAML

No proprietary format. Every norm is a single .md file with eight standard frontmatter fields you can parse in any language.

For agents and humans

Use it as LLM context, as research input, as a CLI argument, or browse it here. Public domain (DLeg 822 Art. 9).

Federation

Part of legalize.dev

Same spec, same commit conventions, same git-native workflow as Spain, Portugal, Italy, Korea, and 30+ other countries. Community-maintained by Crafter Research.

# Clone, grep, diff. That's the API.

$ git clone https://github.com/crafter-research/legalize-pe

$ grep -A 20 "Artículo 191" pe/CON-1993.md

$ git log --oneline pe/CON-1993.md

8792882 2024-12-11 [reform] art. 89

6d8e91d 2024-12-11 [reform] arts. 7, 23

2d46dcc 2024-10-29 [reform] art. 49

...

6d06441 1993-12-30 [bootstrap]