TOML Schema

Parse TOML locally, then validate the data model with a JSON Schema preset or your own schema. Nothing is uploaded.

Parsing and conversion on this page run in your browser.

Presets are simplified shapes for common tools, not full official schemas.

All templates

Active schema

How to use

Example

[package]
name = "demo-lib"
version = "0.1.0"
edition = "2021"
description = "Sample library manifest"
license = "MIT"

[dependencies]
serde = "1"

[features]
default = ["std"]
std = []

FAQ

Is this the official Cargo schema?

No. Presets cover common required fields for quick checks. Paste a fuller JSON Schema in Custom mode when you need more.

What happens if the schema JSON is invalid?

Validation stops and the page shows a schema parse error. Your TOML is left unchanged.

Related tools