Developer Tools

JSON Schema Shape Viewer with Worked Examples

See the shape of a JSON document: each key with the type of its value. Enter json and read the result straight away. Example: “{"id":42,"name":"Ana","tags":["admin","editor"],"profile":{"age":31,"verified":true}}” gives “{ / "id": "number", / "name": "string", / "tags": { / "type": "array", / "items": "string" / }, / "profile": { / "age…”. A slash marks a line break.

01

Your inputs

Start with the example, or enter your own values.

Processed in your browser. Your inputs stay on this device.

02

Your result

A little clarity, coming right up.

Make room for the answer.

Enter your values and run the tool. Your result will appear here.

How to use JSON Schema Shape Viewer

Paste JSON to get the same structure with types such as string, number and boolean in place of values.

Examples

  • With the default values
    {
      "id": "number",
      "name": "string",
      "tags": {

Limitations and assumptions

Confirm assumptions, units and applicable local rules before relying on results. Detailed content, accessibility and edge-case review remains ongoing.

Frequently asked questions

What does the JSON Schema Shape Viewer do?

See the shape of a JSON document: each key with the type of its value.

How does the JSON Schema Shape Viewer work?

Paste JSON to get the same structure with types such as string, number and boolean in place of values.

What should I keep in mind when using the JSON Schema Shape Viewer?

Confirm assumptions, units and applicable local rules before relying on results.

Can I see an example of the JSON Schema Shape Viewer?

Example: “{"id":42,"name":"Ana","tags":["admin","editor"],"profile":{"age":31,"verified":true}}” gives “{ / "id": "number", / "name": "string", / "tags": { / "type": "array", / "items": "string" / }, / "profile": { / "age…”. A slash marks a line break.

Is the JSON Schema Shape Viewer free to use?

Yes. It is free, needs no account and runs in your browser.