Built into Webstarted Toolbox, the all-in-one menu bar app · macOS & Windows

A free JSON formatter and validator: online here, offline in your menu bar.

Paste your JSON below: it is validated as you type, an error comes with its line and column, and one click prettifies or minifies it. It runs in your browser, so nothing is sent to a server.

Try it here

Format your JSON now

Paste your JSON and prettify or minify it. It all happens in your browser: nothing is sent to a server.

Indent

100% local · your JSON never leaves this tab

Want it offline? It lives in your menu bar.

Paste JSON, see right away whether it is valid, and if it is not, the line and column of the problem in plain words. Prettify with 2, 4 or tab indent, or minify, without pasting your data into a website. It is the JSON tab of Dev tools, on Mac and Windows.

Free · No account · macOS 12+ & Windows 10+
Validates liveLine and column of the error
2, 4 or tabPrettify or minify
Warns firstLost precision, duplicate keys
100% offlineNothing leaves your machine
How it works

Paste, check, format. In the same box.

Open Dev tools from the menu bar; it opens on the JSON tab. Paste your JSON and the status line tells you on every keystroke whether it parses. Prettify indents it, Minify packs it into one line, and the result replaces what you pasted, so the next click is Copy. Command+Enter (Ctrl+Enter on Windows) formats without reaching for the mouse.

  • Indent with 2 spaces, 4 spaces or a tab
  • Prettify and Minify undo each other: key order is kept
  • Long lines scroll instead of wrapping, so the indentation never lies
When it is broken

Errors that say what to fix.

A parser says “Unexpected token”. This tells you “A comma is missing” and where: line 3, column 3. It recognizes the usual culprits, like a trailing comma, a key without quotes, single quotes, an unclosed string or a raw line break inside one, and it reads the same on macOS and on Windows.

It also catches the JSON that is valid but will not survive formatting. A 19-digit id is bigger than JavaScript can hold exactly, and a repeated key keeps only its last value. Both get a warning before Prettify overwrites what you pasted.

Why offline matters here

The JSON you format is rarely harmless.

The JSON you need to read is usually an API response, a webhook payload or a config file, and those carry tokens, emails and internal ids. An online formatter sends all of that to a server you know nothing about. The JSON tab never makes a network call, and what you paste is not kept once you close it.

ThisWeb formatters
Works offline✓No
Data leaves machineNoYes
Warns on lost precision✓Rarely
One click from the menu bar✓No
PriceFreeVaries
Part of Webstarted Toolbox

One tab of Dev tools, inside one free app.

The JSON formatter is the first tab of Dev tools, which comes built into Webstarted Toolbox: one menu bar icon (system tray on Windows) with a popover full of small tools, from a clipboard history to timers and notes.

FAQ

Questions, answered.

Is this JSON formatter really offline?

Yes. In the app, the JSON tab of Dev tools runs on your machine with no network calls, so an API response with tokens or customer data never reaches anyone’s server. The version on this page runs in your browser tab and sends nothing either.

How do I format JSON on a Mac without a website?

Install the free Webstarted Toolbox, open Dev tools from the menu bar and stay on the JSON tab. Paste your JSON and press Prettify, or Command+Enter (Ctrl+Enter on Windows). It formats in place, so you can copy the result with one click.

What does it tell me when the JSON is invalid?

The line and column where it breaks, and what is wrong in plain words: a missing comma, an extra comma before a closing bracket, a key without double quotes, single quotes instead of double, an unclosed string, an unescaped line break or text left over after the JSON. The Prettify and Minify buttons stay off until it is valid.

Can formatting change my data?

It can, and the app warns you before it happens. Numbers larger than JavaScript can hold exactly (a long id, for example) lose precision when they are parsed, and a duplicated key keeps only its last value. Both cases show a yellow warning next to “Valid JSON”, before anything is overwritten.

Which indent options are there?

Two spaces, four spaces or a tab, plus Minify to strip all the whitespace. Prettify and Minify undo each other, because the key order is preserved.

Does it work on Windows too?

Yes. Toolbox is the same free app on macOS 12+ and Windows 10+, from the menu bar or the system tray. Dev tools can also open in its own window when you need more room.

Is it free?

Yes. Dev tools, and its JSON tab, come built into Webstarted Toolbox, which is free and needs no account.

Get Webstarted Toolbox

Free to use. The JSON formatter, Dev tools and every other widget included. macOS 12+ and Windows 10+.

Free beta · macOS · Windows (x64) · Signed & notarized · No account required
Keep exploring

One icon, many small tools

This is one of the 49 widgets in Webstarted Toolbox, the free all-in-one menu bar app for Mac and Windows. Here are the rest:

☕ Keep Awake Stop your Mac from sleeping, on your terms. 📊 LLM Quota Pace your Claude / AI usage against the clock. 🍅 Pomodoro 25/5 focus cycles in your menu bar. ⏳ Countdown Live countdowns to anything that matters. ☰ Clipboard history Your recent copies, one keystroke away. ✎ Quick Note A scratchpad that autosaves as you type. 🌐 My IP Your public IPv4 and IPv6, copyable, with ISP and location. 📈 System Info CPU, memory and GPU in your menu bar. 🐹 Topos A 30-second reflex game in your menu bar. 💣 Minesweeper Classic minesweeper in your menu bar. 🪙 Crypto Prices Live crypto prices with 24h change, in your menu bar. 💱 Currency Converter Convert currencies with real parallel rates (blue, MEP, CCL). 🌍 World Clocks Several cities' time at once — daylight saving handled automatically. 🔳 QR Generator QR codes for text, URLs, WiFi or contacts — offline. 🔑 Password Generator Strong passwords & passphrases, fully offline. 🌤️ Weather Any city, now + the days ahead — no API key. 🔥 Habit Tracker Daily streaks — don't break the chain. 100% local. 🔤 Text Tools Change case, slugify, count, dedupe — offline. 🎲 Random Picker Pick from a list at random, or roll dice. 🎨 Color Picker Pick a color, copy hex / rgb / hsl / hsv — offline. 🌐 Translator 18 languages from the menu bar — no API key needed. 🔀 Text Diff Compare two texts line by line — 100% local. ⏰ Cron Wizard Cron expressions in plain English, with the next runs. 🗃️ Dummy Data Lorem ipsum and fake rows in JSON, CSV or SQL. 🔊 Focus Sounds White, pink or brown noise — synthesized, no files. 🔁 Subscriptions What your recurring services cost per month and year. 🧾 Rates & Tax Hourly ↔ yearly, and add or extract tax. ⛽ Network Fees Ethereum gas and Bitcoin fees, right now. 📣 UTM Builder Trackable campaign links, normalized so GA behaves. 🌿 Git Status Which of your repos are dirty, unpushed or behind. 🧮 Calculator Type the calculation, read the result as you go. 🎬 Teleprompter Your script scrolls at the speed you read — in wpm. 📊 Stocks Stocks and ETFs with the day’s change — no API key. 🔥 Fireplace A fireplace generated on the fly — no files, no network. 💼 Job Tracker Your applications, with an OS alarm before each interview. ⇄ Converter 57 units in 8 categories, converted with zero network. ⏰ Alarms Clock-time alarms that ring with everything closed. 🗂️ Project Boards Kanban boards with your columns, and a due date that notifies you. 📡 Website Monitor Are your sites up? The code and the latency, from your machine. 📤 Send to another computer Text, images and files to another computer on your network. 📝 Markdown A Markdown editor with live preview, in your menu bar. 📚 Library Your snippets and prompts in folders, one search away. 💽 Folder Scan See which folders are eating your disk. 📅 Calendar A day planner in your menu bar, with nothing to connect. ✅ Tasks A menu bar to-do list whose times actually ring. ☑️ Checklists Reusable checklists from templates: reset, rerun, export. 🎤 Presenter A talk clock that knows your script, not a stopwatch. ✏️ Pencil Draw on your screen, over everything, while you present.