JSON & Data
Format, check, query and compare JSON, and write code types from a JSON sample.
All tools in JSON & Data
20 tools
JSON Formatter
Indent JSON, sort its keys or squeeze it onto one line.
JSON Validator
Check that JSON is valid and see the line and column of each error.
JSON Viewer
Browse JSON as a collapsible tree with the path of each value.
JSON Minifier
Remove whitespace and line breaks to get the smallest valid JSON.
JSON Editor
Edit JSON as a tree or as text, with errors shown as you type.
JSON Compare
Show added, removed and changed keys between two JSON documents.
JSONPath Tester
Run JSONPath queries such as $.items[*].id on your data.
JSON Schema Validator
Check JSON data against a JSON Schema and list each failed rule.
JSON Schema Generator
Make a JSON Schema from an example document.
JSON to TypeScript
Write TypeScript interfaces that match a JSON sample.
JSON Escape / Unescape
Escape JSON for use inside a string, or turn an escaped string back into JSON.
JSON Sort Keys
Sort object keys alphabetically at every level.
JSON to SQL
Turn an array of JSON objects into CREATE TABLE and INSERT statements.
JSON to Go Struct
Write Go structs with JSON tags from a JSON sample.
JSON to JavaScript Object
Rewrite JSON as a JavaScript object literal.
JSON to Protobuf
Write a Protocol Buffers message definition from a JSON sample.
JSON Lines Viewer
Read a JSON Lines log one record per row, with filters by key.
GeoJSON Viewer
Draw the points, lines and shapes of a GeoJSON file and list their properties.
.env Compare
Compare two .env files and list missing and changed variables.
Query String Parser
Split a URL query string into keys and values, or build one from JSON.
Related conversions
Conversions of whole files have their own pages, with the programs that do the same on your computer.
Questions about these tools
Which file formats do these tools work with?
Mostly .json, .geojson, .sql, .js, .log and .ts. Each tool page lists the formats it reads and links to the page about each extension.
Are my files uploaded?
No. These tools run in your browser, so your files stay on your device.
Do I need to install a program?
No. Open a tool, add your file or text and save the result.