PrivTab

JSON Schema 生成器

由 JSON 生成 JSON Schema

在浏览器中运行 · 无需上传

此工具及本页说明目前仍为英文。功能完全相同:一切都在你的浏览器中运行。

Generate JSON Schema

  • 任何内容都不会离开你的设备
  • 服务器不限制文件大小
  • 无需注册,无水印
  • 免费

How to generate a JSON Schema

  1. Paste your JSON, or try the example.
  2. Choose required fields, formats and whether extra properties are allowed.
  3. Copy or download the schema.

What you get

  • A schema for draft 2020-12 with types for every value.
  • "required" lists the fields present in every item.
  • Formats (date-time, date, email, uri, uuid) when every example value matches.
  • Optionally additionalProperties: false, to reject unknown fields.

常见问题

Is my JSON uploaded?

No. Everything happens in your browser, and the page is blocked from uploading anything.