Loading…
Loading…
Format, validate, and minify JSON in your browser. Paste it, upload a file, or load it from a URL. Errors show the exact line and column.
Output appears here.
Paste it into the JSON input pane, drop a .json file on it, click Upload to pick a file, or click URL to fetch it from an endpoint. Click Sample to try the tool with an example payload.
With Auto update on, the output refreshes as you type. Turn it off for very large documents and click Format / Validate or Minify when you're ready. The Indent setting switches between 2 spaces, 4 spaces, and tabs.
If the JSON is invalid, the output pane shows the parser's error with its line and column. Click “jump to it” to put the cursor at that spot in the input.
Copy the output to your clipboard, download it as a .json file, or click Expand to read a large document full-screen. Press Esc to close the expanded view.
No. Parsing, formatting, and minifying all run in JavaScript inside your browser tab. Pasted text and uploaded files never leave your machine, so the tool is safe for API responses that contain tokens or customer data. Loading from a URL is the one exception: your browser requests that URL directly, and nothing goes through our servers.
Formatting (beautifying) adds line breaks and indentation so a human can read the structure. Minifying removes all insignificant whitespace, which gives the smallest payload for sending over the network or storing in a config value. Both keep the data exactly the same.
JSON is stricter than JavaScript object syntax. The most common causes are trailing commas, single-quoted strings, unquoted keys, comments, and values such as undefined, NaN, or Infinity. None of these are allowed in JSON (RFC 8259). LLM output often contains them too, so validating model responses before you parse them in code is a good habit.
Browsers only let a page read a response from another site if that server sends CORS headers allowing it. Many public APIs and raw file hosts do, but plenty don't. If a URL fails, open it in a new tab, save the response as a file, and upload it instead.
Uploads are capped at 10 MB. Past a few thousand lines, the output switches from syntax highlighting to plain text so the page stays responsive. For multi-megabyte documents, turn off Auto update so the tool only re-parses when you click a button.
C# / .NET
Paste JSON and get C# model classes or records, ready for System.Text.Json or Newtonsoft.Json. Nested objects, arrays, nullable types, dates, and GUIDs are inferred for you.
SQL
Format and beautify SQL queries for SQL Server (T-SQL), PostgreSQL, MySQL, Oracle, and more. Set the indentation, keyword case, and layout, and get the exact line of any syntax error.
Images
Preview SVG code live and safely, check its size and viewBox, fix common errors, and export it as PNG, a data URI, a CSS background, or an <img> tag.
Text
Compare two texts or code files side by side, with changed words highlighted. Ignore whitespace or case, and export a unified .diff patch that git apply accepts.
Images
Create QR codes for links, Wi-Fi logins, email, phone, and SMS. Set error correction and colors, then download a crisp SVG or PNG. Static codes, no tracking, no sign-up.