# Validate and preview

<PageBadges />

Validate a schema with `form0 validate <schema>`. Use `form0 preview <schema>` to print its nested
field structure without starting the browser preview.

Inside the interactive shell, load a schema and use `validate` or `preview` without repeating the
file path.
