跳过主要内容
DeveloperRuns 100% Locally

JSON Formatter & Converter

Validate, pretty-print, minify, and sort JSON keys, or convert JSON straight into TypeScript interfaces or CSV.

All Tools
Input JSON Valid
Indent:
[
  {
    "id": 1,
    "tool": "ID & Document Watermark",
    "category": "images",
    "localOnly": true,
    "uploads": 0
  },
  {
    "id": 2,
    "tool": "PDF Merge, Split & Reorder",
    "category": "pdf",
    "localOnly": true,
    "uploads": 0
  }
]

Why local-only matters

API responses and database exports often include customer PII or internal keys. Formatting and converting JSON locally keeps sensitive payloads strictly on your machine.

Quick 3-Step Guide

  1. 1Paste any raw or minified JSON into the left input editor to validate it instantly.
  2. 2Choose Pretty (2 or 4 spaces), Minify, TypeScript Interfaces, or CSV Table output, and optionally sort keys A→Z.
  3. 3Copy the result to your clipboard or download it as .json, .ts, or .csv.

Frequently Asked Questions

What kind of JSON can be converted to CSV?

Any JSON array of objects (or a single object) is automatically converted into clean CSV headers and properly escaped rows.

Does TypeScript generation handle nested objects and arrays?

Yes. Nested structures are automatically inferred into clean named TypeScript interfaces ready to paste into your codebase.

More local tools in DoodadKit