Skip to content

Playground ​

Write LIVR rules and input data and see the result immediately. Rules and data use the JSON5 syntax: unquoted keys, single quotes and trailing commas are allowed. The URL updates as you type, so you can share it.

Besides the standard rules, the playground has the rules of livr-extra-rules: ipv4, boolean, is, uuid, credit_card, mongo_id, base64, md5, list_length, list_items_unique, required_if and an extended iso_date with min, max and format options. Other implementations may not have these rules.

livr@2.10.2 + livr-extra-rules@1.6.0 (JavaScript)
rules
input
Validoutput
{
  "name": "John",
  "email": "john@mail.com",
  "gender": "male",
  "phone": "+22221212",
  "password": "mypassword1",
  "password2": "mypassword1"
}