Youtilities

Popular

All tools

JSON tools

Format, inspect, and convert JSON without uploading it.

What is JSON?

JSON is a plain-text way to write data as names and values, lists and nested objects. Web APIs send it, apps store their settings in it, and many services export data as JSON. It is easy for programs to read but hard for people when it arrives on a single long line, which is where these tools help.

Which JSON tool do I need?

To make JSON readable or find a syntax error, use the JSON Formatter. To explore a large response and copy the path to a value, use the JSON Viewer. To see what changed between two versions, use JSON Diff. To open data in Excel or Google Sheets, use JSON to CSV, and CSV to JSON goes the other way. To write types for your code, the JSON to TypeScript, Go, Kotlin, Java, Python, C#, Dart, Swift and Rust tools generate classes from a sample.

Why is my JSON invalid?

The usual causes are a comma after the last item, single quotes instead of double quotes, keys without quotes, and comments. All of these are fine in JavaScript but not allowed in JSON. Each tool's status line shows the line and column where reading stopped, so you can jump straight to the problem.

Is my JSON uploaded?

No. Everything runs in your browser. The text you paste is kept in this browser so the formatter, viewer, diff, CSV and code tools all open with it, which saves pasting it again. Clear it with the bin button when you are done.