Windows Desktop Utility

Fix Broken JSON Files
Before They Break Your Pipeline.

JSON Medic repairs malformed and invalid JSON locally, privately, with no cloud uploads. Drop a broken file in, see every problem categorized by severity, fix it in one click.

13
targeted repair passes per file
256MB+
large file threshold, auto-activated
0
cloud uploads - ever

The Problem

SyntaxError: Unexpected token.
Again.

JSON comes out of APIs, config editors, export tools, and hand-edited files looking nothing like what the parser expects. Trailing commas that work in JavaScript but not in JSON. Single-quoted strings. Inline comments. Unquoted keys. Unclosed brackets that trace back to a field 200 lines up.

Debugging a broken JSON file by hand means scrolling through thousands of lines, counting braces, and guessing which character on which line triggered the parse error. A validator tells you the line where the parser gave up - not the line where the actual problem is.

JSON Medic does not just validate. It reads every byte, identifies every problem, and applies the right fix for each one - without guessing and without corrupting structure that is already valid.

JSON Medic repairs the file. You verify the output. Done.
SYN

Syntax Repair

Fixes trailing commas before closing brackets and braces, missing commas between elements, unmatched or unclosed brackets, and misplaced colons. The most common class of breakage from hand-edited files and JavaScript-origin exports.

VAL

Value Repair

Replaces JavaScript-only literals - undefined, NaN, Infinity - with valid JSON equivalents. Converts single-quoted strings and unquoted keys to double-quoted. Strips inline comments in both // and /* */ form.

ENC

Encoding and Structure

Removes BOM markers that silently break JSON parsers. Fixes invalid Unicode escape sequences and malformed surrogate pairs. Detects and resolves duplicate keys. Repairs escaped character errors that pass the eye test but fail the parser.

See It Work

Broken in. Valid JSON out.
One click.

A hand-edited config file comes in with JavaScript-style comments, a trailing comma, a single-quoted string, and an undefined value. JSON Medic identifies every issue and repairs them in a single operation.

app-config.json - before
{ // application configuration - v2.1 "app": { 'name': 'Order Processor', "version": "2.1.0", "timeout": 30, // seconds "retries": undefined, "endpoints": [ "https://api.example.com/v1", "https://api.example.com/v2", ] }, } Issues found: Line 2: JS comment - not valid JSON Line 4: single-quoted key and value Line 6: inline comment after value Line 7: undefined - not a valid JSON value Line 10: trailing comma in array
app-config-repaired-20260530_143022.json - after
{ "app": { "name": "Order Processor", "version": "2.1.0", "timeout": 30, "retries": null, "endpoints": [ "https://api.example.com/v1", "https://api.example.com/v2" ] } } Repair complete: 5 issues fixed across 5 passes Comments stripped - lines 2, 6 Single quotes converted - line 4 undefined replaced with null - line 7 Trailing comma removed - line 10

Large File Mode

256MB. 1,700 issues.
Full repair. No crash.

Files over your configured threshold activate large file mode automatically. JSON Medic analyzes and repairs the full file on a background thread while the UI stays completely responsive.

  • Drop the file Large file mode activates automatically at your configured threshold (default 256MB, adjustable down to 32MB in Options). The Large File badge appears in the file info bar.
  • Analyze The analyzer scans the full file and categorizes every issue. Preview is capped at 10,000 lines for display - the repair engine sees everything.
  • Repair and Export All 13 passes run on the complete file. Real per-byte progress tracks each pass as it executes. A repaired copy is written alongside the source - the original is never touched.
  • Convergence loop If the first repair pass introduces new fixable issues, the engine runs additional passes until the output stabilizes. Large file mode is no exception - every pass runs to convergence.
JSON Medic - Repairing File
telemetry_export_2024.json 20.4 MB - Large-file mode active 13 passes queued Pass 7 - Value repair 10.2 MB of 20.4 MB - 50% Issues fixed so far: 914 Repair complete. All 13 passes converged. 1,759 issues fixed total telemetry_export_2024 -repaired-20260530_143022.json Original file unchanged.

Built-in Presets

Built for the broken formats
you already receive.

Presets apply a curated combination of repair passes in one click. Select a preset, adjust anything you need, then repair. Save your own configuration as a profile and reload it the next time the same broken format arrives.

API Response
Config File
Lenient (JS-style)
Strict (RFC 8259)
Save / Load Profile
Convergence Loop

Profiles are plain JSON - version control them alongside the pipelines that consume the repaired output.

Privacy and Local Operation

Your data never leaves
your machine.

JSON files contain API credentials, user records, configuration secrets, and internal system state. JSON Medic processes everything locally. There is no cloud component, no account, and no network access during repair.

Contact Us
  • No cloud uploads - your file never leaves your machine at any point during analysis or repair
  • No telemetry - JSON Medic does not collect usage data, file metadata, or operational statistics
  • No account required - download, install, and use without registration
  • No network access during repair - the application does not make outbound connections while processing files
  • Timestamped output filenames - repaired files are saved with a timestamp, never overwriting your source
  • Original file never overwritten - all output is written to a new file, your source is always recoverable

Recurring File Formats

Same broken export
every week. Fix it once.

If you receive the same malformed JSON from a legacy API, a vendor system, or an internal export tool on a recurring schedule, configure the repair once and save it as a profile.

  • First time: configure and repair Analyze the file, enable the repair passes that apply, select or build a preset, run repair, verify the output in the Repaired tab and Repair Log.
  • Save a profile Presets > Save Profile writes your repair configuration to a JSON file. Store it alongside the source data or check it into version control with the scripts that consume it.
  • Every subsequent run Open the new file, load the profile, click Repair and Export. From broken file to verified clean output in seconds - even on multi-hundred-megabyte exports.

Who Uses JSON Medic

Anyone who depends on
JSON being valid.

DEV

Developers

Debugging malformed API payloads, repairing hand-edited config files, and cleaning up JSON exports from legacy systems. Faster than manually counting braces across 3,000 lines.

OPS

DevOps and Platform Teams

Infrastructure config files, CI/CD pipeline definitions, and deployment manifests broken by a hasty edit. JSON Medic finds the problem and fixes it without corrupting the structure around it.

DA

Data Engineers

Cleaning JSON feeds and export files before ingestion into data pipelines, databases, or analytics platforms. Handling encoding garbage and structural damage before the transformation work starts.

Pricing

One-time purchase.
Own it forever.

No subscription. No recurring fee. Buy once, use on your machine for as long as you want. Free updates through v1.x.

JSON Medic is available exclusively through the Microsoft Store. The Store handles purchase, installation, and automatic updates.

Questions - visit our support page

$19.99
one-time purchase - own forever
  • 13 targeted repair passes - syntax, values, encoding, structure
  • Convergence loop - re-runs until output is fully stable
  • Real per-byte progress on every pass
  • Issues panel - Error / Warning / Info with jump-to-line
  • Large file mode - full repair above your configured threshold
  • Repair Log - every change documented with line numbers
  • Tree view - browse repaired JSON as a structured tree
  • Built-in presets - API Response, Config File, Lenient, Strict
  • Save and load repair profiles (JSON)
  • Timestamped output - source file never overwritten
  • Local-only - no cloud, no account, no telemetry
  • Free updates through v1.x
Get on Windows

Purchased and installed through the Microsoft Store. Automatic updates included.