UtilitySansar
Data

JSON to CSV Converter

Flatten a JSON array of objects into a spreadsheet-ready CSV, with a header row, RFC-4180 quoting, and your choice of delimiter (comma, tab, semicolon, pipe).

도구 요약

이 도구는 구조화된 입력을 받아 서버 업로드 없이 브라우저에서 결정적인 출력을 반환합니다.

도구 이름
JSON to CSV Converter
입력 의도
변환·검증·분석할 원본 콘텐츠를 제공하세요.
출력 의도
복사, 재사용 또는 디버깅에 적합한 정규화된 출력을 받습니다.
예시 입력
[{"id":1,"name":"Alice","role":"admin"},{"id":2,"name":"Bob","role":"user"}]
예시 출력
id,name,role 1,Alice,admin 2,Bob,user

Paste a JSON array of objects above and click Convert to CSV.

도구 소개

Flatten a JSON array of objects into a spreadsheet-ready CSV, with a header row, RFC-4180 quoting, and your choice of delimiter (comma, tab, semicolon, pipe).

도구 개요

CSV remains the path of least resistance for moving tabular data between tools. This converter accepts a JSON array of objects (keys become column headers) or a JSON array of arrays (rows written as-is). Cells containing the delimiter, double quotes, or newlines are wrapped in quotes with internal quotes doubled, per RFC 4180. Nested objects and arrays are serialized back to JSON so they survive the round trip.

사용 사례

  • Export API responses into Google Sheets or Excel
  • Seed a database import from a JSON fixture
  • Ship analytics data to stakeholders who live in spreadsheets
  • Create CSV test data from JSON samples

입력/출력 예시

입력 의도
[{"id":1,"name":"Alice","role":"admin"},{"id":2,"name":"Bob","role":"user"}]
출력 의도
id,name,role
1,Alice,admin
2,Bob,user
Cells containing the delimiter are automatically quoted (RFC 4180).
입력 의도
[{"product":"Widget, Blue","price":19.99,"inStock":true},{"product":"Gadget","price":42,"inStock":false}]
출력 의도
product,price,inStock
"Widget, Blue",19.99,true
Gadget,42,false
Nested arrays are serialized back to JSON inside the cell so nothing is lost.
입력 의도
[{"name":"Alice","tags":["admin","ops"]},{"name":"Bob","tags":["user"]}]
출력 의도
name,tags
Alice,"[""admin"",""ops""]"
Bob,"[""user""]"

자주 묻는 질문

Is this JSON to CSV converter free?+
Yes. Unlimited conversions, no sign-up, no row limit, and everything runs in your browser.
What shape must my JSON have?+
Either an array of flat objects (keys become column headers) or an array of arrays (each inner array is a row). Mixed shapes will produce a validation error.
How are nested objects or arrays handled?+
They are serialized back to a JSON string inside the cell so no information is lost. If you need one column per nested field, flatten the JSON first or pre-process with jq.
Does it escape fields with commas, quotes, or newlines?+
Yes. Cells containing the delimiter, a double quote, or a newline are wrapped in quotes with internal quotes doubled, following RFC 4180.
Can I output tab-separated or semicolon-separated values?+
Yes. Change the delimiter option to Tab, Semicolon, or Pipe — ideal for Excel in European locales or TSV workflows.

다른 도구 보기

아래의 Data 카테고리에서 관련 유틸리티를 찾아보세요.

전체 Data 보기

관련 도구

유용할 수 있는 엄선된 유틸리티