JSON formatter and validator

Format, validate and repair JSON of any size, right in your browser.

Paste JSON or drop a file to format and validate it. Errors show the exact line and column, and Repair fixes common mistakes like trailing commas. Files over 100 MB are processed in a background worker, and very large numbers stay exact. Nothing you paste leaves your browser.

Tested with files up to 500 MB · Last updated 3 Dec 2026
Shortcuts ⌘↵ format⌘⇧M minify⌘⇧R repair⌘K tools

How it works

Your input goes into a sealed frame on tool.offwire.dev. A background worker parses it with a parser that keeps big numbers exact, then formats it.

What stays local

Everything. The frame has no network access, and the page around it (with the ads) can’t read what you paste.

Worked examples

Trailing comma

{"a":1,} is invalid JSON. Repair removes the comma and tells you where it was.

Big numbers

9007199254740993 is larger than JavaScript can hold exactly. Offwire keeps it exactly as written, instead of turning it into …992.

A 150 MB log export

Parsed in a background worker with a progress bar; the page stays responsive.

Questions

Is it safe to paste production JSON here?

The tool runs in a sealed frame that can’t make network requests, so your JSON stays on your machine. You can check this in your browser’s developer tools.

How large a file can it handle?

As large as your device’s memory allows, up to about 500 MB: browsers can’t hold one text longer than that. Formatting needs about three times the file size in memory. Offwire checks this before it starts and, if a file is too large, says so and offers Minify, which needs less.

Does it work offline?

Yes. Once a tool has loaded, its code is kept on your device, and you can install Offwire as an app. The tools keep working without a connection; ads and new tools come back when you’re online.

Why did my number change in other formatters?

JavaScript stores numbers in a format that holds whole numbers exactly only up to 9,007,199,254,740,991. Formatters that read JSON with JavaScript’s own parser round bigger IDs, so 9007199254740993 becomes 9007199254740992. Offwire never converts numbers: each one stays exactly as written.

Changelog · 3 Dec 2026: Repair now explains each fix.

↑↓ move · ↵ open · Works on every page