RevealTheme logo

CSV에서 JSON으로 변환기

CSV 데이터를 객체로 이루어진 JSON 배열로 변환합니다. 첫 번째 행은 헤더로 처리됩니다.

이 도구 사용 방법

  1. 1

    Paste your CSV — make sure the first row holds the column headers.

  2. 2

    Click Convert. Each following row becomes a JSON object keyed by the header names.

  3. 3

    Copy the JSON array, ready to drop into a JavaScript file, API mock, or seed script.

CSV에서 JSON으로 변환기란 무엇인가요?

CSV에서 JSON으로의 변환은 JSON에서 CSV로의 변환과 반대입니다. 스프레드시트나 데이터베이스 내보내기에서 데이터를 받아 JavaScript 애플리케이션에서 사용해야 할 때 유용합니다. 이 도구는 RFC 4180을 따릅니다. 따옴표로 묶인 필드는 풀어내고, 큰따옴표는 이스케이프를 해제하며, 따옴표 안의 줄바꿈은 보존합니다.

일반적인 사용 사례

  • Turn a clean spreadsheet of products, users, or locations into a JSON array to seed a database or mock an API.

  • Convert exported analytics or CRM data into JSON for a quick chart or dashboard prototype.

  • Build test fixtures from a CSV someone handed you, without writing a parser.

  • Migrate config that lives in a spreadsheet into a JSON file your app reads at build time.

  • Sanity-check a CSV's structure — malformed rows become obvious when the object keys stop lining up.

  • Hand front-end developers ready-to-use JSON instead of a raw export they'd have to parse themselves.

자주 묻는 질문

어떤 구분자를 사용하나요?▼
기본값은 쉼표입니다. TSV(탭 구분)는 전처리가 필요합니다.
타입은 어떻게 처리되나요?▼
모든 값은 문자열입니다. JSON에는 타입이 지정된 숫자가 있지만, 스키마 없이 CSV를 파싱하는 것은 모호합니다. 타입 변환은 애플리케이션에서 수행하세요.

관련 도구