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
Free online developer tools
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.
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.
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 toolJSONPretty-print JSON with 2 or 4 space indentation, check the syntax and copy or download the result.
Open toolJSONCheck whether a JSON document is valid and see exactly where the parser stopped.
Open toolJSONStrip whitespace from JSON and see how many bytes the minified output saves.
Open toolJSONCompare two documents and list every added, removed and changed value with its path.
Open toolJSONTurn raw text into a JSON string value, or decode backslashes and \u escapes back into readable text.
Open toolJSONTurn an array of JSON objects into a CSV file you can open in a spreadsheet.
Open toolJSONGenerate TypeScript interfaces from a JSON sample, with optional properties and unions inferred from every array element.
Open toolJSONGenerate Go structs from a JSON sample, with json tags, int64 or float64 widths, pointers for null fields and omitempty for optional keys.
Open toolJSONConvert 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 toolJSONGenerate Java classes from JSON: primitives for required values, boxed types for optional and nullable ones, @JsonProperty for renamed keys and nested static classes.
Open toolJSONConvert JSON to YAML or YAML to JSON in both directions, with multi-document support, error line numbers and YAML 1.2 typing rules.
Open toolJSONGenerate 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 toolJSONGenerate C# classes from JSON with nullable annotations taken from every record, initialisers that avoid CS8618 and [JsonPropertyName] for each wire key.
Open toolJSONTurn a JSON sample into a draft 2020-12 schema: required keys, nullable unions and nested $defs.
Open toolShort explanations of what JSON actually does, backed by output measured in this project rather than copied from a specification.
Errors
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
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
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
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
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
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
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 nowEvery 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.
Each tool does a single, well-defined task with the options that task actually needs — no dashboards, no feature bloat.
No account, no extension, no command line. Open the page, paste your data, get a result.
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.