Skip to content
DevTinyTools

Free online developer tools

Free online JSON tools that run in your browser

DevTinyTools is a set of free online JSON tools. Format, validate, minify, convert and compare JSON in your browser — no uploads, no sign-up, no server.

  • No uploads
  • No sign-up
  • Your JSON stays in this tab
  • Works offline once loaded

Tools

15 JSON tools covering the tasks that come up most often: repairing broken LLM output, formatting or validating a payload, shrinking it before shipping, comparing two versions, converting between JSON, CSV and YAML, and generating JSON Schema or typed models in TypeScript, Go, Java, C# and Python. Compare all 15.

JSON · 15 tools
JSON

JSON Repair

Fix broken JSON from an assistant or a config file: fences, comments, single quotes, trailing commas, Python literals and truncated tails — with every change reported.

Open tool
JSON

JSON Formatter & Validator

Pretty-print JSON with 2 or 4 space indentation, check the syntax and copy or download the result.

Open tool
JSON

JSON Validator

Check whether a JSON document is valid and see exactly where the parser stopped.

Open tool
JSON

JSON Minifier

Strip whitespace from JSON and see how many bytes the minified output saves.

Open tool
JSON

JSON Diff Checker

Compare two documents and list every added, removed and changed value with its path.

Open tool
JSON

JSON Escape & Unescape

Turn raw text into a JSON string value, or decode backslashes and \u escapes back into readable text.

Open tool
JSON

JSON to CSV Converter

Turn an array of JSON objects into a CSV file you can open in a spreadsheet.

Open tool
JSON

JSON to TypeScript Generator

Generate TypeScript interfaces from a JSON sample, with optional properties and unions inferred from every array element.

Open tool
JSON

JSON to Go Struct Generator

Generate Go structs from a JSON sample, with json tags, int64 or float64 widths, pointers for null fields and omitempty for optional keys.

Open tool
JSON

CSV to JSON Converter

Convert CSV to JSON with RFC 4180 parsing, delimiter detection, dotted headers unflattened into nested objects and numbers converted only when they round-trip exactly.

Open tool
JSON

JSON to Java POJO Generator

Generate Java classes from JSON: primitives for required values, boxed types for optional and nullable ones, @JsonProperty for renamed keys and nested static classes.

Open tool
JSON

JSON to YAML Converter (and back)

Convert JSON to YAML or YAML to JSON in both directions, with multi-document support, error line numbers and YAML 1.2 typing rules.

Open tool
JSON

JSON to Python Class Generator

Generate Pydantic v2 models or dataclasses from JSON, with snake_case fields, Optional where a key is missing or null, and keyword keys renamed safely.

Open tool
JSON

JSON to C# Class Generator

Generate C# classes from JSON with nullable annotations taken from every record, initialisers that avoid CS8618 and [JsonPropertyName] for each wire key.

Open tool
JSON

JSON to JSON Schema Generator

Turn a JSON sample into a draft 2020-12 schema: required keys, nullable unions and nested $defs.

Open tool

Guides

Short explanations of what JSON actually does, backed by output measured in this project rather than copied from a specification.

View all 20 guides

Errors

JSON parse errors: what each message means

Seven real parser messages with the input that produces them, what the parser is complaining about, and the fix for each — including why some errors arrive with no line number at all.

8 min read

Numbers

Why JSON numbers lose precision above 2^53

Formatting JSON is supposed to be lossless. For large integers, numeric-looking keys and duplicate members it is not. Here is exactly what changes and how to stop it.

9 min read

Payload size

Does minifying JSON beat gzip and brotli?

Measured on a real 216 KB document: minification cuts 43.7% of the raw bytes, but only 10.8% after gzip and 4.9% after brotli. When the effort pays off — and when it does not.

7 min read

Typing

JSON to TypeScript: a sample is not a schema

One response produces a clean interface that compiles. The next omits a field and it crashes. The gap between those two outcomes is decided by how many samples the generator saw — and by four questions it cannot answer alone.

9 min read

Errors

Why LLM JSON output breaks and how to fix it

Code fences, Python booleans, single quotes and truncated tails: the six failures that make model output fail a strict parse, and the mechanical fixes for each.

9 min read

Converting

JSON to YAML: typing traps in YAML 1.2

Every JSON document is valid YAML 1.2, yet converting back and forth quietly turns NO into false, 1.20 into 1.2 and 02134 into an integer in older parsers. Here is what YAML 1.2 fixes and what still needs quotes.

8 min read

Start with the JSON Formatter

Paste a minified API response and get a readable document, or go the other way and compress it before you store it. The same editor also validates what you paste, so a broken document is caught immediately.

Format JSON now
  • Pretty-print with 2 or 4 space indentation
  • Minify and validate from the same editor
  • Parser errors reported with line and column
  • Copy or download the result as a .json file
  • Keyboard shortcut: ⌘/Ctrl + Enter

How these tools are built

Local by default

Every tool runs inside the page using browser APIs. Your input is never sent to a server, stored in a database, or written to a URL.

One job per page

Each tool does a single, well-defined task with the options that task actually needs — no dashboards, no feature bloat.

Nothing to install

No account, no extension, no command line. Open the page, paste your data, get a result.

About DevTinyTools

DevTinyTools is an independent project. The goal is simple: keep a handful of commonly needed developer utilities online, fast, and free of the friction that usually comes with them. Read more about the site and its principles, or check the privacy policy for exactly what the tools do with your data.