Rust code Input
JSON Schema Output
Select which struct should be treated as the JSON Schema root.
Parsing runs entirely in your browser. Your source never leaves the page.
Paste your Rust structs to produce JSON Schema instantly.
Supports Option<T>, Vec<T>, HashMap/BTreeMap, serde rename attributes, and nested structs.