Skip to content
benchline
ToolsMCPAbout
benchline

82 tools for people who ship the web. 70 run entirely in your browser. No account, no upload.

All tools operational

Tools

All toolsllms.txt generatorAI SEO checkerOG image generatorJWT decoder

Categories

All categoriesDeveloperData & FormatsSEO & AI SearchImage & MediaPDF & Documents

For agents

MCP setupAI accessllms.txtllms-full.txtOpenAPI

Benchline

AboutFounderPrivacyGitHubSitemap

benchline

© 2026 Benchline. Built by Waseem Anjum. MIT licensed.Built for the browser, callable over MCP.
  1. Tools
  2. Data & Formats
  3. JSON
  4. JSON Schema

JSON Schema

Infer a schema from JSON, validate against one, and export TypeScript and Zod.

Runs in your browser
Use via MCP

MCP

Use this tool from your agent

Add the server once, then ask for the job in plain words. No key.

Setup guideAll MCP tools

Tool name

validate_json_schema

Endpoint

https://benchline.fabwaseem.com/mcp
Auth
None
Rate
60 / min
  1. 1Add the server config for your client.
  2. 2Ask your agent to run validate_json_schema, or describe the job.
  3. 3Or send the tools/call request yourself.
~/.cursor/mcp.jsonjson
1{
2 "mcpServers": {
3 "benchline": {
4 "url": "https://benchline.fabwaseem.com/mcp"
5 }
6 }
7}
tools/call requestjson
1{
2 "jsonrpc": "2.0",
3 "id": 1,
4 "method": "tools/call",
5 "params": {
6 "name": "validate_json_schema",
7 "arguments": {
8 "json": "{}"
9 }
10 }
11}

Next

Related tools

  • JSON formatterPretty-print, minify, and validate JSON, with the exact line and column when it fails.JSONMCPNew
  • JSON YAML converterConvert JSON, YAML, TOML, and XML in the browser, and keep the line number when a document fails.JSONMCPNew
  • CSV JSON converterConvert CSV to JSON and JSON back to CSV, with a delimiter and a header row you choose.TablesMCPNew
  • SQL formatterFormat SQL for PostgreSQL, MySQL, BigQuery, Snowflake, and other dialects.SQLMCPNew

Guide

How it works

Free JSON Schema generator and validator. Infer a schema from a sample, check a document against a schema you paste, and export TypeScript types and a Zod object. Errors include the path that failed.
  1. 1Paste JSONA sample is enough to infer a schema, TypeScript, and Zod.
  2. 2Or paste a schemaSwitch to Validate and add a schema. Each error names a path such as /year.
  3. 3Copy the exportThe TypeScript type and the Zod object can be copied on their own.

FAQ

Questions people ask

InferValidateMore

JSON

JSON documentjson
1
2
3
4
5
{
"name": "Ada Lovelace",
"year": 1843,
"tags": ["math", "code"]
}

Schema

JSON Schemajson
1{
2 "type": "object",
3 "properties": {
4 "name": {
5 "type": "string"
6 },
7 "year": {
8 "type": "integer"
9 },
10 "tags": {
11 "type": "array",
12 "items": {
13 "type": "string"
14 }
15 }
16 },
17 "required": [
18 "name",
19 "year",
20 "tags"
21 ],
22 "additionalProperties": false
23}
TypeScripttypescript
1export type Root = {
2 name: string;
3 year: number;
4 tags: string[];
5};
6
Zodtypescript
1import * as z from "zod";
2
3export const RootSchema = z.object({
4 name: z.string(),
5 year: z.number().int(),
6 tags: z.array(z.string()),
7});
8
9export type Root = z.infer<typeof RootSchema>;
10
Valid