JSON 포매터
Converters & FormattersJSON을 즉시 beautify, minify, 검증합니다. 붙여넣고, 포맷하고, 복사하세요 - 모두 브라우저에서. 정확한 입력을 담은 링크를 공유할 수 있습니다.
출력
JSON을 붙여넣으면 정렬돼요. Send to AI
Generate TypeScript interfaces for this JSON. Infer union types for nullable fields and name the root interface after the likely domain concept. Output only the interfaces, no commentary: ```json ```
(문서는 영어)
What it does
The JSON Formatter beautifies, minifies, and validates JSON entirely in your browser. Paste any JSON - messy, minified, or broken - and it returns cleanly indented, valid JSON, or tells you exactly what’s wrong and where. Everything runs 100% client-side: nothing you paste is ever sent to a server, so it’s safe for sensitive payloads.
How to use it
- Paste your JSON into the Input box (or hit Sample to load a demo payload).
- Choose Beautify (pretty-print, 2-space indent) or Minify (compact, no whitespace).
- Read the formatted result in Output, or the error message if the JSON is invalid.
- Copy the result, or Copy share link to send the exact input to a teammate.
Examples
Beautify minified JSON
Input: {"name":"CosmoDev","free":true,"tools":["json","base64"]}
Output:
{
"name": "CosmoDev",
"free": true,
"tools": ["json", "base64"]
}
Catch a syntax error
Input: {"a": 1, "b": } → Expected property name or '}' in JSON at position 12.
Good to know
- Shareable: your input is encoded in the URL (
?j=...), so a link reproduces the exact view. - Private: all parsing happens locally - safe for secrets and credentials.
- Related tools: JSON ↔ CSV, Base64Base64An encoding representing binary data as 64 safe ASCII characters, so it survives transport through text-only channels. It encodes — it does not encrypt., JWTJWTA compact, URL-safe token that carries claims (like identity or expiry) between two parties, signed to prevent tampering.Learn more Decoder.