---
title: "The Rego Playground"
authors: ["ashumania"]
date: 2019-03-08
slug: the-rego-playground-977566855cec
---

OPA gives you a high-level declarative language for authoring policies as code, called Rego. Today we're excited to launch [The Rego Playground](https://play.openpolicyagent.org), a new interactive tool for writing, testing, and sharing Rego policies.

The initial version of The Rego Playground has support for:

- **Syntax highlighting** that makes policies easier to read and write.
- **Interactive evaluation** of expressions, queries, rules, and packages.
- **Input dialog** to specify complex JSON inputs for your policy.
- **Sharing** so that you can link to policies online.

We hope the playground makes it easy for people to try out new policies and learn the language. We plan to keep improving the playground and eventually embed it into the OPA documentation. Check out the video below for a demo of the playground and its features.

[Watch: Rego Playground Demo](https://www.youtube.com/watch?v=nzcnf83NvxE)
