OpenPolicy is an open-source, TypeScript-first framework that lets developers define privacy policies, terms of service, and cookie notices in code — then generate them as HTML, PDF, or Markdown at build time.
Policies live in your repo, version-controlled in git, always in sync with your app, and renderable as native React, Vue, or Svelte components.
No more copying lawyer templates or paying for hosted widgets. Just import and ship.


