JSON to Code

About JSON to Code

What this tool does, who writes the code it gives you, and why your JSON never leaves your browser.

JSON to Code turns a JSON sample into the types for your language, with the code that reads and writes the JSON. There is no account, no upload and no limit.

The one rule

Your JSON stays on your machine. The site is a set of static files. When you paste a sample, the text goes into the memory of your browser tab and nowhere else. The generator runs in a worker, in the same tab.

A JSON Schema may hold a $ref that names another site. We do not follow it. The tool reads a reference inside your own schema and nothing else, so no part of your data can leave the page by that route.

Turn off the network and the tool still works.

Who writes the code

The generator is quicktype, an open source project under the Apache License 2.0. We did not write it, and we do not say we did. It is one of the best pieces of work in this field, and it would be foolish to make a worse one to say it was ours.

What is ours: the page, the list of languages, the words on every option, the written pages, and the checks that quicktype does not make, such as the warning on a number too big for a double.

Who makes it

Shipfy. We also make the JSON Viewer, which opens a file of 100 MB in your browser and never uploads it.

How it is paid for

Advertisements on the written pages. The tool itself stays clear: no advertisement covers the sample or the code. We do not sell data, because we do not have any.

Write to us

hello@shipfy.in. A fault report, a language you want, or a wrong word on a page: all of it is welcome.