코드, 데이터 및 QR 도구

XML to JSON 변환기

「XML to JSON 변환기」는 코드, 데이터 및 QR 작업을 위한 브라우저 도구입니다. 입력과 결과는 일반적으로 이 기기에서 처리되며 가입이 필요하지 않습니다.

브라우저에서 로컬 처리가입 불필요개인정보 안내 ↗

Enter valid XML up to 200,000 characters. Parsing happens locally in your browser.

사용 방법

사용 방법

  1. Paste valid XML up to 200,000 characters.
  2. Convert it and review the JSON mapping for elements, attributes, arrays, and text.
  3. Copy the JSON or download it as a .json file.

Predictable XML mapping

The document element becomes the top-level JSON property. Child elements become properties, repeated siblings become arrays, and attributes are grouped under @attributes. Text that appears alongside child elements is kept under #text so mixed content is not silently lost.

Local parsing with clear boundaries

Parsing, conversion, copying, and download preparation happen in your browser. Comments and processing instructions are ignored, CDATA becomes text, and empty elements become empty strings. The converter does not fetch external entities or remote resources.

자주 묻는 질문

더 알아보기

How are repeated XML elements represented?

Repeated siblings with the same name become a JSON array in their original order.

Where do XML attributes go?

Attributes are collected under an @attributes object on the corresponding element.

Does conversion upload my XML?

No. XML parsing and JSON conversion happen locally in your browser.